Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/gemini-api-generate-images-using-imagen-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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