Skip to content

Conversation

@benyebai
Copy link
Contributor

@benyebai benyebai commented Jan 29, 2026

Background

Users don't have clear guidance on how to use FAL's Kling motion control models with the AI SDK.

Summary

  • Added Kling model IDs to FalVideoModelId type
  • Added JSDoc comments to FalVideoCallOptions for Kling-specific params
  • Added two example files showing how to use Kling motion control:
    • fal-kling-motion.ts - using URLs
    • fal-kling-motion-local.ts - uploading local files via @fal-ai/client

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)
*/

import { fal } from '@ai-sdk/fal';
import { fal as falClient } from '@fal-ai/client';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The @fal-ai/client package is imported but not listed in package.json dependencies, causing module not found errors.

Fix on Vercel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants