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 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.

2 operations 2 paths 3 schemas 1 GET1 POST

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 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.

Virtual Try-On 2

Composite a garment onto a person image.

POST
/v1/images/kolors-virtual-try-on
Create a virtual try-on task
createVirtualTryOnTask body → 200
GET
/v1/images/kolors-virtual-try-on/{task_id}
Query a virtual try-on task
getVirtualTryOnTask 1 param → 200

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.

ImageTaskResponse
object
4 properties
TaskCreatedResponse
object
4 properties
VirtualTryOnRequest
object
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kling-ai-virtual-try-on-api-openapi.yml Raw ↑

Other APIs Kling AI publishes across the network.

Kling AI Account API
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