Generate Images with Gemini
- Confirm the requested content, aspect/size constraints, output directory, and whether source images may be sent to Google's API.
- Read references/request-safety.md. Require the API key through
GEMINI_API_KEY; never put it in arguments, source, logs, or generated metadata. - Run
bin/nano-banana-image --prompt ... --output ...and pass source images only when editing is requested. The command validates MIME types, uses a user-selectable model, and writes returned image parts atomically. - Inspect every output image and record the prompt, model, source hashes, and response text without recording credentials.
- If the API or model name has changed, verify the current official Google documentation before modifying the request.
Use agents/image-request-reviewer.md for sensitive source material or public-facing output.