API Reference
High-level summary of endpoints. See detailed pages for usage. You can also use the OpenAPI spec for more details.
FFmpeg
- POST
/ffmpeg/process
— process an FFmpeg task usingfile_path
inputs- Request:
{ task: { inputs[], outputs[], filter_complex? } }
- Response:
{ ok, result[], usage }
- Request:
- POST
/ffmpeg/run
— deprecated; use/ffmpeg/process
instead
Files
- POST
/file
— register a file and get presigned PUT URL- Request:
{ file_name, dir_id? }
- Response:
{ ok, file { dir_id, file_name, file_path, added_on }, upload { url, method, headers?, expiresInSeconds } }
- Request:
Directories
- POST
/directory
— create a temporary working directory (optional)- Request:
{ ttl? }
- Response:
{ ok, directory { id, ttl } }
- Request:
- GET
/directory
— list your directories- Response:
{ ok, directories[] }
- Response:
- GET
/directory/{dirId}
— list files in your directory- Response:
{ ok, files[] }
- Response:
Auth
All endpoints require Authorization: Basic <API_KEY>
. See Authentication.
Errors
Error responses follow { ok: false, error: string }
with status-specific messages. See Processing for common errors.