submit_generate
Submit image generation requests asynchronously and get a job ID for polling status. Avoid waiting for the Stable Diffusion API to finish before continuing other work.
Instructions
Submit an image generation job without waiting. Returns the job ID for manual polling.
Args:
pipeline: Pipeline to use — "sd15", "sdxl", or "illustrious"
positive_prompt: Text prompt describing the desired image
model_checkpoint: Model checkpoint filename to use
negative_prompt: Negative prompt (things to avoid)
width: Image width in pixels (256-2048)
height: Image height in pixels (256-2048)
steps: Number of inference steps (1-150)
cfg_scale: Classifier-free guidance scale (1-30)
seed: Random seed (-1 for random)
scheduler: Noise scheduler name
loras: Optional list of LoRA configs, each with "name" (str) and optional "strength" (float 0-1)
custom_vae: Optional custom VAE checkpoint filename
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| loras | No | ||
| steps | No | ||
| width | No | ||
| height | No | ||
| pipeline | Yes | ||
| cfg_scale | No | ||
| scheduler | No | DPM++ 2M | |
| custom_vae | No | ||
| negative_prompt | No | ||
| positive_prompt | Yes | ||
| model_checkpoint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |