Skip to main content
New

Limited Time: Get 40% OFF

Get 40% off
FlowAIFx logoFlowAIFx

Kling 4.0 MCP server

Point Claude Code, Codex, OpenClaw, or any Streamable HTTP client at https://flowaifx.app/mcp and call generate_video with kling-v4.

Kling 4.0 is available on the Flow AI Fx remote MCP. Connect https://flowaifx.app/mcp, authenticate, and call generate_video with model id kling-v4. There is no npx skills package. A 5-second 720p clip costs 400 credits.

MCP URL and install command

Paste the URL into Claude connectors or ChatGPT custom MCP. For Claude Code, Codex, and OpenClaw, run the command then sign in.

MCP URL

https://flowaifx.app/mcp

CLI

claude mcp add --transport http flow-ai-fx https://flowaifx.app/mcp

Add Flow AI Fx

One Streamable HTTP URL. Sign in with Google or email. No fal, Kling, or Google AI Studio keys.

  1. 1. Add the remote MCP URL

    Add https://flowaifx.app/mcp over Streamable HTTP. Do not use /api/mcp and do not install a local npm package.

  2. 2. Run the client command

    Claude Code: claude mcp add --transport http flow-ai-fx https://flowaifx.app/mcp. Codex: codex mcp add flow-ai-fx --url https://flowaifx.app/mcp. OpenClaw: openclaw mcp add flow-ai-fx --url https://flowaifx.app/mcp --transport streamable-http.

  3. 3. Authenticate

    Sign in in the browser, or send Authorization: Bearer with a Better Auth API key.

  4. 4. Call generate_video

    Call generate_video with the model id, then poll check_job. Job ids are video:<falRequestId>.

Generate with Kling 4.0

Connect the MCP, name the model, then poll check_job for the CDN link.

  1. 1

    Add the MCP URL

    Add https://flowaifx.app/mcp over Streamable HTTP. Claude Code: claude mcp add --transport http flow-ai-fx https://flowaifx.app/mcp

  2. 2

    Authenticate

    Sign in in the browser, or send Authorization: Bearer with an API key from Settings → API keys.

  3. 3

    Call generate_video

    Call generate_video with model kling-v4, duration 3–30, resolution 720p or 1080p, and optional references.

  4. 4

    Poll check_job

    Poll check_job with job_id video:<falRequestId> until completed. Media is a persisted R2 CDN URL.

Kling 4.0 on Flow AI Fx

Numbers match the live credit table. Failed server-error generations are refunded.

Model id
kling-v4
MCP tool
generate_video
Duration
3–30s
Resolution
720p, 1080p
Example cost
5s 720p: 400 credits

Questions

Setup, credits, and model ids for this agent combo.

Yes. Flow AI Fx exposes Kling 4.0 as generate_video with model kling-v4 on https://flowaifx.app/mcp. Streamable HTTP. No local npm package.

Generate Kling 4.0 from your agent

Connect https://flowaifx.app/mcp, sign in with Google or email, and call generate_video. ChatGPT, Claude, and Gemini signups start with 50 free credits. Other new accounts start with 10. When credits run out, MCP returns topup_url https://flowaifx.app/pricing?billing=payonce.