Edit a region
Starts a job that edits only the masked area of a pattern.
Authorizations
An API key from Settings → API keys in Arcade Studio.
Body
Caller-chosen idempotency key; a replay returns the original result
1 - 128The pattern to refine
11 - 1000PNG data URL with the source revision's aspect ratio (the short side may differ by 1 pixel) and a long edge of at most 1536 pixels; it is scaled to the image the edit runs on. Pixels with alpha above 0 are editable, and the selection must cover at least 16 x 16 pixels at that size.
1Response
OK
Opaque job ID; read the job with jobs.get
1What the job makes: a pattern (patterns.create or a refine), a product (products.create) or a download (an upscale started in Arcade Studio)
pattern, product, download Jobs are created running; there is no queued state
running, succeeded, failed What a succeeded job made. Null while running, when it failed, when a deformity fix found nothing to repair, and once the pattern it made is deleted.
- Option 1
- Option 2
- Option 3
Why the job failed; set once it failed
When the job started; for a product with no recorded build (made by Create, or built before builds were kept), when the product was created
When the job finished; null while running and for a failed product job, which does not record it