We’re experiencing issues generating images with Imagen3 via both the API and Vertex AI.
The error message we receive states:
Image generation failed with the following error: The prompt could not be submitted. Generating images containing children is an allowlist-only feature. Contact your Google representative to request allowlisting.
This error seems unrelated to our prompt, which has nothing to do with children. For instance, here’s a sample prompt we attempted:
Artistic depiction of Italian pasta with tomato sauce being prepared in a rustic setting.
We would appreciate any guidance or clarification regarding this issue.
1 Like
Hi @eelclip,
Welcome to Google Cloud Community!
The error message you received, “The prompt could not be submitted. Generating images containing children is an allowlist-only feature,” is misleading. It’s likely triggered by another aspect of your prompt that the system identifies as problematic. Google’s safety filters are not always precise, and this restriction requires special approval from Google to be enabled.
Here are potential ways that might help with your use case:
- Report the Bug: You may reach out to Google Cloud Support, providing the error message, your sample prompt, and a screenshot that highlights the issue.
- Contact Google Support: As noted in the error message, you need to request access to this feature from your Google Cloud account team.
- Review Permissions: Ensure that your API key and project settings are properly set up.
- Check Safety Filters: Make sure your prompts and configurations are in accordance with Google’s safety guidelines.