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/capabilities

8 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 video generation modes supported

The Kling AI provider supports four video generation modes: text-to-video, image-to-video, reference-to-video (multi-image), and motion control.

Text-to-video example with Kling AI

const { videos } = await generateVideo({ model: klingai.video('kling-v2.6-t2v'), prompt: 'A chicken flying into the sunset in the style of 90s anime.', aspectRatio: '16:9', duration: 5, providerOptions: { klingai: { mode: 'std', } satisfies KlingAIVideoModelOptions, }, });

Image-to-video example with Kling AI

const { videos } = await generateVideo({ model: klingai.video('kling-v2.6-i2v'), prompt: { image: 'https://example.com/start-frame.png', text: 'The cat slowly turns its head and blinks', }, duration: 5, providerOptions: { klingai: { mode: 'pro', imageTail: 'https://example.com/end-frame.png', } satisfies KlingAIVideoModelOptions, }, });

Multi-shot video generation example with Kling AI

const { videos } = await generateVideo({ model: klingai.video('kling-v3.0-t2v'), prompt: '', aspectRatio: '16:9', duration: 10, providerOptions: { klingai: { mode: 'pro', multiShot: true, shotType: 'customize', multiPrompt: [ { index: 1, prompt: 'A sunrise over a calm ocean, warm golden light.', duration: '4', }, { index: 2, prompt: 'A flock of seagulls take flight from the beach.', duration: '3', }, { index: 3, prompt: 'Waves crash against rocky cliffs at sunset.', duration: '3', }, ], sound: 'on', } satisfies KlingAIVideoModelOptions, }, });

Reference-to-video example with Kling AI

const { videos } = await generateVideo({ model: klingai.video('kling-v1.6-i2v'), prompt: 'The two characters meet and walk together through a sunny park', inputReferences: [ 'https://example.com/character-1.png', 'https://example.com/character-2.png', ], aspectRatio: '16:9', duration: 5, providerOptions: { klingai: { mode: 'std', } satisfies KlingAIVideoModelOptions, }, });

Motion control example with Kling AI

const { videos } = await generateVideo({ model: klingai.video('kling-v3.0-motion-control'), prompt: { image: 'https://example.com/character.png', text: 'The character performs a smooth dance move', }, providerOptions: { klingai: { videoUrl: 'https://example.com/reference-motion.mp4', characterOrientation: 'image', mode: 'std', elementList: [{ element_id: 829836802793406551 }], } satisfies KlingAIVideoModelOptions, }, });

Kling AI video generation is asynchronous

Video generation with Kling AI is an asynchronous process that can take several minutes. Consider setting pollTimeoutMs to at least 10 minutes (600000ms) for reliable operation.

Kling AI capability map reference

Not all options are supported by every Kling AI model version and mode combination. The KlingAI Capability Map at https://app.klingai.com/global/dev/document-api/apiReference/model/skillsMap shows detailed compatibility across models.

Give your agent this brain