Skip to content

KlingAIOptions

Namespace: Vercel.AI.KlingAI

public sealed class KlingAIOptions : OpenAICompatibleOptions

KlingAI provider settings. Adds the legacy access key and secret key to OpenAICompatibleOptions.

Inheritance: object → OpenAICompatibleOptions

View source

public string? AccessKey { get; set; }

Legacy access key. Defaults to the KLINGAI_ACCESS_KEY environment variable. Used with SecretKey to sign a short-lived JWT. Prefer ApiKey.

Value: string

View source

public string? SecretKey { get; set; }

Legacy secret key. Defaults to the KLINGAI_SECRET_KEY environment variable. Used with AccessKey to sign a short-lived JWT. Prefer ApiKey.

Value: string

View source

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