FFmpeg Media · FFmpeg
Concat with TransitionsNEW
Join clips in order with optional crossfade or dip-to-black transitions at chosen seams, plus head fade-in and tail fade-out.
💡 When to use:Use when you want smooth transitions between clips instead of a hard cut at every seam. Specify the transition per seam; if all are "none" with no head/tail fade it matches concat's zero-re-encode fast path.
This page has been rewritten for the unified API: create with
POST /v1/ffmpeg/jobs (the operation field names the operation), poll with GET /v1/ffmpeg/jobs/{id}, authenticate with Authorization: Bearer <key>. File upload still uses POST /v1/ffmpeg/upload. See the ffmpeg guide for the common parts. ffmpeg guideSubmit task
POST/ v1/ ffmpeg/ jobs
Query Result
GET/ v1/ ffmpeg/ jobs/ {id}
⏱ Recommended polling interval:Creating returns a job object right away (
status: queued). Poll GET /v1/ffmpeg/jobs/{id} until status is completed or failed; a failed job is still HTTP 200 with status: failed and an error.Authorization
AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.
Request body
application/jsoninput_urlsstring[]Required
Video URL array, 2-500, in play order
transitionsobject[]Required
Per-seam transitions, length exactly inputUrls − 1; each { index: 0..N-2 ascending, kind: none / crossfade / dip, durationMs: ms (0 for none) }. crossfade shortens total length via overlap; dip is dip-to-black and keeps total length
headFadeInMsinteger
Head fade-in from black (ms), default 0; does not change total length
tailFadeOutMsinteger
Tail fade-out to black (ms), default 0; does not change total length
webhook_urlstring
Completion webhook URL (optional)
Every field in the request body other than operation is a parameter of this operation. Input slots use snake_case (input_url, input_urls, image_url, audio_url, audio_urls, subtitle_url, webhook_url); the old camelCase names (such as inputUrl) are still accepted, and the old name wins if both are present.
Response fields
idstring
Job ID.
objectstring
Always
ffmpeg.job.operationstring
The
operation used when creating.statusstring
queued, in_progress, completed or failed.progressinteger
Progress percent; 100 when done.
result_urlstring
Address of the output once completed.
costinteger
Credits actually charged.
errorobject
{message, code} on failure; code is ffmpeg_job_failed.