curl --request POST \
--url https://api.novita.ai/v3/async/wan-2.5-t2v-preview \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"input": {
"prompt": "<string>",
"negative_prompt": "<string>",
"audio_url": "<string>"
},
"parameters": {
"size": "<string>",
"duration": 123,
"prompt_extend": true,
"audio": true,
"seed": 123
}
}
'{
"task_id": "<string>"
}curl --request POST \
--url https://api.novita.ai/v3/async/wan-2.5-t2v-preview \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"input": {
"prompt": "<string>",
"negative_prompt": "<string>",
"audio_url": "<string>"
},
"parameters": {
"size": "<string>",
"duration": 123,
"prompt_extend": true,
"audio": true,
"seed": 123
}
}
'{
"task_id": "<string>"
}application/jsonHide properties
Hide properties
1920*1080 (1080P).
Used to specify the video resolution in the format of width*height. The supported resolutions for different models are as follows:480P tier: Available video resolutions and their corresponding aspect ratios are:832*480: 16:9.480*832: 9:16.624*624: 1:1.1280*720: 16:9.720*1280: 9:16.960*960: 1:1.1088*832: 4:3.832*1088: 3:4.1920*1080: 16:9.1080*1920: 9:16.1440*1440: 1:1.1632*1248: 4:3.1248*1632: 3:4.1280*720), not the aspect ratio (e.g., 1:1) or resolution tier name (e.g., 480P or 720P).5 or 10 seconds.Default value: 5.true: Default value, enable intelligent rewriting.false: Do not enable intelligent rewriting.true: Default value, automatically add audio to the video.false: Do not add audio, output silent video.[0, 2147483647].If not provided, the algorithm automatically generates a random number as the seed. To maintain relatively stable generated content, you can use the same seed parameter value.Was this page helpful?