Skip to main content
POST
Image Generation

Query

string
default:"lorenzomarines/astra"
required
The image model to be used;

Body

string
required
Input prompt
int
default:"1024"
Width of output image. Recommended 1024 or 1280
int
default:"1024"
Height of output image. Recommended 1024 or 1280
int
default:"1"
Number of images to output.
string
Negative Input prompt
int
default:"50"
Number of denoising steps.
string
default:"K_EULER"
scheduler
float
default:"7.0"
Scale for classifier-free guidance
float
default:"0.8"
Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image
float
default:"0.6"
LoRA additive scale. Only applicable on trained models.
boolean
default:"false"
Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.
file
Input image for img2img or inpaint mode
file
Input image for img2img or inpaint mode