Image Generation Options
Learn how to control the quality and speed of image generation.
Number of images
With our image generation API, you can generate up to 4 images with one request.
Every generated image charges 1 credit. So, setting number_of_images
to 4 will charge 4 credits per request.
Guidance scale
The guidance scale controls how closely the generated images match your prompt. You may adjust this scale to gain more control over the output.
Values between 5 and 7 usually provide good results, but a value of 12 may offer greater precision.
Note that adjusting this scale may affect image quality and diversity.
Possible values
Parameter | Type | Range | Default value |
---|---|---|---|
| int | 1 - 4 | 4 |
| float | 1.0 - 49.99 | 5.0 |
Last updated