curl --request POST \
--url https://api.ppinfra.com/v3/async/wan-2.2-t2v \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"input": {
"prompt": "<string>",
"negative_prompt": "<string>"
},
"parameters": {
"size": "<string>",
"prompt_extend": true,
"seed": 123,
"watermark": true
}
}
'{
"task_id": "<string>"
}curl --request POST \
--url https://api.ppinfra.com/v3/async/wan-2.2-t2v \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"input": {
"prompt": "<string>",
"negative_prompt": "<string>"
},
"parameters": {
"size": "<string>",
"prompt_extend": true,
"seed": 123,
"watermark": true
}
}
'{
"task_id": "<string>"
}application/json隐藏 properties
832*480:16:9。480*832:9:16。624*624:1:1。1920*1080: 16:9。1080*1920: 9:16。1440*1440: 1:1。1632*1248: 4:3。1248*1632: 3:4。1280*720),而不是宽高比(如 1:1)或分辨率档位名称(如 480P 或 720P)。true:默认值,开启智能改写。false:不开启智能改写。[0, 2147483647]。如果不提供,则算法自动生成一个随机数作为种子。如果希望生成内容保持相对稳定,可以使用相同的seed参数值。false:默认值,不添加水印。true:添加水印。