curl --request POST \
--url https://api.ttapi.io/wan/api/v1/services/aigc/video-generation/video-synthesis \
--header 'Content-Type: application/json' \
--header 'TT-API-KEY: <api-key>' \
--data '
{
"model": "wan3.0-video",
"input": {
"prompt": "一幅宁静的风景画,微风吹拂着草地",
"media_list": [
{
"type": "reference_image",
"url": "https://example.com/reference-image.jpg"
},
{
"type": "reference_video",
"url": "https://example.com/reference-video.mp4"
},
{
"type": "reference_audio",
"url": "https://example.com/audio.mp3"
},
{
"type": "link",
"url": "https://example.com/article"
},
{
"type": "file",
"url": "https://example.com/document.pdf"
}
]
},
"parameters": {
"resolution": "720P",
"duration": 5
}
}
'{
"output": {
"task_status": "PENDING",
"task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
},
"request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}Wan 3.0
参考生视频
创建参考生视频任务
POST
/
wan
/
api
/
v1
/
services
/
aigc
/
video-generation
/
video-synthesis
curl --request POST \
--url https://api.ttapi.io/wan/api/v1/services/aigc/video-generation/video-synthesis \
--header 'Content-Type: application/json' \
--header 'TT-API-KEY: <api-key>' \
--data '
{
"model": "wan3.0-video",
"input": {
"prompt": "一幅宁静的风景画,微风吹拂着草地",
"media_list": [
{
"type": "reference_image",
"url": "https://example.com/reference-image.jpg"
},
{
"type": "reference_video",
"url": "https://example.com/reference-video.mp4"
},
{
"type": "reference_audio",
"url": "https://example.com/audio.mp3"
},
{
"type": "link",
"url": "https://example.com/article"
},
{
"type": "file",
"url": "https://example.com/document.pdf"
}
]
},
"parameters": {
"resolution": "720P",
"duration": 5
}
}
'{
"output": {
"task_status": "PENDING",
"task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
},
"request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}这是 Wan 3.0 视频生成 API 的参考生视频接口。通过
reference_image、reference_video、reference_audio 等类型传入参考素材,结合 prompt 生成视频。请求体
application/json
最后修改于 2026年8月25日