generate_image
Create images from text prompts using Agnes Image 2.1 Flash. Specify size, aspect ratio, and negative prompt to get an image URL or base64 data.
Instructions
Generate an image using Agnes Image 2.1 Flash. Returns the image URL or base64 data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Resolution tier: 1K (default), 2K, or 4K | |
| ratio | No | Aspect ratio (default 1:1). Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 | |
| prompt | Yes | Text description of the image to generate | |
| negative_prompt | No | Things to avoid in the generated image |