generate_asset
Generate images from text prompts using AI models, with optional aspect ratio and image-to-image support.
Instructions
Generate an image asset using AI models.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The text prompt for image generation | |
| modelId | No | The ID of the AI model to use. Defaults to 'google/nano-banana-pro'. | google/nano-banana-pro |
| image_file | No | Absolute local path for image-to-image generation | |
| aspectRatio | No | Aspect ratio (e.g., '1:1', '16:9'). Default depends on model. | |
| image_content | No | Base64 encoded image content for image-to-image |