Extended Capability Tools
MCP tools that expose PraisonAI media-generation capabilities
The PraisonAI MCP server exposes extended-capability tools that any MCP client can call, including video generation.
Quick Start
- Call the video tool
An MCP client invokes
praisonai.videos.generatewith a prompt. Omitmodelto use the canonical defaultopenai/sora-2.json { "name": "praisonai.videos.generate", "arguments": { "prompt": "A cat playing with yarn" } } - Override the model
json { "name": "praisonai.videos.generate", "arguments": { "prompt": "A city skyline at night", "model": "openai/sora-2-pro", "duration": 8 } }
Tool: praisonai.videos.generate
Generate a video from a text prompt and return the video URL.
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt | str | Required | Text description of the video |
model | str | "openai/sora-2" | Provider-prefixed LiteLLM route |
duration | int | 4 | Video length in seconds |
Best Practices
Rely on the default model
Omit model to use openai/sora-2. Set it only when you need a different provider route such as openai/sora-2-pro.
Use provider-prefixed routes
Always pass a full LiteLLM route. Bare names like sora are not valid routes and cause routing errors.