quote_image_lab
Quote an Image Lab still. Does not generate or charge. Paid generate needs this quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | text_to_image or image_to_image. image_to_image needs sourceAssetIds. Same as inputMode. | |
| prompt | Yes | What to draw. Up to 8,192 UTF-8 bytes. | |
| inputMode | No | Same as mode: text_to_image or image_to_image. | |
| modelSlug | Yes | Image Lab model slug from list_image_lab_models (gpt-image-2-5, nano-banana, nano-banana-2, nano-banana-2-1, nano-banana-pro, flux-2-pro, mai-image-2-5, mai-image-2-5-pro, seedream-5-lite, muse-image, grok-imagine-image-2, qwen-image-3, kling-image-o3, flux-3-image, ideogram-v4-5, seedream-5-flash, recraft-v4-1-flash). | |
| aspectRatio | No | Still aspect from list_image_lab_models for that slug (for example 16:9 or 9:16). Not every model lists every ratio. | |
| sourceAssetIds | No | Source still asset ids from complete_generation_asset for image_to_image. | |
| sourceImageAssetId | No | Source still generation-asset id for image_to_image. Same as sourceAssetIds[0]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | Quote id. Pass this to the matching generate tool. Quotes expire. | |
| expiresAt | No | ISO timestamp when this quote expires. | |
| modelSlug | No | Catalog model slug from the matching list_*_models tool. | |
| normalizedInput | No | Normalized Image Lab setup this quote locked in. | |
| requiredCredits | No | Usage this quote would consume from this month’s generation allowance (internal units). |