Join MP4 clips with the API
Assemble uploaded video segments into a single MP4 while preserving their timing and sound.
Upload each source
Create one asset per MP4 using POST /v1/assets. Send the exact byte length, content_type video/mp4 and public_intent true. Upload each file to its returned upload_url with PUT. Keep the corresponding input_url for the job.
Specify the sequence
Select ffmpeg.stitch_export.v1. Pass an input_urls array in the desired playback order. Repeating an input_url includes that clip twice. Match source dimensions, frame rate and audio layout for stream-copy assembly.
Quote, submit and download
POST the service and input to /v1/jobs/estimate. Add the returned quote_id and submit to /v1/jobs with an Idempotency-Key. Use the job ID to check status, then request its /output URL. The production example stitched two five-second segments for $0.05.