Image
Inpainting sdxl and sd
Replace a masked part of an image with the Inpainting route.
- Image editing
Sign in to create. Review the credit cost in the studio before running.
Catalog preview for Inpainting sdxl and sd. Review your own result before publishing.
A starting point.
Replace a masked part of an image with the Inpainting route. Prepare a mask aligned with the source before writing the replacement brief.
Before you publish.
Check the edited boundary and surrounding texture for seams or unintended changes.
Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.
Settings and model questionsCheck the available settings and guidance when preparing your input.
Inputs and settings
Supply image_url, mask_url, model_name and prompt. White mask areas are edited; black areas are preserved.
Choose a compatible base model through model_name. Keep source and mask dimensions aligned; inspect guidance and seed separately.
Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.
Supported inputs
These fields come from the current studio form for inpaint. Other modes may require different inputs.
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
image_url | Text | Required | — |
mask_url | Text | Required | — |
model_name | Text | Required | — |
prompt | Text | Required | — |
guidance_scale | Number | Optional | ≥ 0 · ≤ 20 |
negative_prompt | Text | Optional | — |
num_inference_steps | Whole number | Optional | ≥ 0 · ≤ 150 |
seed | Whole number | Optional | — |
Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.
Use Inpainting sdxl and sd through the API.
Start with this model ID for the endpoint featured on this page:
inpaint
Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.
Check the current model schema for supported inputs and options. Other tasks may use different model IDs.
From quote to result.
Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.
Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.