Cut an asset
Create a cut for an asset from the supplied script. Idempotent on the
full request shape: an identical request returns the existing cut.
Authorizations
Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.
Body
Create a cut for an asset, aligned to the supplied script
(snapshotted onto the cut at create time).
Response
A cut with the same (asset, script) already exists; it is returned.
A cut.
Cut id.
The source asset (video or audio) this cut belongs to.
Cut lifecycle state: pending / processing while the cut computes, completed when ready, failed on error. completed and failed are terminal.
pending, processing, completed, failed The script this cut was computed with (from the create request, snapshotted at create time).
Machine-readable failure code when state=failed.
Human-readable failure detail when state=failed.
When the cut was created.
When compute started.
When the cut reached a terminal state.