video
from0.0375 / s
Wan 3.0
Generates videos from text or images with native audio and adjustable duration up to 30 seconds.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "alibaba/wan-3.0/text-to-video", { input: { "prompt": "A cinematic scene at sunset", "duration": 5, "resolution": "1080p", "aspect_ratio": "adaptive", "generate_audio": true, "enable_thinking": false }, withPolling: true, },); console.log(result);Calling the API
Use alibaba/wan-3.0/text-to-video with the Higgsfield API. Keep credentials on your server.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "alibaba/wan-3.0/text-to-video", { input: { "prompt": "A cinematic scene at sunset", "duration": 5, "resolution": "1080p", "aspect_ratio": "adaptive", "generate_audio": true, "enable_thinking": false }, withPolling: true, },); console.log(result);Request parameters
promptstring · required
Write your prompt here
{
"type": "string",
"title": "Prompt",
"description": "Write your prompt here"
}seedinteger · optional
Seed
{
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"minimum": 0
}durationinteger · optional
2-30 seconds.
Default: 5
{
"type": "integer",
"title": "Duration (sec)",
"default": 5,
"maximum": 30,
"minimum": 2,
"description": "2-30 seconds."
}resolutionstring · optional
Resolution
Options: 480p, 720p, 1080p
Default: "1080p"
{
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"title": "Resolution",
"default": "1080p"
}aspect_ratiostring · optional
Aspect Ratio
Options: 16:9, 4:3, 1:1, 3:4, 9:16, adaptive
Default: "adaptive"
{
"enum": [
"16:9",
"4:3",
"1:1",
"3:4",
"9:16",
"adaptive"
],
"type": "string",
"title": "Aspect Ratio",
"default": "adaptive"
}generate_audioboolean · optional
Sound
Default: true
{
"type": "boolean",
"title": "Sound",
"default": true
}enable_thinkingboolean · optional
Deep Thinking
Default: false
{
"type": "boolean",
"title": "Deep Thinking",
"default": false
}Price
Standard self-serve rates in USD per video second: 480p: $0.0375; 720p: $0.0750; 1080p: $0.1500. Total price = selected rate × output duration in seconds.
View all pricing