POST
/
v1
/
ai
/
image_generation

Supported values for the size parameter.

  • small = 256x256
  • medium = 512x512
  • large = 1024x1024

Body

prompt
string
required

The prompt to generate the image from. Maximum prompt character length is 1000.

model
string
default: "sdxl"

The model to use for the generation. Default is sdxl

  • sd1.5 - Stable Diffusion v1.5
  • sdxl - Stable Diffusion XL
  • ead1.0 - Anime Diffusion
  • rv1.3 - Realistic Vision v1.3
  • rv3 - Realistic Vision v3
  • rv5.1 - Realistic Vision v5.1
  • ar1.8 - AbsoluteReality v1.8.1
size
string
default: "medium"

The size of the image. Default is medium.

  • small
  • medium
  • large
width
number

The width of the image.

height
number

The height of the image.

advance_config
object
negative_prompt
string

Text input that will not guide the image generation.

steps
number

The number of denoising steps. More steps usually can produce higher quality images, but take more time to generate.

guidance
number

Higer guidance forces the model to better follow the prompt, but result in lower quality output.

seed
number

Makes generation deterministic. Using the same seed and set of parameters will produce identical image each time.

scheduler
string
default: "dpmsolver++"

Scheduler used to denoise the encoded image latents. The default value is dpmsolver++.

  • dpmsolver++
  • lms
  • ddim
  • euler
  • euler_a
  • pndm
x-api-key
string
required

Your JigsawStack API key

Response