Have videos processed by API
You create a job for each output. FlowData takes care of the processing and reports back when it is done.
-
Create a job
Name the pipeline, the source and the outputs you want. The answer comes at once with
202and an ID.curl -X POST "https://api.flowdata.one/v1/media/jobs" \ -H "Authorization: Bearer fd_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"pipeline":"ugc_video","input":{"url":"https://files.example.com/in.mov"},"outputs":{"clean":{"managed":true}}}' -
Follow the status
Poll
GET /v1/media/jobs/{id}or have the result delivered by webhook, which saves polling. -
Pick up the outputs
Once the job is
finished, every output carries adownload_url. Alternatively you can place outputs directly in your own storage withput_url.
Good to know
Billing is per started output minute, the tier follows the shorter side of the output. Failed outputs cost nothing. Finished files stay at FlowData for 7 days.