How it works
The engine follows a simple input/output model:Input
A source video (template) whose style you want to extract, plus your own footage to apply it to.
Output
A processed video styled to match the template, plus the Style DNA JSON that describes the extracted style.
- Extract only — submit a template video and receive its Style DNA JSON for inspection or storage.
- Extract and apply — submit a template video and target footage, and receive a fully rendered output video.
Asynchronous jobs
All processing runs asynchronously. When you submit a request, the API immediately returns a job ID. You then poll the job status endpoint or configure a webhook to be notified when processing completes.queued → processing → completed (or failed / cancelled). See Job Lifecycle for the full state machine.
Jobs typically complete within 30–120 seconds depending on video length and the processing stages required. The
progress_percent field on the job object lets you track progress in real time.Template videos
A template video is the source of truth for style extraction. The engine analyzes its color grading, cuts, transitions, audio treatment, motion intensity, and more to build a Style DNA object. Choose template videos that clearly represent the style you want to replicate:- A consistent color grade throughout the clip improves extraction accuracy.
- Music-driven edits with clear beat alignment produce the most reliable
detected_beatsandtempo_bpmvalues. - Clips under 10 minutes process faster and yield a higher
extraction_confidencescore.
Supported formats and file limits
Video formats
| Format | Extension |
|---|---|
| MP4 | .mp4 |
| MOV | .mov |
| AVI | .avi |
| MKV | .mkv |
| WebM | .webm |
File size limit
The maximum upload size is configured by theMAX_FILE_SIZE_MB environment variable (default: 1000 MB). Uploads exceeding this limit are rejected before processing begins.
Output formats
The rendered output video is returned as MP4 (H.264). The output resolution matches your input footage.Next steps
Style DNA
Learn about the StyleJSON schema and all the fields it contains.
Processing pipeline
See the six stages a job goes through from submission to output.
Job lifecycle
Understand job statuses, progress tracking, and completion detection.