GenerateImageRequest
promptstringrequired
Text description of the image to generate
Possible values: <= 2000 characters
Example:
A professional photo of a modern office workspace with natural lightingaspect_ratiostring
Output image aspect ratio
Possible values: [1:1, 16:9, 9:16, 4:3, 3:4, 4:5, 5:4]
Default value:
1:1modelstring
AI model to use. nano-banana-pro (15 credits, best quality), ideogram-v2 (8 credits, best text), gemini-3-pro (5 credits), flux-schnell (1 credit, fast)
Possible values: [nano-banana-pro, ideogram-v2, gemini-3-pro, flux-schnell]
Default value:
nano-banana-proGenerateImageRequest
{
"prompt": "A professional photo of a modern office workspace with natural lighting",
"aspect_ratio": "1:1",
"model": "nano-banana-pro"
}