You're looking at a specific version of this model. Jump to the model overview.

jigsawstack /image-generation:d03decea

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
The text prompt to generate the image from. Must be between 1-5000 characters.
aspect_ratio
string (enum)
1:1

Options:

1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 3:4, 4:3, 9:16, 9:21

The aspect ratio of the generated image
width
integer
The width of the image. Must be between 256-1920 pixels.
height
integer
The height of the image. Must be between 256-1920 pixels.
steps
integer
4

Min: 1

Max: 90

The number of denoising steps. Must be between 1-90. Higher values produce better quality images but take more time to generate.
output_format
string (enum)
png

Options:

png, svg

The output format of the generated image
url
string
A valid URL where the generated image will be sent
file_store_key
string
Key to store the generated image in file storage
negative_prompt
string
Text describing what you don't want in the image
guidance
number

Min: 1

Max: 28

Higher guidance forces the model to better follow the prompt, but may result in lower quality output. Must be between 1-28.
seed
integer
Makes generation deterministic. Using the same seed and set of parameters will produce identical image each time.
api_key
string
🔐 Your JigsawStack API Key (required)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'title': 'Output', 'type': 'string'}