Skip to content

Vercel.AI.KlingAI

API reference

Public types in the Vercel.AI.KlingAI namespace.

Type Summary
KlingAIAuth Resolves the bearer token for KlingAI API requests. KlingAI accepts a single API key sent as a bearer token, or a legacy access key / secret key pair that signs a short-lived JWT.
KlingAIOptions KlingAI provider settings. Adds the legacy access key and secret key to OpenAICompatibleOptions.
KlingAIProvider KlingAI provider. It supports video generation only.
KlingAIServiceCollectionExtensions Registers KlingAI.
KlingAIVideoModel KlingAI video model. CancellationToken) creates a task and CancellationToken) reads it. The mode comes from the model id suffix: -t2v, -i2v or -motion-control. The operation is a JSON object with the taskId and the endpointPath.

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product