Skip to main content
Video models

Wan 3.0 Prime — Text to video API

Text to video with Wan 3.0 Prime: request parameters, examples and response handling.

← Wan 3.0 Prime

Endpoint: POST https://api.higgsfield.ai/alibaba/wan-3.0-prime/text-to-video

Endpoint ID: alibaba/wan-3.0-prime/text-to-video

▶Open API PlaygroundWan 3.0 Prime · Text to video↗

#Usage notes

  • This endpoint generates from text; use the separate image or reference endpoint for media inputs.
  • The schema accepts seed=0, but the current implementation only forwards a nonzero seed.

#Quick start

cURL
curl --request POST \
  --url https://api.higgsfield.ai/alibaba/wan-3.0-prime/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

seed integer

Seed used to control generation randomness. Minimum: 0. Maximum: 2147483647.

prompt string required

Write your prompt here

duration integer (default: 5)

2-30 seconds. Minimum: 2. Maximum: 30.

resolution string (default: 1080p)

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

aspect_ratio string (default: adaptive)

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

generate_audio boolean (default: true)

Generate audio with the video.

enable_thinking boolean (default: false)

Enable model reasoning.

Complete JSON schema
json
{
  "type": "object",
  "title": "Wan 3.0 Prime Text to Video",
  "required": [
    "prompt"
  ],
  "properties": {
    "seed": {
      "type": "integer",
      "title": "Seed",
      "maximum": 2147483647,
      "minimum": 0
    },
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "description": "Write your prompt here"
    },
    "duration": {
      "type": "integer",
      "title": "Duration (sec)",
      "default": 5,
      "maximum": 30,
      "minimum": 2,
      "description": "2-30 seconds."
    },
    "resolution": {
      "enum": [
        "480p",
        "720p",
        "1080p"
      ],
      "type": "string",
      "title": "Resolution",
      "default": "1080p"
    },
    "aspect_ratio": {
      "enum": [
        "16:9",
        "4:3",
        "1:1",
        "3:4",
        "9:16",
        "adaptive"
      ],
      "type": "string",
      "title": "Aspect Ratio",
      "default": "adaptive"
    },
    "generate_audio": {
      "type": "boolean",
      "title": "Sound",
      "default": true
    },
    "enable_thinking": {
      "type": "boolean",
      "title": "Deep Thinking",
      "default": 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