video
from0.0752 / s
Wan 2.6
Generates multi-shot videos from text or images with native sound and optional video references.
import { config, higgsfield } from "@higgsfield/client/v2"; config({ credentials: process.env.HF_CREDENTIALS,}); const result = await higgsfield.subscribe( "wan/v2.6/text-to-video", { input: { "prompt": "A cinematic scene at sunset", "duration": 5, "resolution": "720p", "multi_shots": false, "prompt_extend": false }, withPolling: true, },); console.log(result);Calling the API
Use wan/v2.6/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( "wan/v2.6/text-to-video", { input: { "prompt": "A cinematic scene at sunset", "duration": 5, "resolution": "720p", "multi_shots": false, "prompt_extend": false }, withPolling: true, },); console.log(result);Request parameters
promptstring · required
Write your prompt here
{
"type": "string",
"title": "Prompt",
"description": "Write your prompt here"
}durationinteger · optional
Duration
Options: 5, 10, 15
Default: 5
{
"enum": [
5,
10,
15
],
"type": "integer",
"title": "Duration",
"default": 5
}resolutionstring · optional
resolution
Options: 720p, 1080p
Default: "720p"
{
"enum": [
"720p",
"1080p"
],
"type": "string",
"default": "720p"
}seedinteger · optional
seed
{
"type": "integer",
"maximum": 10000000,
"minimum": -1
}audio_urlstring · optional
Audio URL
{
"type": "string",
"title": "Audio URL",
"format": "uri"
}multi_shotsboolean · optional
multi shots
Default: false
{
"type": "boolean",
"default": false
}prompt_extendboolean · optional
prompt extend
Default: false
{
"type": "boolean",
"default": false
}Price
Standard self-serve rates in USD per video second: 720p: $0.0752; 1080p: $0.1129. Total price = selected rate × output duration in seconds.
View all pricing