Bring Generative Video
to Mastra AI
Create your Vinkius account to connect Kling AI (Generative Video & Image) to Mastra AI and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Kling AI (Generative Video & Image) MCP Server?
Connect your Kling AI account to any AI agent and take full control of state-of-the-art generative video and creative media production through natural conversation.
What you can do
- Text-to-Video — Generate cinematic, high-fidelity AI videos from scenic descriptions using the Kling V3 engine directly from your agent
- Image Animation — Transform static frames into dynamic videos (image-to-video) with precise control over motion trajectories and dynamics
- AI Virtual Try-On — Map digital garments naturally onto human models using Kolors AI to visualize fashion assets in real-world contexts
- Lip-Sync Video — Synchronize speech and mouth movements to video portraits using audio files for professional AI-driven avatars
- High-Quality Text-to-Image — Generate up to 4 high-fidelity images simultaneously using the Kolors architecture for rapid visual iteration
- Task Orchestration — Manage asynchronous generation jobs, poll for status updates, and retrieve final MP4 and image URLs securely
How it works
- Subscribe to this server
- Enter your Kling Access Key and Secret Key
- Start generating cinematic media from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Video Editors & Creators — generate B-roll and cinematic sequences through natural conversation without manual rendering software
- Creative Directors — iterate on visual concepts and storyboards rapidly by commanding your agent to generate varied image and video styles
- E-commerce Teams — use AI virtual try-on to visualize new garment collections on different human models efficiently
Built-in capabilities (10)
When status is succeed, returns the generated image URLs. Check the processing status of a Kling image task
Retrieve the final MP4 when succeed. Check the status of an AI Lip-Sync task
Once succeeded, retrieves the final composited image URL. Check the status of an AI Virtual Try-On task
If succeeded, returns the final MP4 URLs. Check the processing status and retrieve results of a Kling video task
Returns a Task ID for polling. Animate a static image into a video using Kling AI
Returns a Task ID. Drive mouth movements and synchronize speech to a video portrait
List recent Kling AI video generation tasks
Generates up to 4 images. Returns a Task ID for polling. Generate images from text using Kolors AI model via Kling
Returns a Task ID that must be polled until completion (status: succeed). Models: kling-v1, kling-v2, kling-v3. Generate a cinematic AI video from a text prompt using Kling V3
Blends a source garment image naturally onto a target person's photo. Returns a Task ID. Map digital garments onto human models using AI Virtual Try-On
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Kling AI (Generative Video & Image) tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Kling AI (Generative Video & Image) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Kling AI (Generative Video & Image) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Kling AI (Generative Video & Image) in Mastra AI
Why run Kling AI (Generative Video & Image) with Vinkius?
The Kling AI (Generative Video & Image) connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Kling AI (Generative Video & Image) using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Kling AI (Generative Video & Image) and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Kling AI (Generative Video & Image) to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Kling AI (Generative Video & Image) for Mastra AI
Every request between Mastra AI and Kling AI (Generative Video & Image) is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can I check the progress of my video generation task?
Yes. Use the get_video_task tool with your Task ID. Your agent will poll the Kling API and report the current status (Submitted, Processing, or Succeed). Once finished, it will provide the direct MP4 download URLs.
How does the AI Virtual Try-On work through my agent?
Use the virtual_try_on tool and provide a public URL of a target person and a garment image. Your agent will submit the job to Kolors AI, which naturally blends the clothing onto the person. You can then retrieve the final image using the Task ID.
Can I synchronize audio to a video portrait using my agent?
Absolutely. The lip_sync_video tool allows you to submit a portrait video and a driving audio file. Your agent will trigger the AI lip-sync process to align the mouth movements to the speech, perfect for creating professional avatars.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Dotloop
10 toolsManage real estate transactions via Dotloop — list loops, manage participants, and oversee documents.

Fellow
12 toolsManage meeting notes and feedback via Fellow — list agenda items and decisions, track action items, handle recordings, and complete tasks directly from any AI agent.

Fly.io Alternative
13 toolsManage edge compute infrastructure via Fly.io — list apps, control machines (VMs), manage volumes and certificates from any AI agent.

Webex
10 toolsManage rooms, meetings, and collaboration workflows on Cisco Webex — the leading enterprise video conferencing platform.
