create video by text or image or reference image
curl --request POST \
--url https://pollo.ai/api/platform/generation/kling-ai/kling-v2-1 \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"input": {
"image": "<string>",
"imageTail": "<string>",
"prompt": "<string>",
"negativePrompt": "<string>",
"strength": 50,
"length": 5,
"mode": "std"
},
"webhookUrl": "<string>",
"clientSource": "<string>"
}
'{
"taskId": "<string>"
}Kling AI
Kling 2.1 API Documentation
Kling 2.1 is an upgraded AI video model with smoother motion, better prompt accuracy, improved character realism, and enhanced visuals for more cinematic results. Learn how to integrate it here.
POST
/
generation
/
kling-ai
/
kling-v2-1
create video by text or image or reference image
curl --request POST \
--url https://pollo.ai/api/platform/generation/kling-ai/kling-v2-1 \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"input": {
"image": "<string>",
"imageTail": "<string>",
"prompt": "<string>",
"negativePrompt": "<string>",
"strength": 50,
"length": 5,
"mode": "std"
},
"webhookUrl": "<string>",
"clientSource": "<string>"
}
'{
"taskId": "<string>"
}Check out Kling 2.1 API pricing here, cheaper than Fal AI.
Authorizations
API key to authorize requests
Body
application/json
⌘I