ModelsTutorial

Video generation

Generate short video clips from a prompt.

By the end: You can submit a video job and collect the result.

Video generation is asynchronous: submit a job, then poll for the result.

Submit

curl https://www.ary4n73.com/v1/videos/generations \
  -H "Authorization: Bearer $ROUTEFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"seedance-2.0","prompt":"waves at sunset, slow pan","duration":5}'

The response contains a job identifier. Poll the status endpoint until it reports completion, then download the result from the returned URL.

Video jobs are billed when they complete. Cancelling before completion stops the charge.