Skip to main content
GET
/
v1
/
videos
/
{task_id}
/
content
Get Seedance video content
curl --request GET \
  --url https://api.getinfinityblue.com/v1/videos/{task_id}/content \
  --header 'Authorization: Bearer <token>'
"<string>"

When to use this endpoint

Use it when you need to proxy the video download through your own server, or when direct access to the CDN URL in metadata.url is not practical (e.g. server-side downloads, signed delivery pipelines).

Prerequisites

  • Task status must be completed
  • Task must not be expired (check expires_at)

Response format

On success the response body is a raw video/mp4 byte stream with HTTP status 200. Write the response body directly to a file or stream it to your end user.

Alternative

If you only need a link, read metadata.url from the GET /v1/videos/{task_id} response — no need to download through this endpoint.

Authorizations

Authorization
string
header
required

Bearer token authentication, format: Authorization: Bearer sk-xxxxxx. Get your API key in the console.

Path Parameters

task_id
string
required

Video task ID — the id field returned by the create endpoint.

Response

Video content retrieved successfully — raw MP4 byte stream

Raw bytes of the MP4 video file.