Create image
create_image_fileGenerates images from text prompts with options for size, style, and image editing. Supports text-to-image, image-to-image, and image-edit operations.
Instructions
Create image Creates an image given a prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| seed | No | ||
| size | No | ||
| user | No | ||
| async | No | ||
| image | No | Local reference image upload for compatible image-to-image models. Pass local file path. | |
| model | Yes | Model to use. Send this explicitly. | |
| style | No | ||
| prompt | Yes | Image description | |
| quality | No | ||
| mask_url | No | ||
| operation | No | ||
| background | No | ||
| image_urls | No | Comma-separated reference image URLs. | |
| moderation | No | ||
| resolution | No | ||
| compression | No | ||
| aspect_ratio | No | ||
| expand_prompt | No | ||
| output_format | No | ||
| negative_prompt | No | ||
| response_format | No | ||
| output_compression | No | ||
| reference_image_urls | No | Comma-separated reference image URLs for compatible model families. |