WM StudioDocs
ToolsWorkflowsChangelogGitHub
  • Introduction
  • Getting started
  • Configuration
  • Tool index
  • Generate imagestudio_generate_image
  • Generate videostudio_generate_video
generationstablevideotextreferenceasync

Generate video

studio_generate_video

Text-to-video and image-to-video generation across the WM Studio video model catalogue.

Overview

Creates a video clip from a text prompt and/or starting image. Routes to the correct provider for the requested model (Sora 2 Pro, Kling 2.5 Turbo Pro, Wan, Minimax, …). Always asynchronous — returns a job_id immediately; poll for completion.

Auth
oauth-jwt
Returns
{ job_id, status: "queued" | "running" | "completed" | "failed", video?: { url, duration_seconds } }
Web client
src/app/[locale]/dashboard/creative-studio/videos/videos-page-client.tsx
MCP handler
mcp-director/src/tools/studio.py

Quick start

Invoke the tool over Streamable HTTP at {MCP_BASE_URL}/mcp/. The request below assumes you already minted an MCP JWT via the OAuth flow.

{
  "name": "studio_generate_video",
  "arguments": {
    "prompt": "<prompt>"
  }
}

Parameters

NameTypeDefaultDescription
promptrequiredstring—Text prompt.
modelstring"fal-ai/kling-video/v2.5-turbo/pro/text-to-video"Provider/model id.
image_urlstring—Optional starting frame for image-to-video.
duration_secondsnumber5Clip length (model-dependent ceiling).
aspect_ratio"16:9" | "9:16" | "1:1""16:9"Target aspect ratio.
seednumber—Optional deterministic seed.

Examples

Image-to-video
json
{
  "name": "studio_generate_video",
  "arguments": {
    "prompt": "slow dolly-in, golden hour reflection on the ceramic mug",
    "model": "fal-ai/kling-video/v2.5-turbo/pro/image-to-video",
    "image_url": "https://cdn.wm.studio/uploads/mug.png",
    "duration_seconds": 5
  }
}

Performance

Typical wall-clock 30s–4min. Always poll on job_id; do not block tool calls.

Related tools

studio_video_enhance
Increase resolution and sharpness on an existing video.
studio_generate_image
Text-to-image and image-to-image generation across the full WM Studio model catalogue.
← All toolsView handler
On this page
  • Overview
  • Quick start
  • Parameters
  • Examples
  • Performance
  • Related tools
WM Studio MCP — v2.0.0
Docs home