new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

klingai/setup

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Kling AI provider module name

The Kling AI provider is available in the @ai-sdk/klingai module.

Kling AI provider default instance import

The default provider instance klingai can be imported from @ai-sdk/klingai.

Kling AI create custom provider instance

A customized Kling AI provider instance can be created by importing createKlingAI from @ai-sdk/klingai and calling it with settings like apiKey.

Kling AI authentication resolution order

Kling AI credentials are resolved in this order: 1) apiKey setting, 2) accessKey and secretKey settings, 3) KLINGAI_API_KEY environment variable, 4) KLINGAI_ACCESS_KEY and KLINGAI_SECRET_KEY environment variables. Explicit settings take precedence over environment variables.

Kling AI authentication methods

Kling AI supports two authentication schemes: API key (recommended, sent as bearer token, create in Kling AI developer console and set as KLINGAI_API_KEY or pass via apiKey setting) and Access key/secret key pair (legacy, used to sign a short-lived JWT for each request, set KLINGAI_ACCESS_KEY and KLINGAI_SECRET_KEY or pass accessKey and secretKey settings).

Give your agent this brain