curl --request POST \
--url https://api.novita.ai/v3/async/wan-2.5-i2v-preview \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"input": {
"prompt": "<string>",
"negative_prompt": "<string>",
"img_url": "<string>",
"audio_url": "<string>"
},
"parameters": {
"resolution": "<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-i2v-preview \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"input": {
"prompt": "<string>",
"negative_prompt": "<string>",
"img_url": "<string>",
"audio_url": "<string>"
},
"parameters": {
"resolution": "<string>",
"duration": 123,
"prompt_extend": true,
"audio": true,
"seed": 123
}
}
'{
"task_id": "<string>"
}application/jsonHide properties
Hide properties
480P, 720P, 1080P. Default value: 1080P.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.Example value: 12345.Was this page helpful?