Skip to main content
POST
Choose an operation and put its settings in input. For edit, inpaint, upscale, and image-to-video, set image_id to the source image. Generate and try-on references belong inside input. Unknown envelope and input fields are rejected. The JSON body must be no larger than 2 MiB. Each entry in jobs is the actual new processing job, including operations that also create an image version. Save every id and poll the job. Track jobs and image versions →

Authorizations

Authorization
string
header
required

Create an API key in Studio → account menu → API Keys. Keep it on your server.

Body

application/json
operation
enum<string>
required
Available options:
generate
input
object
required

Response

Accepted for asynchronous processing.

jobs
object[]
required