generate_image
Generates and saves a PNG from a text prompt or reference images for concept art, textures, backdrops, or finished camera shots; it does not add objects to the Blender scene.
Instructions
Generate one image with Nano Banana and save it as a PNG file. Nothing is added to the scene.
Only when the user asks for an image: concept art, a reference to model from, a picture for a
texture or backdrop, or a finished-looking still of their shot. images=["camera"] takes the
shot through the scene camera and finishes it into a realistic frame with the same layout:
the style reference and key frames generate_video asks for. To make a model from an image,
pass its path to generate_3d(image=...).
Each call can cost the user money or a monthly generation. It usually takes 10-40 seconds;
waits up to wait_seconds (at most 45), and if it isn't done you get a job handle: call
generate_image(job=..., name=...) again to keep waiting. Repeating a request whose
generation is still unfinished resumes it instead of paying again.
Parameters:
- prompt: What the image shows, or with images, the look to give them ("a rainy neon street
at night, cinematic, 35mm film").
- images: Up to 6 absolute image file paths or http(s) URLs to edit or draw from, and/or
"camera" for the shot through the scene camera. With "camera", other images are appearance
references. Images attached in chat can't be passed: ask the user for a path or URL.
- frame: With "camera", the animation frame to capture (default the current one), for key
frames.
- name: File name, without extension. Defaults to one made from the prompt.
- aspect_ratio: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3 or 9:16. Default: the
first image's shape, or 1:1 from a prompt alone.
- job: A handle from an earlier call, to resume waiting for it.
- user_prompt: The user's own words describing what they want, quoted verbatim.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| name | No | ||
| frame | No | ||
| images | No | ||
| prompt | No | ||
| user_prompt | No | ||
| aspect_ratio | No | ||
| wait_seconds | No |