Video Generation
textimage
logo

Kling 2.5 Turbo

Kling 2.5 Turbo

Kling 2.5 Turbo video generation, supporting text-to-video and first-frame or first+last-frame image-to-video.

输入

生成方式

仅使用文本描述生成视频,无需上传图片。

参考图(可选)

支持 PNG、JPG、WebP · 可将文件拖到此区域

支持 PNG、JPG、WebP · 可将文件拖到此区域
Duration
Aspect_ratio
Mode
准备开始生成准备开始生成

API 参考

POSThttps://api.token360.ai/v1/videos
# Step 1: Create video generation task
curl https://api.token360.ai/v1/videos \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-api-key" \
  -d '{
  "model": "kling-2.5-turbo",
  "prompt": "A cinematic cat sprinting through a neon alley at night",
  "duration": 5,
  "aspect_ratio": "16:9",
  "mode": "std"
}'

# Step 2: Poll for completion (replace VIDEO_ID with the id from step 1)
curl https://api.token360.ai/v1/videos/VIDEO_ID \
  -H "Authorization: Bearer your-api-key"

API 文档

Overview#

Kling 2.5 Turbo supports text-to-video, first-frame image-to-video, and first+last-frame image-to-video. Generic reference-image mode is not supported.

Text to video request#

curl -X POST https://api.token360.ai/v1/videos \ -H "Content-Type: application/json" \ -H "Authorization: Bearer your-api-key" \ -d '{ "model": "kling-2.5-turbo", "prompt": "A cinematic cat sprinting through a neon alley at night", "duration": 5, "aspect_ratio": "16:9", "mode": "std" }'

Image to video request#

curl -X POST https://api.token360.ai/v1/videos \ -H "Content-Type: application/json" \ -H "Authorization: Bearer your-api-key" \ -d '{ "model": "kling-2.5-turbo", "prompt": "The astronaut turns toward camera and smiles", "duration": 5, "aspect_ratio": "16:9", "mode": "std", "frame_images": [ {"type": "image_url", "frame_type": "first_frame", "image_url": {"url": "https://example.com/first-frame.png"}} ] }'

Poll task status#

curl https://api.token360.ai/v1/videos/VIDEO_ID \ -H "Authorization: Bearer your-api-key"