Faceless Video Automation With an AI Video API
Faceless video automation, step by step: script to shot list, clips with sound, assembly and captions, a budget per video, with n8n or a script.
Updated 7 min read
Faceless video automation turns a topic into a finished short with nobody on camera: a script becomes a shot list, each shot becomes an AI clip with its own sound, and the clips are joined with narration and captions, then posted on a schedule. With Frameport, one API key renders every shot on the video model you pick, a free quote prices the whole video before anything runs, and a shot that fails costs nothing.
This guide builds the pipeline end to end: the shot-list format, the request for each clip, assembly and captions with ffmpeg, a hard budget per video in Python, and how to start in the Studio or in n8n before writing any code.
What a faceless video automation pipeline does
Five stages, and only one of them needs a video model:
- Topic to script. You write it, or a language model of your choice drafts it from a topic and a style guide.
- Script to shot list. The script is cut into shots: what we see and hear in each, how long it lasts, and the line of narration it carries.
- Shot list to clips. One generation per shot, vertical, with sound.
- Clips to video. The shots are joined in order, the narration is laid over them, and captions go on top.
- Video to channel. The file goes out to Shorts, TikTok or Reels through the platform's own scheduler or the tool you already post with: the API makes the clips, not the posts.
Stages 1, 2 and 4 are text and ffmpeg. Stage 3 is the only one Frameport bills: per second of video, and only for clips that come out.
Script to shot list
The shot list is the contract between the script and the renders. Keep it as JSON, so a script, an n8n workflow or a person can fill it in:
[
{"prompt": "Sunlight fades as the camera sinks through blue water into total darkness, slow descent, muffled ocean hum, no speech", "duration": 6, "narration": "Sunlight gives out long before the sea floor."},
{"prompt": "A jellyfish pulses with rings of blue light in black water, slow orbit, deep low rumble, no speech", "duration": 8, "narration": "Yet down here, the dark is full of light."},
{"prompt": "A small fish with a glowing lure hangs still in the dark, slow push-in, faint clicks and moving water, no speech", "duration": 8, "narration": "Some animals glow to hunt."},
{"prompt": "Clouds of tiny glowing plankton swirl around the camera, slow drift upward, soft shimmering sound, no speech", "duration": 6, "narration": "Others glow to hide, or to find each other."}
]Rules that keep the shots usable:
- One subject, one action, one camera move per shot. Anything bigger becomes two shots.
- Describe the sound, leave out speech. The narration goes on later as a single track, so the voice stays the same from the first shot to the last; each clip only brings ambience and effects.
- Use lengths the model takes. Six and eight seconds work on every model in this guide, Veo 3.1 Fast included, which renders 4, 6 or 8 seconds.
To have a language model write the list, hand it the script and the format: "Split this script into shots of 6 or 8 seconds. Return a JSON array; each item has prompt (one subject, one action, the camera move and the light, then what we hear, with no speech), duration, and narration (the sentence of the script the shot covers)." Check what comes back before anything renders: a quote refuses a length or an option the model does not take, at no cost.
Clips with sound: one request per shot
Every shot is a POST /v1/videos/generations with its own prompt and length, aspect_ratio set to 9:16 and audio on. These models fit a faceless short (the vertical video API guide has the full list):
- Wan 3.0 takes any length from 2 to 30 seconds, with sound at no extra cost, for $0.12 a second at 720p. The script below uses it, and the Wan 3.0 API guide lists its other options.
- Seedance 2.5 suits the opening or closing shot that has to hold the eye, with takes of up to 30 seconds and sound included.
- Frameport Motion 1 drafts a whole video cheaply at 480p, $0.02 a second, before you render the final cut elsewhere or at a higher tier.
- Veo 3.1 Fast prices sound apart, so a shot you will cover with music costs $0.093 a second at 720p silent instead of $0.12.
The body for one shot (an n8n HTTP Request node takes the same JSON; the script below adds a max_cost_usd cap):
{
"model": "wan-3",
"prompt": "A jellyfish pulses with rings of blue light in black water, slow orbit, deep low rumble, no speech",
"duration": 8,
"resolution": "720p",
"aspect_ratio": "9:16",
"audio": true
}The answer comes at once, with the price held on your balance:
{
"id": "gen_4kQ8vT2nLm9Xr7Wd1sYcPa",
"object": "generation",
"type": "video",
"model": "wan-3",
"status": "queued",
"reserved_usd": 0.96,
"cost_usd": null,
"outputs": [{ "id": "file_3Vb8KqW2nTx7Lc5Rm1YdPs", "status": "queued" }],
"error": null
}Read it with GET /v1/videos/generations/{id} until status is succeeded or failed. The file is at outputs[0].url, a signed link that opens for about an hour, so save it as soon as it lands (videos).
Prefer animated stills to footage? The Studio's Camera move and Seamless loop apps turn one picture into a moving shot on Frameport Motion 1, and through the API the picture goes in reference_images as the first frame.
Assembly and captions with ffmpeg
The script below writes list.txt (the shots in order) and captions.srt (each narration line, timed to its shot). Your voiceover is narration.mp3, recorded or made with a text-to-speech tool of your choice. Three commands make the video:
# 1. Join the shots in order
ffmpeg -f concat -safe 0 -i list.txt -c:v libx264 -c:a aac joined.mp4
# 2. Lay the narration over the clips' own sound, kept low
ffmpeg -i joined.mp4 -i narration.mp3 \
-filter_complex "[0:a]volume=0.3[bed];[bed][1:a]amix=inputs=2:duration=first:normalize=0[mix]" \
-map 0:v -map "[mix]" -c:v copy -c:a aac narrated.mp4
# 3. Burn in the captions
ffmpeg -i narrated.mp4 -vf "subtitles=captions.srt:force_style='FontSize=14,MarginV=60'" \
-c:a copy final.mp4The concat step works as written because every shot shares one model, resolution and format; a video that mixes models needs ffmpeg's concat filter instead. The subtitles filter needs an ffmpeg build with libass, which most have. Where a platform takes a caption file, upload captions.srt instead of burning it in.
Budget per video: price every shot first
A channel that posts every day needs the cost of each video known in advance and capped. Three parts of the API do that, and pricing a clip before it runs covers them in more depth:
- Quotes.
POST /v1/generations/quotetakes the same body and returnsprice_usdwithout starting anything. Quotes are free and do not count against the rate limit. max_cost_usd. Each request carries its own ceiling, and one priced above it is refused with400 max_cost_exceededbefore anything is held (spending caps).Idempotency-Key. Run the script again and each shot sends the same key, so for 24 hours it gets its first generation back instead of paying a second time (idempotency).
import json
import os
import sys
import time
import requests
API = "https://frameport.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['FRAMEPORT_API_KEY']}"}
BASE = {"model": "wan-3", "resolution": "720p", "aspect_ratio": "9:16", "audio": True}
# python3 faceless.py SHOTS_FILE VIDEO_ID BUDGET (the budget in USD)
shots_file, video_id, budget = sys.argv[1], sys.argv[2], float(sys.argv[3])
with open(shots_file) as f:
shots = json.load(f)
bodies = [{**BASE, "prompt": s["prompt"], "duration": s["duration"]} for s in shots]
# 1. Price the whole video: quotes are free and start nothing
quotes = []
for n, body in enumerate(bodies, start=1):
quote = requests.post(f"{API}/generations/quote", headers=HEADERS, json=body).json()
if "error" in quote:
sys.exit(f"Shot {n}: {quote['error']['message']}")
quotes.append(quote)
total = sum(q["price_usd"] for q in quotes)
print(f"{len(shots)} shots, {total:.2f} USD")
if total > budget:
sys.exit("Over budget: shorten the shots or lower the resolution.")
if total > quotes[0]["available_usd"]:
sys.exit("The balance does not cover this video: top it up first.")
def start(n, attempt):
# The key turns a rerun into a replay; max_cost_usd holds each shot to its quote
gen = requests.post(
f"{API}/videos/generations",
headers={**HEADERS, "Idempotency-Key": f"{video_id}-shot-{n}-try-{attempt}"},
json={**bodies[n - 1], "max_cost_usd": quotes[n - 1]["price_usd"]},
).json()
if gen.get("error"):
sys.exit(f"Shot {n} was refused: {gen['error']['message']}")
return gen["id"]
def wait(gen_id):
while True:
gen = requests.get(f"{API}/videos/generations/{gen_id}", headers=HEADERS).json()
if gen["status"] in ("succeeded", "failed"):
return gen
time.sleep(5)
# 2. Start every shot, then collect them in order
jobs = [start(n, 1) for n in range(1, len(shots) + 1)]
for n, gen_id in enumerate(jobs, start=1):
gen = wait(gen_id)
if gen.get("error"): # a failed shot costs nothing: try it once more
gen = wait(start(n, 2))
if gen.get("error"):
sys.exit(f"Shot {n} failed twice: {gen['error']['message']}")
with open(f"shot-{n}.mp4", "wb") as out:
out.write(requests.get(gen["outputs"][0]["url"]).content)
# 3. Write the ffmpeg list and the captions
def stamp(seconds):
ms = int(seconds * 1000)
return f"{ms // 3600000:02}:{ms // 60000 % 60:02}:{ms // 1000 % 60:02},{ms % 1000:03}"
clock = 0
with open("list.txt", "w") as clips, open("captions.srt", "w") as srt:
for n, shot in enumerate(shots, start=1):
clips.write(f"file 'shot-{n}.mp4'\n")
srt.write(f"{n}\n{stamp(clock)} --> {stamp(clock + shot['duration'])}\n{shot['narration']}\n\n")
clock += shot["duration"]
print("Shots saved: run the ffmpeg commands to make final.mp4")Run it with the shot list, an id for this video and the most the whole video may cost, in USD:
python3 faceless.py shots.json deep-sea-01 5The script starts every shot before it waits on any, which suits a short: up to 20 generations run at once per workspace, and past that the API answers 429 with Retry-After. A new version of a shot list takes a new video id, since a key sent with a different body is refused. The deep-sea list above runs 28 seconds, $3.36 on Wan 3.0 at 720p with sound. For a longer channel format, here is what one minute of finished shots costs:
| Model | One minute, draft | One minute, final |
|---|---|---|
| Wan 3.0 | $3.60 at 480p | $7.20 at 720p |
| Seedance 2.5 | $7.20 at 480p | $16.20 at 720p |
| Frameport Motion 1 | $1.20 at 480p | $3.60 at 768p |
| Veo 3.1 Fast | $5.58 at 720p, silent | $7.20 at 720p with sound |
Narration, music and your own time are not in these numbers; pricing explains the balance the clips draw on.
No code first, code later
Find the look by hand before automating it. In the Studio, set Format to 9:16 and Sound on, paste the first shot's prompt and generate. Recreate puts a take's prompt and settings back in the composer, so you can change one phrase and go again, and a project per video keeps its shots together. When a prompt style holds up, it becomes the template for every shot list, and Copy as API call hands you the exact request to put in code.
Then automate in n8n, Make.com or Zapier, or straight in code. The n8n AI video generation guide builds the trigger, submit and webhook nodes and a one-clip faceless example; for a multi-shot video, loop its HTTP Request node over the shot list and run the ffmpeg commands in an Execute Command node on a self-hosted n8n. Run as code, the script above fits a cron job. With many videos in flight, a webhook beats polling: an endpoint added under Webhooks receives generation.succeeded and generation.failed for every shot, signed, as AI video API webhooks explains.
Channels made by hand rather than by workflow can also build each short using eroq.ai, a private studio that runs in the browser.
FAQ
What is faceless video automation?
It is a pipeline that makes videos with nobody on camera: a script is split into shots, an AI video model renders each shot with its sound, and the clips are joined with narration and captions, then posted on a schedule. Only the clip rendering needs a video model.
Can I automate faceless videos with n8n?
Yes. A Schedule Trigger starts the workflow, an HTTP Request node sends each shot to the API with your key, and a webhook workflow collects the clips when they finish. On a self-hosted n8n, an Execute Command node can run ffmpeg to assemble them.
Is there a free faceless video API?
The account, the API key, quotes and any shot that fails cost nothing. Clips that render are paid by the second from a prepaid balance, starting at $0.02 a second, and nothing renders until you send a request.
How much does a faceless video cost to make?
It is the sum of its shots. A 28-second short on Wan 3.0 at 720p costs $3.36 with sound, and drafting it first on Frameport Motion 1 at 480p costs $0.02 a second. A quote gives the exact figure for your shot list before anything runs.
Which AI video model works for faceless TikTok videos?
Every model in this guide renders 9:16 with sound. Wan 3.0 covers the widest spread of shot lengths, Seedance 2.5 holds one take for up to 30 seconds, Frameport Motion 1 is the low-cost way to draft, and Veo 3.1 Fast costs less when a shot needs no sound of its own.