Edit / inpaint image
Edits an input image using a prompt and a mask (inpainting). Only registered when the active image runner_type is an edit/inpaint variant.
Request body
Text prompt describing the desired output image
Optional secondary prompt routed to the second text encoder (SDXL)
Negative prompt describing what to avoid
Optional secondary negative prompt for the second text encoder
Number of denoising steps
Classifier-free guidance scale
Guidance rescale factor (mitigates over-saturation at high guidance)
Random seed for reproducible sampling
Number of images to generate per request
SDXL crop conditioning [top, left]
Optional explicit list of timesteps for the scheduler
Optional explicit list of sigmas for the scheduler
Path to a LoRA weights file to load before generation
Scale applied to the LoRA
Encoding format for the returned base64 image bytes
Quality factor for JPEG encoding (ignored for PNG). Bounds match the Python service's Pydantic constraint (ge=50, le=100).
Base64-encoded input image. Required for image-to-image and edits.
Base64-encoded mask image. Required for edits/inpainting.
Image-to-image strength (0..1); higher values diverge further from the input image.
Response
Image(s) edited successfully
Generated images, base64-encoded
Wall-clock generation time in seconds (omitted when zero)