English

Video API

Submit a video job and download the finished video.

Video API

Quote a video

curl "https://api.apimodel.store/v1/video/quotes" \
  -H "Authorization: Bearer $MODELPORT_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"seedance-2.0-fast","prompt":"A low camera moves along a misty river.","duration":5,"resolution":"720p","aspect_ratio":"16:9"}'

Submit a video

curl "https://api.apimodel.store/v1/video/generations" \
  -H "Authorization: Bearer $MODELPORT_API_KEY" \
  -H "Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"seedance-2.0-fast","prompt":"A low camera moves along a misty river.","duration":5,"resolution":"720p","aspect_ratio":"16:9"}'

Poll the video task

curl "https://api.apimodel.store/v1/video/generations?task_id=$MODELPORT_JOB_ID" \
  -H "Authorization: Bearer $MODELPORT_API_KEY"

Set the job ID from data.taskId. After success, read data.resultUrls. Use the same inputs for quoting and submitting. A quote places no hold.

Use file IDs and roles from the model guide, or pass ModelPort upload links in images: ["URL"] and video_list: [{"url":"URL"}]. To use a specific clip, trim it before upload.

Upload a reference file