← All models
Create high-quality images with accurate text rendering and rich knowledge details—supports editing, style transfer, and maintaining consistent characters across multiple images.
images
Details
- Accepts
- text + image
Pricing
- Price
- 6.25 cr / megapixel
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducibility. The same seed with the same prompt will produce the same image. |
| promptrequired | string | Text prompt for image generation. |
| sync_mode | boolean | If True, the image will be returned as a base64 data URI instead of a URL. |
| image_size | — | Output image size. |
| image_urls | array | URL(s) of the condition image(s) for image-to-image generation. Supports up to 4 URLs for multi-image references. |
| num_images | integer | Number of images to generate. |
| output_format | stringenum: jpeg, png | Output image format. |
| guidance_scale | number | Classifier-free guidance scale. Higher values make the model follow the prompt more closely. |
| num_inference_steps | integer | Number of diffusion denoising steps. More steps generally produce higher quality images. |
| enable_safety_checker | boolean | Enable NSFW safety checking on the generated images. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images. |
| enable_prompt_expansion | boolean | If True, the prompt will be enhanced using an LLM for more detailed and higher quality results. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed. |
| images | array | List of URLs to the generated images. |
| prompt | string | The prompt used for generating the image. |
| timings | object | |
| has_nsfw_concepts | array | Whether the generated images contain NSFW concepts. |