WidemileDocs
ToolsWorkflowsChangelogGitHub
  • Introduction
  • Getting started
  • CLI (wm)
  • 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 Widemile 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. Director MCP locks video generation to Seedance 2.0 Fast at 720p while the host agent chooses aspect ratio and duration. Always asynchronous — returns a job_id immediately; poll for completion.

Auth
oauth-jwt
Returns
{ jobId, status, video?: { url } } — poll via `studio_job_status`. Final response includes `creditsRemaining`.
Web client
src/app/[locale]/dashboard/creative-studio/pro-studio/videos/page-client.tsx
MCP handler
https://github.com/PrincipeRosso/wmstudio-director-mcp/blob/main/src/mcp/tools/director-tools.ts

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"bytedance/seedance-2.0-fast"Provider/model id. Director MCP locks video generation to Seedance 2.0 Fast.
image_urlstring—Optional starting frame for image-to-video. Must be a real URL; HEAD preflight rejects fabrications.
durationnumber5Clip length in seconds (model-dependent ceiling).
aspect_ratio"16:9" | "9:16" | "1:1""16:9"Target aspect ratio.

Examples

Image-to-video
json
{
  "name": "studio_generate_video",
  "arguments": {
    "prompt": "slow dolly-in, golden hour reflection on the ceramic mug",
    "model": "bytedance/seedance-2.0-fast",
    "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_generate_image
Text-to-image and image-to-image generation across the full Widemile model catalogue.
← All toolsView handler
On this page
  • Overview
  • Quick start
  • Parameters
  • Examples
  • Performance
  • Related tools
Widemile MCP — v2.0.0
Docs home