← All models
images
Details
- Accepts
- text + image
Pricing
- Price
- 5.63 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. |
| loras | array | |
| 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. |
| use_turbo | boolean | Enable turbo mode for faster generation with high quality. When enabled, uses optimized settings (10 steps, CFG=1.2). |
| image_size | — | The size of the generated image. |
| num_images | integer | The number of images to generate. |
| acceleration | stringenum: none, regular, high | Acceleration level for image generation. Options: 'none', 'regular', 'high'. Higher acceleration increases speed. 'regular' balances speed and quality. 'high' is recommended for images without text. |
| 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. |
| image_url | string | The URL of the image to edit. |
| mask_url | string | The URL of the mask for inpainting |
| strength | number | Strength of noising process for inpainting |
Output
| Field | Type | Description |
|---|---|---|
| images | array | Generated images ([{ url }]). |