curl --request POST \ --url https://api.poyo.ai/api/generate/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "kling-2.1/standard", "callback_url": "https://your-domain.com/callback", "input": { "prompt": "a woman takes her hands out her pockets and gestures to the words with both hands, she is excited, behind her it is raining", "duration": 5, "start_image_url": "https://cdn.doculator.org/kling-2.1/start-image.png?v=20260310-2040" }}'
Kling 2.1 API 可将必填的首帧图片生成为 5 或 10 秒的动画。Pro 还可接受可选的尾帧。
POST
/
api
/
generate
/
submit
curl --request POST \ --url https://api.poyo.ai/api/generate/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "kling-2.1/standard", "callback_url": "https://your-domain.com/callback", "input": { "prompt": "a woman takes her hands out her pockets and gestures to the words with both hands, she is excited, behind her it is raining", "duration": 5, "start_image_url": "https://cdn.doculator.org/kling-2.1/start-image.png?v=20260310-2040" }}'