generate_image
Create images from text prompts using snapgen nano-banana models. Specify style, resolution, aspect ratio, and reference images; returns a job to poll.
Instructions
Generate an image with snapgen nano-banana models. POST /uapi/v1/generate_image. Returns a job; poll with get_generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | nano-banana-pro | |
| style | No | e.g. Photorealistic, Anime General, Illustration | |
| prompt | Yes | Image prompt | |
| file_urls | No | Public reference image URLs | |
| resolution | No | 1K | |
| ref_history | No | UUID of a previous snapgen image | |
| aspect_ratio | No | 1:1 |