Skip to content

生成视频

概览

认证

  • Header: Authorization: Bearer <token>

请求参数

  • Header: Authorization: Bearer <token>
  • Body 类型: application/json
{
    "model": "wan2.5-i2v-preview",
    "input": {
        "prompt": "改变一下光线",
        "img_url": "https://brainrot-yt-shorts.oss-cn-beijing.aliyuncs.com/images/cached/55a955b7e41723417281051d7bebdb45.png"
    },
    "parameters": {
        "resolution": "480P",
        "prompt_extend": true,
        // "duration": 5,
        "audio": true
    }
}

请求示例

curl --location --request POST 'https://api.winfull.cloud-ip.cc/alibailian/api/v1/services/aigc/video-generation/video-synthesis' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "wan2.5-i2v-preview",
    "input": {
        "prompt": "改变一下光线",
        "img_url": "https://brainrot-yt-shorts.oss-cn-beijing.aliyuncs.com/images/cached/55a955b7e41723417281051d7bebdb45.png"
    },
    "parameters": {
        "resolution": "480P",
        "prompt_extend": true,
        // "duration": 5,
        "audio": true
    }
}'

返回示例

🟢200成功 示例

{
    "request_id": "ccffb21f-c21e-4eba-861a-6c80e6db6e4d",
    "output": {
        "task_id": "a55bfe14-6e78-4b9d-b97d-128420399ed1",
        "task_status": "PENDING"
    }
}

最后更新:2025-10-11 11:12:10

🚀 伝富AI-API文档 - 强大的AI接口平台