Kling AI API

Kling AI (可灵) is Kuaishou Technology's generative video and image platform, launched in June 2024 and, by the company's own account, responsible for over 600 million generated videos and 30,000+ enterprise customers. It exposes an asynchronous REST API for text-to-video, image-to-video, text-to-image, image editing, motion control and virtual try-on, served from api-singapore.klingai.com globally and api-beijing.klingai.com in China, authenticated with a self-signed JWT built from an Access Key ID and Secret. Callers select a generation model by API ID (kling-v3, kling-v3-omni, kling-video-o1, kling-v2-6 and earlier), submit a task, then poll by generationId. Kuaishou also runs a hosted MCP server for the same capability set at https://kling.ai/mcp, gated by an OAuth 2.1-style authorization-code flow with PKCE and dynamic client registration, and ships an official CLI (@klingai/cli-global) that is a thin client over it. Kling AI is the only Kuaishou property that publishes an llms.txt, RFC 9728 protected-resource metadata and RFC 8414 authorization-server metadata.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kling-ai"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: kuaishou:kling-ai
name: Kling AI API
description: Kling AI (可灵) is Kuaishou Technology's generative video and image platform, launched in June
  2024 and, by the company's own account, responsible for over 600 million generated videos and 30,000+
  enterprise customers. It exposes an asynchronous REST API for text-to-video, image-to-video, text-to-image,
  image editing, motion control and virtual try-on, served from api-singapore.klingai.com globally and
  api-beijing.klingai.com in China, authenticated with a self-signed JWT built from an Access Key ID and
  Secret. Callers select a generation model by API ID (kling-v3, kling-v3-omni, kling-video-o1, kling-v2-6
  and earlier), submit a task, then poll by generationId. Kuaishou also runs a hosted MCP server for the
  same capability set at https://kling.ai/mcp, gated by an OAuth 2.1-style authorization-code flow with
  PKCE and dynamic client registration, and ships an official CLI (@klingai/cli-global) that is a thin
  client over it. Kling AI is the only Kuaishou property that publishes an llms.txt, RFC 9728 protected-resource
  metadata and RFC 8414 authorization-server metadata.
humanURL: https://kling.ai/dev
baseURL: https://api-singapore.klingai.com
tags:
- Artificial Intelligence
- Generative AI
- Video
- Image
- Machine-Learning
- MCP
tags_raw:
- AI
- Generative AI
- Video
- Image
- Machine Learning
- MCP
properties:
- type: DeveloperPortal
  url: https://kling.ai/dev
- type: Documentation
  url: https://kling.ai/document-api
- type: Pricing
  url: https://kling.ai/dev/pricing
- type: ChangeLog
  url: https://kling.ai/release-note/release-history
- type: MCPServer
  url: mcp/kuaishou-kling-mcp.yml
- type: OAuthScopes
  url: scopes/kuaishou-scopes.yml
- type: LLMsTxt
  url: llms/kuaishou-kling-llms.txt
- type: Authentication
  url: authentication/kuaishou-authentication.yml
- type: ErrorCatalog
  url: errors/kuaishou-error-codes.yml
- type: Conventions
  url: conventions/kuaishou-conventions.yml
- type: AgentSkill
  url: skills/kuaishou-kling-generate-and-poll.md