Trigger mux-audio-onto-video workflow
Merge a session's 'audio' file onto each of its video files, using one signed alignment offset per video. Async: returns 202 with a job id, then poll GET /v1/sessions/{id}/mux-job; pass retryOf to retry a failed or cancelled job.
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Per-video signed alignment in seconds: positive skips video, negative skips audio. Zero is explicit. A failed/cancelled job may be retried by naming its jobId in retryOf; active or unknown attempts cannot be retried.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/sessions/string/mux-job" \ -H "Content-Type: application/json" \ -d '{ "offsetsSeconds": { "property1": -3600, "property2": -3600 } }'{ "jobId": "string", "status": "string", "muxedItems": { "property1": "string", "property2": "string" }, "error": "string", "startedAt": "string", "completedAt": "string"}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "x402Version": 2, "accepts": [ {} ], "error": "string"}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}List sessions GET
Page through this account's sessions, each a named set of media files with its mux status. Call it to find a session id for checking or retrying an audio-onto-video job.
Author (create) a component POST
Add a custom motion-graphics component to this account's library from native source, ready to place in compositions. Start from GET /v1/components/blank-source; an id that already exists returns 409, so update it with PUT.