← All models
images
Details
- Accepts
- image
Pricing
- Price
- 3.75 cr / image
Prices in credits (1 credit = $0.01).
Data schema
approximateInput
| Field | Type | Description |
|---|---|---|
| n | integer | Number of outputs. |
| size | stringenum: 1024*1024, 1280*1280, 1440*1440, 1024*1440, 1440*1024, 1080*1920… | |
| image | string | Input image (URL or data URI). |
| promptrequired | string | The text prompt. |
| aspect_ratio | stringenum: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2… | |
| seed | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| image_size | — | The size of the generated image. |
| image_urls | array | The URLs of the images to edit. |
| num_images | integer | The number of images to generate. |
| acceleration | stringenum: none, regular | Acceleration level for image generation. Options: 'none', 'regular'. Higher acceleration increases speed. 'regular' balances speed and quality. |
| output_format | stringenum: jpeg, png | The format of the generated image. |
| guidance_scale | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| negative_prompt | string | The negative prompt for the generation |
| num_inference_steps | integer | The number of inference steps to perform. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images. |
Output
| Field | Type | Description |
|---|---|---|
| images | array | Generated images ([{ url }]). |