Skip to content

API Reference

Interface Overview

InterfaceMethodDescription
/v1/chat/completionsPOSTCreate chat completion
/v1/modelsGETGet model list
/v1/usageGETGet usage statistics

Data Models

Message Object

json
{
  "role": "user|assistant|system|tool",
  "content": "Message content",
  "name": "Sender name",
  "tool_calls": [...],
  "tool_call_id": "tool_call_id"
}

Choice Object

json
{
  "index": 0,
  "message": {...},
  "finish_reason": "stop|length|tool_calls|content_filter"
}

Usage Object

json
{
  "prompt_tokens": 100,
  "completion_tokens": 50,
  "total_tokens": 150
}

Kling Video Models

Supported Models

Model IDDescriptionRecommended Endpoint
kling-v1Kling V1.0 Basetext2video / image2video
kling-v1-5Kling V1.5text2video / image2video
kling-v1-6Kling V1.6text2video / image2video
kling-v2-1Kling V2.1text2video / image2video
kling-v2-5-turboKling V2.5 Turbotext2video / image2video
kling-v2-6Kling V2.6text2video / image2video
kling-video-o1Kling Omni V1omni-video
kling-v3Kling V3.0 Text/Image to Videotext2video / image2video
kling-v3-omniKling V3.0 Omni Video (Latest)omni-video
kling-v2-1-masterKling V2.1 Mastertext2video / image2video
kling-v2-masterKling V2 Mastertext2video / image2video

Kling V3 New Features

kling-v3-omni provides the following new capabilities via the Omni Video endpoint:

  • Extended Duration: 3-15 seconds (O1 supports 3-10 seconds)
  • Multi-shot Narrative: Generate multiple consecutive shots in a single request
  • Video Editing: Edit existing videos with text instructions via refer_type: "base"
  • Native Audio: Generate synchronized audio (with multilingual lip sync)

企业合作联系:service@ezmodel.cloud