curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "first-frame-video-model",
"image": "https://example.com/first-frame.jpg",
"prompt": "写实风格,一只黑色小猫好奇地看向天空,镜头从平视逐渐上升,最后俯拍它的好奇的眼神。",
"seconds": "5",
"size": "720P",
"prompt_extend": true
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "pending",
"progress": 123,
"created_at": 123
}Wan 首帧图生视频的兼容视图文档,保留 /v1/videos 的历史单图输入形态。
公开字段:model、image、prompt、seconds、size、prompt_extend、watermark、seed、negative_prompt。如需查看渠道最新能力,请使用独立能力文档。
curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "first-frame-video-model",
"image": "https://example.com/first-frame.jpg",
"prompt": "写实风格,一只黑色小猫好奇地看向天空,镜头从平视逐渐上升,最后俯拍它的好奇的眼神。",
"seconds": "5",
"size": "720P",
"prompt_extend": true
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "pending",
"progress": 123,
"created_at": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
首帧图生视频兼容视图中的模型标识。
首帧图像 URL。支持 HTTP/HTTPS 公网可访问地址。
文本提示词,描述期望的视频内容。支持中英文,长度不超过 800 个字符。
视频生成时长(秒)的字符串形式。当前固定为 "5"。
兼容视图支持的分辨率档位。可选值:480P、720P、1080P。
480P, 720P, 1080P 是否开启提示词智能改写。开启后会自动优化输入提示词。
是否在视频中添加水印。
随机数种子,取值范围 [0, 2147483647]。
反向提示词,描述不希望在视频中看到的内容。长度不超过 500 个字符。