submit_inpaint
Submit an image inpainting job and get a job ID instantly. Specify a mask, pipeline, and prompt to fill the masked area with new content without waiting.
Instructions
Submit an inpainting job without waiting. Returns the job ID for manual polling.
Args:
pipeline: Pipeline to use — "sd15", "sdxl", or "illustrious"
positive_prompt: Text prompt describing what to paint in the masked region
model_checkpoint: Model checkpoint filename to use
image_base64: Base64-encoded input image
mask_base64: Base64-encoded mask image (white = inpaint region)
negative_prompt: Negative prompt (things to avoid)
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 | ||
| pipeline | Yes | ||
| cfg_scale | No | ||
| scheduler | No | DPM++ 2M | |
| custom_vae | No | ||
| mask_base64 | Yes | ||
| image_base64 | Yes | ||
| negative_prompt | No | ||
| positive_prompt | Yes | ||
| model_checkpoint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |