google · Google AI Docs
Gemini API Generate images using Imagen
Provides instructions and implementation details for using the Gemini API to generate images via the Imagen model.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Gemini API Generate images using Imagen
Provides instructions and implementation details for using the Gemini API to generate images via the Imagen model.
When To Use
Use when you need to implement text-to-image generation workflows within an application using the Gemini API and Imagen models.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/gemini-api-generate-images-using-imagen-workflow-guide.md | A guide explaining how to generate high-fidelity images from text prompts using Google's Imagen models via the Gemini API. | Questions about a guide explaining how to generate high-fidelity images from text prompts using Google's Imagen models via the Gemini... |
examples/gemini-api-generate-images-using-imagen-gemini-api-imagen-python-generat.text | A Python script using the Google GenAI SDK to generate multiple images from a text prompt using the Imagen model. | Exact payloads, commands, or snippets shown in A Python script using the Google GenAI SDK to generate multiple images from a text prompt using the Imagen model. |
examples/gemini-api-generate-images-using-imagen-gemini-api-imagen-nodejs-generat.text | A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate multiple images from a text prompt using the Imagen model. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate multiple images from a text prompt us... |
examples/gemini-api-generate-images-using-imagen-gemini-api-imagen-generate-image.text | A Go program demonstrating how to use the Gemini API to generate multiple images using the Imagen model. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate multiple images using the Imagen model. |
examples/gemini-api-generate-images-using-imagen-gemini-api-imagen-curl-predict-r.text | A curl command demonstrating how to send a POST request to the Imagen model endpoint to generate images using a text prompt. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a POST request to the Imagen model endpoint to generate images using a text... |
What This Skill Covers
- Imagen is Google's high-fidelity image generation model, capable of generating realistic and high quality images from text prompts. All generated images incl...
- Main sections:
Generate images using the Imagen models,Python,JavaScript,Go,REST.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://ai.google.dev/gemini-api/docs/imagen
