Skip to main content
POST
Kling
Authenticate with a Darwin API key carrying tools:execute. Supply an Idempotency-Key of 1 to 200 characters, and reuse it only when retrying the exact same request. Keys without access return 403 API_UNAVAILABLE before request validation. Send instructions describing the outcome you need and optional input context. See the response codes for validation and availability errors.

Authorizations

x-api-key
string
header
required

Headers

Idempotency-Key
string
required

Reuse the same key only for an identical request.

Required string length: 1 - 200

Body

application/json
instructions
string
required

Describe the requested outcome.

Required string length: 1 - 4000
input
object

Optional task context. Provider-specific fields are not available yet.

Response

Invalid instructions, input context, or Idempotency-Key.

code
string
message
string
supportEmail
string
Last modified on November 2, 2026