API Key for API endpoints
Text description of the image to generate.
Number of results to generate (1-4)
1 <= x <= 4Random seed. Set for reproducible generation.
-9007199254740991 <= x <= 9007199254740991Width of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32).
256 <= x <= 1440Height of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32).
256 <= x <= 1440Run faster predictions with additional optimizations.
Aspect ratio for the generated image. Use 'match_input_image' to match the first input image's aspect ratio.
match_input_image, custom, 1:1, 16:9, 3:2, 2:3, 4:5, 5:4, 9:16, 3:4, 4:3 List of input images for image-to-image generation. Maximum 5 images. Must be jpeg, png, gif, or webp.
Format of the output images.
webp, jpg, png Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs.
0 <= x <= 100Disable safety checker for generated images.