Skip to content
中文

Export video

An export freezes the timeline and source versions at creation. Later edits do not change that video. Create it with praxis.cut.projects.exports.create and poll praxis.cut.exports.retrieve.

Configure output

FieldUsage
bindingWritable binding name; defaults to the default upload library.
revisionProject revision to export.
folderDestination path within the library; omitted uses its default folder.
nameNonempty display name; separators and control characters become hyphens, up to 200 characters. Omitted uses project name and timestamp.
output.formatmp4.
output.width, output.height, output.fpsOutput dimensions and frame rate.
output.qualityCompression, medium by default: about 70% of the bitrate of high, the balance of render, upload and storage, and fit for direct publishing. draft is about 40% of high, for review; high is for delivery that will be transcoded again or needs the most detail. Other omitted fields use project export defaults.

Folder and name freeze with the job. See the complete quickstart request.

Track and retrieve

HTTP 202 means accepted. Active statuses are queued, fetching, rendering, stitching, and saving. Terminal statuses are done, failed, and canceled. Only done provides a deliverable asset; retrieve it using library_id and asset_id.

Outputs carry the cut-export tag and project_id, export_id, and duration context; duration is seconds. progress.done and progress.total count work units, not availability of the video. progress.audio: pending means audio processing remains unfinished.

Recover from failure

Offline clips block export. Creation-time MEDIA_UNAVAILABLE includes source clip and asset identities. Restore assets, fix bindings, or shorten out-of-source clips before retrying. Recheck duration after source overwrites.

For a failed job, inspect error.code, error.message, error.cause, and error.request_id. Cause may be a string or an object with stage and optional code. Preserve the request ID for diagnosis. A cancellation request is not successful rendering; retrieve the terminal state.

Timing and verification

Export includes media fetching, asynchronous retimed audio, rendering, and saving. No fixed completion time is promised. Poll status and inspect wall_ms when present for elapsed time. The job budget follows frame count: one second of render per frame, 20 minutes minimum and 150 maximum, plus 10 minutes to prepare and save. This is a timeout boundary, not a completion promise. Verify the finished video is readable, complete, and matches the preview.

Draft range renders

When you only want to hear or see one passage of the timeline and do not need a finished video, render an interval with POST /cut/v1/projects/{project_id}/renders (SDK: praxis.cut.projects.renders.create). kind: "audio" returns the mixed soundtrack as .m4a; kind: "video" returns a draft-quality .mp4. from and to are seconds on the project clock, at most 120 seconds per request; request several ranges for a longer passage. The call answers 202; poll praxis.cut.renders.retrieve until done, then read url. The result is a temporary file that expires after 24 hours, never enters a media library and is not a deliverable. It bills by rendered seconds, and each project runs at most 2 draft renders at a time.

Next steps

  • Limits: Code limits on scripts, previews and exports.
  • Script reference: The functions used to preview and check before an export.
  • Video recipes: Tested editing recipes from talking heads to montages.