How do you merge clips, a voice-over and captions into one MP4 in n8n? Import this n8n video workflow. Coco does the ffmpeg work, so you need no Execute Command node.

The workflow sends your clip links and your voice-over link to the Coco API from four HTTP Request nodes. About 40 seconds later you get one vertical MP4 with word-by-word captions burned in. It runs on n8n Cloud and on self-hosted n8n.

Download the workflow

Tested in n8n 3.4.2 on 2 December 2026. The free plan needs no card.

What does the finished MP4 look like? This is the video the workflow made in our test run.

  • 12 seconds: three clips of 4 seconds each
  • 1080 by 1920, 30 frames a second, H.264 and AAC
  • Captions written from the voice-over, the spoken word in yellow
  • Music under the voice at 25 %

The voice is John F. Kennedy's 1961 inaugural address, which is in the public domain. Clips: the MDN flower clip (CC0), the jellyfish test file from test-videos.co.uk and Big Buck Bunny (CC BY 3.0, Blender Foundation). Music: SoundHelix Song 1. The page shows the video at 540 by 960.

How do you set it up? Five steps, about 5 minutes.

  1. Sign in to the Coco editor with Google. Open API keys, make a key and copy it. Coco shows the key once. Open the editor
  2. In n8n, make a Header Auth credential called Coco API key. Set Name to Authorization and Value to Bearer followed by a space and your key.
  3. Download the workflow. In n8n, choose Import from File, or paste the JSON on an empty canvas. Download the workflow
  4. Open the four Coco HTTP nodes and select your Coco API key credential in each one.
  5. Click Execute workflow. The sample links in the Your video node make a 12 second test video.

Then put your own links in the Your video node. You can also activate the workflow and use its form, with one clip link on each line.

What does each node do? Fifteen nodes and five notes. You edit Your video, and LOOK when you want a new style.

NodeWhat it does
Your videoHolds your clip links, the voice-over link, an optional music link, an optional title and seconds_per_clip.
Or fill in a formA form with the same five inputs. Put one clip link on each line.
Build template and varsChecks your inputs and builds the Coco template and the values for one render. LOOK sets the size, the caption style, the clip sound and the music level.
Find saved template, Pick saved template, Saved already?Look in your Coco account for a template with the same look.
Save the templateSaves the template on the first run. Later runs skip it.
Render the videoStarts the render. Its idempotency key comes from the execution id, so a retry does not render twice.
Wait 10 s, Check the render, Finished?Ask Coco every 10 seconds until the MP4 is ready, for at most 15 minutes.
Your MP4Gives video_url, link_expires, duration_seconds and render_id.
Render failed, Gave up waitingStop the run with Coco's error code and message.

What does a video cost on the free plan? You pay for minutes of finished video.

The free plan gives 10 render minutes a month and 60 minutes of caption transcription, with no card. The 12 second sample uses a fifth of a minute, so the free plan makes about 50 of them a month. A failed render uses nothing. Starter costs $19 a month for 300 minutes.

What can't the workflow do yet? Here are today's limits, so nothing surprises you.

Questions about the n8n workflow

Does this work on n8n Cloud?

Yes. The workflow uses only core n8n nodes: HTTP Request, Code, If, Switch, Wait, Set and a form trigger. Coco runs ffmpeg on its own servers, so you install nothing.

Do I need an SRT file for the captions?

No. Coco transcribes the voice-over and burns in the captions a few words at a time, with the spoken word in yellow. A voice file is transcribed once, and the free plan covers 60 minutes of it a month.

Does my n8n need a public URL or a webhook?

No. The workflow asks Coco every 10 seconds until the render is done. That works on n8n Cloud and on a self-hosted n8n behind a router.

Can each clip keep its own length?

Not yet. Every clip plays for seconds_per_clip. If your clips come from Kling or Runway at 5 seconds, set it to 5.

How do I change the caption style or the video size?

Edit LOOK at the top of the Build template and vars node. The next run saves a new template with the new look and uses it from then on.

What happens when a link is wrong?

The render stops and the Render failed node ends the run with Coco's error code and message, for example media_wrong_type or media_fetch_failed. The message names the field and the host. A failed render costs nothing.

Want your own clips in that MP4? Start on the free plan with 10 render minutes.