Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kling AI Account API

Resource-pack balance and consumption.

Kling AI Account API is one of 8 APIs that Kling AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Account. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.klingai.com.

1 operations 1 paths 1 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.klingai.com/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Kling AI Account API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — A JWT signed with HS256 from your Access Key (as the iss claim) and Secret Key, passed as Authorization: Bearer . Tokens are short-lived (about 30 minutes; nbf…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Account 1

Resource-pack balance and consumption.

GET
/account/costs
Query resource-pack balances
getAccountResourcePacks 2 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is AccountCostsResponse (3 properties). Each schema is shown below with its type and property counts.

AccountCostsResponse
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kling-ai-account-api-openapi.yml Raw ↑

Other APIs Kling AI publishes across the network.

Kling AI Image Generation API
Kling AI Image-to-Video API
Kling AI Lip-Sync API
Kling AI Text-to-Video API
Kling AI Video Effects API
Kling AI Video Extension API
Kling AI Virtual Try-On API