apivideo-processingautomation

Video editing API vs video processing API: the 30-second rule

··10 min read
Video editing API vs video processing API: the 30-second rule

You searched for a video API, got a JSON timeline spec, and all you wanted was to compress a file you already have. That mismatch is the most common wrong purchase in this category. Below is the rule that tells the two apart, plus the jobs where both honestly work.

Quick answer: A video editing API (often sold as a video rendering API) takes a JSON timeline of clips, transitions, titles and audio, renders a video that didn't exist before, and bills what it produces. A video processing API takes a file you already have plus one instruction, and bills the input you sent. The 30-second rule sorts them: if you can say the change you want out loud in under 30 seconds, it's a processing job. Pick the timeline only when the output's structure changes per row of your data.

What a video editing API asks you to hand over

A video editing API asks you to describe a video that does not exist yet. You POST a JSON document with tracks, clips, start times and lengths, transitions, text overlays with fonts and positions, and an audio bed. The service composites it and hands back an MP4. Shotstack, JSON2Video, Creatomate and Plainly are the shape of this category: Plainly drives After Effects templates from rows of data, and Shotstack's Edit API now lets you put a generation prompt where a clip's source file would go, so the clip is created and composed in the same request.

That model is genuinely good at one thing: producing many structurally identical videos from different data. If you have 400 rows and each row becomes a video with the same five scenes and different text, a timeline is exactly right.

A timeline renderer is built to assemble, so asking it to take one finished file and make it smaller, or 9:16, or captioned, means wrapping that file in a one-clip timeline and paying for a render. More on that failure in Shotstack's n8n node renders timelines. It can't compress files.

What a video processing API asks you to hand it

A video processing API asks for a file that already exists and one instruction. There's no timeline, no scene list. You submit a job, poll until it's finished, and download the output.

curl -X POST https://api.ffmpeg-micro.com/v1/transcodes \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "inputs": [{"url": "https://storage.example.com/master.mp4"}],
    "outputFormat": "webm"
  }'

Poll the job until it reports done, then fetch the download URL. Status checks, listing jobs and downloads cost nothing. There are no completion webhooks, so the polling loop is the contract: three nodes in n8n or a while in any language.

The same request shape covers the rest of the FFmpeg surface: transcode, resize, compress, trim, extract audio, pull thumbnails, burn captions, stamp a watermark, package HLS. One file in, one file out, every time.

The thirty-second rule for choosing between them

Ask one question about your output: does its structure change per row of your spreadsheet, or only its source file?

If the scene count, the layout or the number of text blocks differs from one video to the next, you're describing a new video each time and you want a timeline. If every output has the same structure and only the input file varies, a timeline makes you pay to rebuild something you already had.

Video editing / rendering APIVideo processing API
InputA JSON description of a videoA file plus one instruction
OutputSomething new, compositedThe same content, changed
Scales withRows of dataFiles in a folder
Billed onWhat it renders for youWhat you sent it
Wrong fit whenThe structure never changesEach output has a different layout

Most pipelines have one ambitious assembly step and twenty boring file steps, and the boring twenty are where the money goes.

Six questions that settle a borderline job

Borderline jobs come down to six questions.

  • Does the source file already exist, or are you creating content that doesn't?
  • If you changed one line of text, would you need to re-make the whole output?
  • Does the number of scenes vary between outputs, or is it fixed?
  • Are you paying per minute of what comes out, or per second of what goes in?
  • Do you need the finished file handed back, or is a hosted URL fine?
  • Can you call it from where you actually work: n8n, Make, Zapier, or an agent?

Three or more answers pointing at "file that exists, fixed structure, give me the file back" means you're buying the wrong product if you buy a timeline.

The meter follows the model

A render API bills the thing it produces, because producing is the service: output minutes, credits computed from resolution and frame rate, or a per-render fee. So the same edit costs more at 4K than at 720p, and a one-word text change costs a full re-render at full price. Read the meter on a vendor's own pricing page rather than trusting a comparison table, including ours.

FFmpeg Micro prices the opposite way. Billing is per second on the duration of the video processed, not on server time and not on output size. There's no rounding up to the minute: a 10 second video costs 10 seconds.

Trim a 30 second clip out of a one hour recording and you're billed for 30 seconds, not the hour. Failed jobs are never billed. One token buys 10 seconds of input, and a new account gets 200 tokens free, roughly 33 minutes of video, with no card. Video API pricing: which meters keep billing after the job ends walks the meters that keep charging after the work is done.

Three jobs that look like compositions but run as one operation

Burning hook text onto a clip, stamping a logo, and turning product stills into a slideshow are all compositions in the strict sense: more than one visual element ends up in the frame. None of them needs a timeline, because the structure is fixed and only the inputs change.

Hook text is a single filter, one line of FFmpeg:

ffmpeg -i master.mp4 -vf "drawtext=text='Stop scrolling':fontsize=64:fontcolor=white:x=(w-text_w)/2:y=h*0.12:box=1:boxcolor=black@0.6" -c:a copy hook1.mp4

A watermark is the same story with a second input:

ffmpeg -i clip.mp4 -i logo.png -filter_complex "overlay=W-w-40:H-h-40" -c:a copy out.mp4

Both of those run as one API job against a file you already have, which is why FFmpeg Micro ships them as one-click blueprints rather than as template projects. The slideshow is the only one where a timeline is arguably honest, since you choose an order and a duration per image, and even there the structure is identical every run.

One failure to know before you test: if your input is a partially uploaded or truncated MP4, FFmpeg fails with moov atom not found and nothing processes. Check your source file first when a job dies instantly, because an unreadable input looks exactly like a broken API from the outside.

The ad-variant job is where this choice gets expensive

Ad variants push more people toward a timeline for the wrong reason than any other job. Meta recommends different aspect ratios per placement, 4:5 for Feed, 9:16 for Stories and Reels, 16:9 for in-stream, in its own placement guidance, so one master clip has to become several deliverables. Creative testing practice compounds it: the common approach is 3 to 5 isolated hook variants per cycle on the same concept, changing one thing per variant.

Nothing structural changes between those variants: same footage, same length, same layout. One line of opening text differs, or one crop does. That's a fixed structure with a varying parameter, which is the processing side of the line, and re-rendering a whole timeline per hook is paying five times for four identical videos.

The same logic covers AI-generated footage. The Gemini API exposes only 16:9 and 9:16 for every current Veo variant, so 1:1 and 4:5 can't come out of the model and have to be produced afterward as a reframe. If hook swaps are your actual job, Text Hook Variants runs that exact case: one video in, up to three test-ready ads out, each with a different opening hook.

When the timeline really is the right purchase

Buy a video editing API when the output structure is data. Weekly reports where the number of scenes depends on how many products sold, localized versions with different text lengths that reflow the layout, animated charts built from a CSV, template-driven brand videos where marketing edits the template and not the code: those are jobs a template renderer does better than any processing API, including this one.

FFmpeg Micro is a processing API and not an editor. There's no timeline, no template designer, no scene graph, and no UI for arranging clips. If your requirement sentence starts with "the designer wants to change the layout," you want the other category. If it starts with "take this file and," you want this one, and Video API pricing comparison: you don't need a platform covers what you skip paying for.

FAQ: editing API or processing API

I searched for a video API and got a timeline. Is that what I wanted?

Most results for a programmatic video API are written by render vendors, so a timeline is what the search surfaces regardless of your job. If the file you want to change already exists on your disk or in your bucket, a timeline is the wrong shape and a processing API is the purchase you were looking for.

Can a video editing API transcode, compress or reframe a file I already have?

A video rendering API can usually do these as a side effect by wrapping your file in a one-clip timeline and rendering it out at a new size or bitrate. It works, and it bills a full render of the output instead of a single pass over the input, which is the expensive way to do a cheap job.

If I change one hook line, do I pay to re-render the whole video?

On a render API, yes: changing any element in the timeline produces a new render billed at full output price. On a processing API, burning a different text line onto the same master is a fresh job billed on that clip's input seconds, so a 15 second ad variant costs 15 seconds of metering.

Can I call either kind from n8n, Make or Zapier if there's no official node?

Editing APIs and processing APIs are both REST, so any platform with an HTTP request node can call them; the work is in the polling loop. FFmpeg Micro has an official n8n community node with more than 1,800 downloads and a Make app, and more than 300 builders have run it from Make or n8n.

Do I get the finished file back, or does it stay on their platform?

Whether the file comes back depends on the product rather than the category: hosting platforms keep the file and give you a player or a URL, while processing APIs hand it back. FFmpeg Micro returns a download URL for the output, which matters when the next step is an upload to TikTok rather than a web page.

Take one job you were about to describe as a timeline, check whether its structure changes per row, and if it doesn't, send the file and the single instruction instead. Sign up free includes the free tier: no servers to run, no FFmpeg to install, and the same job callable from your own code, from n8n, Make and Zapier, or from your AI agents.

About Javid Jamae

Founder & CEO at FFmpeg Micro

Javid is a software engineer, author, and entrepreneur with over 25 years of professional software development experience across enterprise, startup, and consulting environments. He founded FFmpeg Micro to make video processing accessible to developers through a simple, automation-first REST API.

Software EngineeringVideo ProcessingFFmpegCloud ArchitectureAPI DesignAutomation

Ready to process videos at scale?

Start using FFmpeg Micro's simple API today. No infrastructure required.

Get Started Free