agnes_image_generate_v2
Produce high-information-density images from text prompts or reference images. Choose from multiple aspect ratios and resolutions to match your project needs.
Instructions
Generate an image with Agnes Image 2.1 Flash optimized for high-information-density visuals.
Supports text-to-image and image-to-image (via image_urls). Size accepts tier values '1K', '2K', '3K', '4K' combined with ratio ('1:1', '3:4', '4:3', '16:9', '9:16', '2:3', '3:2', '21:9'). Legacy exact sizes like '1024x768' are also accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1K | |
| ratio | No | 1:1 | |
| prompt | Yes | ||
| extra_body | No | ||
| image_urls | No | ||
| return_base64 | No | ||
| output_filename | No | ||
| response_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||