FFmpeg
FFmpeg is a media processing tool that runs one FFmpeg command over files you pass by URL and returns a single output file. It takes up to 10 video, audio or image inputs and accepts raw input options, output options, filter graphs and stream maps. It fits transcoding, trimming, scaling, overlays, audio extraction and format conversion between generation steps.

Complete technical specification for integration
API Options
Platform-level options for task execution and delivery.
taskType
stringrequiredvalue: toolsIdentifier for the type of task being performed.
taskUUID
stringrequiredUUID v4UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
webhookURL
stringuriWebhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more1 resource
- WebhooksPLATFORM
- Webhooks
deliveryMethod
stringdefault: syncDetermines how the API delivers task results.
Allowed values2 values
- Returns complete results directly in the API response.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more1 resource
- Task PollingPLATFORM
ttl
integermin: 60Time-to-live (TTL) in seconds for the output files.
includeCost
booleanInclude task cost in the response.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object.inputs»mediamedia
array of objectsrequiredmin items: 1max items: 101 limitOrdered list of video, audio or image inputs. The position of each item is the FFmpeg input index that
settings.filterComplexandsettings.mapsreference.
Core Parameters
Primary parameters that define the task output.
outputFormat
stringdefault: MP4File format for the output file. Image formats return a single frame.
Allowed values12 values
model
stringrequiredvalue: runware:ffmpeg@0Identifier of the tool to run.
Learn more3 resources
Settings
Technical parameters to fine-tune the inference process. These must be nested inside the settings object.
settings object.settings»filterComplexfilterComplex
stringRaw FFmpeg
-filter_complexgraph. Inputs are referenced by their index ininputs.media.
settings»mapsmaps
array of stringsStreams written to the output file (
-map), as filter labels fromsettings.filterComplexorinput:streamspecifiers. FFmpeg selects the streams when omitted.
settings»outputOptionsoutputOptions
array of stringsRaw FFmpeg output options, one token per element.
-i,-attachand-progressare not accepted. Must produce a single file, so-ffollowed byhls,segment,dashorimage2is not accepted.