Image Generation
Generate an image based on the given text by employing AI models like Flux, Stable Diffusion, and other top models.
Request Parameters
Body
The text prompt to generate the image from. Must be between 1-5000 characters.
The aspect ratio of the generated image.
1:1
16:9
21:9
3:2
2:3
4:5
5:4
3:4
4:3
9:16
9:21
The width of the image. Must be between 256-1920 pixels.
The height of the image. Must be between 256-1920 pixels.
The number of denoising steps. Must be between 1-90. Higher values produce better quality images but take more time to generate.
The output format of the generated image. Must be one of the following values:
png
svg
A valid URL where the generated image will be sent.
Key to store the generated image in file storage.
Header
Your JigsawStack API key
Response
The API returns the generated image directly in the response body as binary data.