curl -X POST "https://api.applerouter.ai/v1/video/generations" \ -H "Authorization: Bearer sk-your-api-key" \ -H "Content-Type: application/json" \ -d '{ "model": "kling-v1", "prompt": "An astronaut walking on the moon", "duration": 5, "width": 1280, "height": 720 }'
{ "task_id": "abcd1234efgh", "status": "queued" }
Create video generation tasks using OpenAI compatible format
kling-v1
sora-2
veo_3_1
GET /v1/video/generations/{task_id}
使用 Bearer Token 认证。格式: Authorization: Bearer sk-xxxxxx
支持 veo-3.1 系列模型(包括 -fast, -landscape 及 -fl 特价版)
"veo-3.1"
提示词
"让牛快乐的跳科目三"
时长
"8"
垫图
720x1280 竖屏 1280x720 横屏
"16x9"
"false"