create video by text or image or reference image
curl --request POST \
--url https://pollo.ai/api/platform/generation/kling-ai/kling-v2 \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"input": {
"image": "<string>",
"prompt": "<string>",
"negativePrompt": "<string>",
"strength": 50,
"length": 5
},
"webhookUrl": "<string>",
"clientSource": "<string>"
}
'{
"taskId": "<string>"
}Kling AI
Kling 2.0 API Documentation
Kling 2.0 is the latest Kling AI model that delivers filmic-quality, realistic motion videos at high resolution with smooth camera work and enhanced prompt adherence. Learn how to integrate it here.
POST
/
generation
/
kling-ai
/
kling-v2
create video by text or image or reference image
curl --request POST \
--url https://pollo.ai/api/platform/generation/kling-ai/kling-v2 \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"input": {
"image": "<string>",
"prompt": "<string>",
"negativePrompt": "<string>",
"strength": 50,
"length": 5
},
"webhookUrl": "<string>",
"clientSource": "<string>"
}
'{
"taskId": "<string>"
}Check out Kling 2.0 API pricing here, cheaper than Fal AI.
Authorizations
API key to authorize requests
Body
application/json
⌘I