Skip to main content
Video models

Seedance 2.0 — Text to video API

Text to video with Seedance 2.0: request parameters, examples and response handling.

← Seedance 2.0

Endpoint: POST https://api.higgsfield.ai/bytedance/seedance-2.0/text-to-video

Endpoint ID: bytedance/seedance-2.0/text-to-video

▶Open API PlaygroundSeedance 2.0 · Text to video↗

#Usage notes

  • Use publicly accessible media URLs; asset:// references are rejected for these endpoints.
  • Provide a nonblank prompt. This endpoint does not use media inputs; use the image-to-video or reference-to-video endpoint instead.

#Quick start

cURL
curl --request POST \
  --url https://api.higgsfield.ai/bytedance/seedance-2.0/text-to-video \
  --header "Authorization: Key ${HF_API_KEY_ID}:${HF_API_KEY_SECRET}" \
  --header "Content-Type: application/json" \
  --header "Idempotency-Key: ${IDEMPOTENCY_KEY}" \
  --data '{
  "prompt": "A cinematic wide shot of ocean waves at sunset, with gentle camera movement."
}'

#Input schema

prompt string required

Write your prompt here Minimum characters: 1.

duration integer (default: 5)

Requested output duration in seconds. Minimum: 4. Maximum: 15.

resolution string (default: 720p)

Output resolution tier. Allowed values: "480p", "720p", "1080p", "4k".

aspect_ratio string (default: 16:9)

Output width-to-height ratio. Allowed values: "16:9", "4:3", "1:1", "3:4", "9:16", "21:9".

generate_audio boolean (default: true)

Generate audio with the video.

Complete JSON schema
json
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "description": "Write your prompt here"
    },
    "duration": {
      "type": "integer",
      "default": 5,
      "maximum": 15,
      "minimum": 4
    },
    "resolution": {
      "enum": [
        "480p",
        "720p",
        "1080p",
        "4k"
      ],
      "type": "string",
      "default": "720p"
    },
    "aspect_ratio": {
      "enum": [
        "16:9",
        "4:3",
        "1:1",
        "3:4",
        "9:16",
        "21:9"
      ],
      "type": "string",
      "default": "16:9"
    },
    "generate_audio": {
      "type": "boolean",
      "default": true
    }
  },
  "additionalProperties": false
}

#Response

Submission returns a request handle. Poll status_url until status is completed, or use webhooks.

Accepted
{
  "status": "queued",
  "request_id": "REQUEST_ID",
  "status_url": "https://api.higgsfield.ai/requests/REQUEST_ID/status",
  "cancel_url": "https://api.higgsfield.ai/requests/REQUEST_ID/cancel"
}

A completed response includes the following output fields:

json
{
  "status": "completed",
  "request_id": "REQUEST_ID",
  "video": {
    "url": "https://example.com/output.mp4"
  }
}

See idempotent requests, polling, request errors and authentication for shared request handling.

Was this page helpful?
Navigation