Run an ffmpeg operation
Media processing via ffmpeg. One endpoint, four operation modes selected
by the model field:
| Model | Operation | Fields |
|---|---|---|
rendi_ffmpeg | Generic command | command, input_files, output_files |
rendi_ffmpeg_trim | Trim | url, start, end or duration, precise |
rendi_ffmpeg_resize | Resize | url, width/height, fit |
rendi_ffmpeg_slice | Slice into segments | video_url, every/at/count/ranges, codec, thumbnails |
Generic commands use placeholder references, e.g.
-i {{in_1}} -t 5 {{out_1}} with input_files mapping in_1 to a URL
and output_files mapping out_1 to an output filename.
Authorizations
varg API key (varg_...). Get one at app.varg.ai
or run bunx vargai login. App sessions may alternatively send a
Supabase JWT.
Headers
Any unique string. Retrying a request with the same key returns the existing job (HTTP 200) instead of creating and charging a new one (HTTP 202).
Body
Response
Idempotency replay — the existing job for this Idempotency-Key (no new charge).
"job_a1b2c3d4e5f6"
Lifecycle is queued then submitting then running, ending in a
terminal status (completed, failed, or cancelled).
queued, submitting, running, completed, failed, cancelled "image"
The request body as submitted (model, prompt, ...)
Canonical output envelope. Present only when the job is completed.
"stitching 3/8 (40%)"
Fraction 0..1
Structured pricing. 1 credit = 1 cent = $0.01.
"fal"
"fal:flux_schnell"
The provider's raw status string
Lifecycle URLs (present on creation responses)