curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "wan2.7-t2v",
"prompt": "写实风格,一只黑色小猫好奇地看向天空,镜头从平视逐渐上升。",
"seconds": "5",
"size": "1080P"
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "pending",
"progress": 123,
"created_at": 123
}适用于 Wan 系列文生视频模型。当前项目已实现 Ali wan2.7-t2v。提交任务后,请通过 GET /v1/videos/{task_id} 查询状态。
公开字段:model、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": "wan2.7-t2v",
"prompt": "写实风格,一只黑色小猫好奇地看向天空,镜头从平视逐渐上升。",
"seconds": "5",
"size": "1080P"
}
'{
"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.
万相文生视频模型。当前项目已实现 wan2.7-t2v。
wan2.7-t2v 文本提示词,描述期望的视频内容。支持中英文,长度不超过 800 个字符。
视频生成时长(秒)的字符串形式。当前默认值为 "5"。
生成视频的分辨率档位。wan2.7-t2v 当前项目实现默认使用 1080P。可选值:720P、1080P。
720P, 1080P 是否开启提示词智能改写。当前项目会向上游透传该字段。
是否在视频中添加水印。
随机数种子,取值范围 [0, 2147483647]。
反向提示词,描述不希望在视频中看到的内容。长度不超过 500 个字符。