Create video export
POST /cut/v1/projects/{project_id}/exports
Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
Support: supported
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| project_id | path | string | true | Project identifier returned by its create or list operation; use the id, not a display name. |
Request body (application/json)
Required: true
| Name | Type | Description |
|---|---|---|
| folder | string | Optional destination path within the bound media library; omitted uses its default folder. Naming a binding or a folder also imports the finished video into that media library as an asset. Omit both and the export is a file only: read file.url to download it. |
| name | string | Nonempty display name, frozen with the export. Path separators and control characters become hyphens; limited to 200 characters. Omitted uses project name and timestamp. |
| output | object | Optional render settings; omitted fields use the project export defaults. |
| output.format | string | mp4 produces an MPEG-4 video file. |
| output.width | integer | Output video width in pixels. |
| output.height | integer | Output video height in pixels. |
| output.fps | number | Output frames per second. |
| output.quality | string | Compression of the encoded video, like Shotstack quality. medium is the default and balances render, upload and storage at about 70% of the bitrate of high. draft is about 40% of high, for review renders. high is for delivery that will be transcoded again or needs the most detail. |
| binding | string | Writable binding name used as the export destination; omission uses default_upload. Naming a binding or a folder also imports the finished video into that media library as an asset. Omit both and the export is a file only; read file.url to download it. |
| revision | integer | Committed project revision from retrieve, state, timeline or execute; increases after each successful write. |
| loudness | object | null | Loudness normalization target. Omitted, the export is normalized to -14 LUFS integrated and -1 dBTP true peak, the level short-video and streaming platforms play at; null renders without normalization. Normalization adds analysis and rendering work. |
| loudness.target_lufs | number | Integrated loudness target in LUFS. |
| loudness.true_peak_dbtp | number | Maximum true peak in dBTP. |
| poster | object | Cover frame, in seconds on the project clock. Omitted, the cover is the first frame with picture that is not inside a fade-in or a transition — a black opening no longer makes the library thumbnail black. A frame inside a transition is skipped, and a timeline that is black throughout keeps its first frame (reported as BLACK_FIRST_FRAME). The frame actually used is reported as poster_at on the export. |
| poster.at | number | Timeline position in seconds the cover is taken at; rounded to the nearest project frame. |
{ "type": "object", "description": "Start an export from a project revision into a bound library.", "properties": { "folder": { "type": "string", "description": "Optional destination path within the bound media library; omitted uses its default folder. Naming a binding or a folder also imports the finished video into that media library as an asset. Omit both and the export is a file only: read file.url to download it." }, "name": { "type": "string", "minLength": 1, "description": "Nonempty display name, frozen with the export. Path separators and control characters become hyphens; limited to 200 characters. Omitted uses project name and timestamp." }, "output": { "$ref": "#/components/schemas/cut-ExportOutput", "description": "Optional render settings; omitted fields use the project export defaults." }, "binding": { "type": "string", "description": "Writable binding name used as the export destination; omission uses default_upload. Naming a binding or a folder also imports the finished video into that media library as an asset. Omit both and the export is a file only; read file.url to download it." }, "revision": { "$ref": "#/components/schemas/cut-Revision" }, "loudness": { "type": [ "object", "null" ], "description": "Loudness normalization target. Omitted, the export is normalized to -14 LUFS integrated and -1 dBTP true peak, the level short-video and streaming platforms play at; null renders without normalization. Normalization adds analysis and rendering work.", "properties": { "target_lufs": { "type": "number", "minimum": -30, "maximum": -8, "description": "Integrated loudness target in LUFS." }, "true_peak_dbtp": { "type": "number", "minimum": -9, "maximum": 0, "description": "Maximum true peak in dBTP." } }, "required": [ "target_lufs", "true_peak_dbtp" ] }, "poster": { "type": "object", "description": "Cover frame, in seconds on the project clock. Omitted, the cover is the first frame with picture that is not inside a fade-in or a transition — a black opening no longer makes the library thumbnail black. A frame inside a transition is skipped, and a timeline that is black throughout keeps its first frame (reported as BLACK_FIRST_FRAME). The frame actually used is reported as poster_at on the export.", "properties": { "at": { "type": "number", "minimum": 0, "description": "Timeline position in seconds the cover is taken at; rounded to the nearest project frame." } }, "required": [ "at" ] } }}Response
HTTP 202
Export accepted; poll exports.retrieve until status is done, failed or canceled.
application/json
| Name | Type | Description |
|---|---|---|
| id | string | Export id returned by create; use as export_id for retrieve or cancel. |
| project_id | string | Project id whose timeline is being exported. |
| owner | string | Organization that owns this export job. |
| revision | integer | Committed project revision from retrieve, state, timeline or execute; increases after each successful write. |
| status | string | queued awaits capacity; fetching loads sources; rendering renders chunks; stitching joins chunks; saving writes the asset; done means output is ready; failed means inspect error; canceled means no further output is expected. |
| output | object | Effective video rendering options for this job. |
| output.format | string | mp4 produces an MPEG-4 video file. |
| output.width | integer | Output video width in pixels. |
| output.height | integer | Output video height in pixels. |
| output.fps | number | Output frames per second. |
| output.quality | string | Compression of the encoded video, like Shotstack quality. medium is the default and balances render, upload and storage at about 70% of the bitrate of high. draft is about 40% of high, for review renders. high is for delivery that will be transcoded again or needs the most detail. |
| target | object | Library the finished video is imported into. Present only when the request named a binding or a folder; an export that named neither is delivered as a file and has no target. |
| target.binding | string | Project binding alias chosen for the output. |
| target.library_id | string | Destination media library identifier. |
| target.folder | string | Frozen destination path within the library, when supplied. |
| target.name | string | Frozen sanitized display name, when supplied. |
| progress | object | Rendering progress; partial progress is not successful completion. |
| progress.done | integer | Number of render work units completed. |
| progress.total | integer | Total render work units planned. |
| progress.audio | string | pending means audio processing has not finished; done means audio is ready. |
| loudness | object | Present when the export was normalized (the default, or an explicit target); contains the target and the measured output levels. Absent when loudness was null, and when the timeline is silent (nothing to normalize). |
| loudness.target_lufs | number | Requested integrated loudness target in LUFS. |
| loudness.true_peak_dbtp | number | Requested maximum true peak in dBTP. |
| loudness.integrated_lufs | number | Measured integrated loudness of the rendered export in LUFS. |
| loudness.measured_true_peak_dbtp | number | Measured maximum true peak of the rendered export in dBTP. |
| checks | array<object> | Problems found in the timeline when the export was frozen. Every check is a warning and never blocks the export; read them before delivering, fix the timeline and export again when one is real. A check may be intentional (a fade from black, a deliberate placeholder) and then needs no action. |
| checks[].code | string | BLACK_FIRST_FRAME: the first frame is black or empty. PLACEHOLDER_TEXT: a text or caption looks like unfinished placeholder text (TODO, XXX, ___). UPSCALED_SOURCE: a source is enlarged more than 1.5x and will look soft. CAPTION_TOO_SHORT: a caption is on screen too briefly to read. CAPTION_OUT_OF_SAFE_AREA: a caption or text box reaches into the frame edge where players crop or overlay controls. CAPTION_TEXT_MISMATCH: a caption's words differ from the speech the timeline keeps under it (a caption edited without its sound, or sound kept after its caption was removed). CAPTION_DRIFT: a caption starts or ends more than 0.2 s away from its words. FILLER_REMAINING: a filler, verbal tic, repetition or restart that media labelled with confidence 0.7 or more is still in the timeline. SUSPECT_TYPO: a word the correction model doubted and left uncorrected (a possible homophone or misheard name) is still in the timeline. LOUDNESS_TRUE_PEAK_OVER: the delivered file's measured true peak is above the export's true-peak target. RENDER_FALLBACK: a parallel render worker failed, so some chunks are being rendered again on the main machine; it appears while the export is still rendering, the export continues and takes longer, and nothing needs to be done. SAVE_RETRIED: the finished file failed to upload and is being uploaded again from the same machine; the render is kept and nothing needs to be done. ATTEMPT_RETRIED: the whole attempt failed and the export is starting over; the check names the cause. |
| checks[].severity | string | Always warning in this version. |
| checks[].at | number | Timeline position in seconds the check refers to, when it has one. |
| checks[].clip_id | string | Clip the check refers to, when it has one. |
| checks[].detail | string | What was found and how to fix it. |
| poster_at | number | Timeline position in seconds the cover frame was taken at, frame-exact, and the moment written as the exported asset's cover. Present on exports frozen from this version onward: the requested poster.at, or the first frame with picture when poster was omitted. |
| file | object | The finished video as a file. Present once the export is done, and kept even when the export was also imported into a library, where the file itself is then deleted and only its identity remains. |
| file.id | string | File id in the file service. |
| file.name | string | File name the export was uploaded under; the frozen display name with an .mp4 suffix. |
| file.bytes | integer | Size of the finished video in bytes, as written by the renderer. |
| file.url | string | Short-lived reading link, valid one hour, minted on every read and never stored. Present only on a done export that was not imported: an imported export's file was deleted, so there is nothing to link to. |
| asset | object | Output media reference, present only when the export was imported (the request named a binding or a folder). |
| asset.library_id | string | Identifier of a library present in the project bindings. |
| asset.asset_id | string | Asset identifier returned by media import or praxis.media asset operations. |
| error | object | Failure information, present when the export failed. |
| error.code | string | Machine-readable failure code used to choose a recovery action. |
| error.message | string | Human-readable explanation of the export failure. |
| error.chunk | integer | Optional index of the failed render chunk. |
| error.cause | string | object | Safe structured downstream failure information; older jobs may contain a string. |
| error.request_id | string | Downstream request identifier, when supplied by the service error. |
| create_time | string | ISO 8601 timestamp when this export was accepted. |
| finish_time | string | ISO 8601 timestamp when this export reached a terminal state. |
| wall_ms | number | Elapsed wall-clock rendering time in milliseconds, when available. |