← All models
visionimages
Details
- Accepts
- text + image
Pricing
- Input
- 31.25 cr / 1M tokens
- Output
- 3750 cr / 1M tokens
Prices in credits (1 credit = $0.01).
Data schema
approximateInput
| Field | Type | Description |
|---|---|---|
| n | integer | How many images to generate. |
| mask | string | Optional mask for the edit; transparent pixels mark the area to change. |
| image | string | Image to edit — a URL, a data URI, or an artifact reference. Supplying one turns the call into an edit. |
| promptrequired | string | The text prompt. Describes the image to generate, or the change to make when an image is supplied. |
| image_size | string | Requested output size. |
| aspect_ratio | string | Aspect ratio of the result, e.g. 16:9. |
| output_format | string | Encoding of the returned image. |
Output
| Field | Type | Description |
|---|---|---|
| images | array | Generated images ([{ url }]). |