Edits as data.

Send a chain of operations, poll one job. Every step is a plain JSON object.

The edit chain API is coming soon

Not available yet

Nothing on this page is connected to a live backend yet, so treat it as reference only. What you can do today: PicX v1 ships REST API access. Create a key and call the API directly, or through the picx-ai npm package or the picx Python package.

The composer and the request body below document the chain format. No chain can be submitted, and no job status shown here would be real.

Endpoint

POSThttps://api.picxstudio.com/v1/edit

Example chain

SOURCEasset_9f2c1video · 18.2s · 1080×1920
  1. trim
    { "start": 0, "end": 12.5 }
  2. overlay.text
    { "text": "50% OFF", "at": "bottom" }
  3. encode
    { "format": "mp4", "crf": 22 }

Request body

POST /v1/editnot live
{
  "source": "asset_9f2c1",
  "chain": [
    { "op": "trim", "start": 0, "end": 12.5 },
    { "op": "overlay.text", "text": "50% OFF", "at": "bottom" },
    { "op": "encode", "format": "mp4", "crf": 22 }
  ],
  "webhook": "https://acme.dev/hooks/picx"
}

Operations

trimcropoverlay.textoverlay.logospeedcaptionsconcatencode

Webhook delivery

Provide a webhook URL and PicX posts the finished asset when the job completes.

POSThttps://acme.dev/hooks/picx

Frequently asked

Can I submit an edit chain to this API right now?Not yet — the composer and request body on this page document the exact chain format the API will accept. No chain can be submitted, and no job status shown here is real.
What does an edit chain look like?A plain JSON array of operations POSTed to "/v1/edit" — each step names an op and its arguments, and the whole chain resolves to one job you poll once, rather than one call per operation.
How do I get the result back — do I have to poll?Either. Poll the job, or provide a webhook URL and PicX posts the finished asset to it when the job completes.
What operations will the edit chain support?8 operations are documented above, under "Operations" — each one is a single named step you can chain with the others.