Kling AI Virtual Try-On API
Composite a garment onto a person image.
Kling AI Virtual Try-On 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 Virtual Try-On. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.
Requests are made against a single base URL, https://api.klingai.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Kling AI Virtual Try-On 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 2
Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
Composite a garment onto a person image.
Schemas 3
The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are VirtualTryOnRequest (4 properties), TaskCreatedResponse (4 properties), ImageTaskResponse (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Kling AI 7
Other APIs Kling AI publishes across the network.