{
"model": "wan3.0-video",
"prompt": "一只橘猫在草地上奔跑,阳光明媚,电影质感",
"image": "https://example.com/first-frame.jpg",
"images": [
"https://example.com/first.jpg",
"https://example.com/last.jpg"
],
"input_reference": "http://example.com",
"size": "1920*1080",
"seconds": 5,
"metadata": {
"input": {
"media": [
{
"type": "first_frame",
"url": "http://example.com"
}
],
"audio_url": "http://example.com"
},
"parameters": {
"prompt_extend": true,
"watermark": true,
"seed": 0,
"ratio": "adaptive",
"resolution": "480P",
"size": "string",
"duration": 0
}
}
}curl --location 'https://api.naoshengyun.com/v1/videos' \
--header 'Authorization: Bearer sk-xxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan3.0-video",
"prompt": "一只橘猫在草地上奔跑,阳光明媚,电影质感",
"image": "https://example.com/first-frame.jpg",
"images": [
"https://example.com/first.jpg",
"https://example.com/last.jpg"
],
"input_reference": "http://example.com",
"size": "1920*1080",
"seconds": 5,
"metadata": {
"input": {
"media": [
{
"type": "first_frame",
"url": "http://example.com"
}
],
"audio_url": "http://example.com"
},
"parameters": {
"prompt_extend": true,
"watermark": true,
"seed": 0,
"ratio": "adaptive",
"resolution": "480P",
"size": "string",
"duration": 0
}
}
}'{
"id": "string",
"object": "video",
"model": "string",
"status": "queued",
"progress": 0,
"created_at": 0,
"completed_at": 0,
"task_id": "string"
}