Wan 3.0 Prime API MCP Server

Wan 3.0 Prime API MCP Server

Enables MCP-capable clients to generate higher-fidelity videos via Wan 3.0 Prime, supporting text-to-video, image-to-video, multimodal reference-to-video, and async task status polling.

Category
Visit Server

README

Wan 3.0 Prime API — Python Wrapper

Powered by MuAPI License: MIT Python 3.9+

A focused Python SDK and MCP server for the Wan 3.0 Prime API on MuAPI — the higher-fidelity tier of Wan 3.0, targeting sharper detail and steadier motion at a higher per-second price. It supports text-to-video, image-to-video, multimodal reference-to-video (up to 10 reference images, 5 reference videos, and 5 reference audios), synchronized audio, file upload, and asynchronous job polling.

<p align="center"><a href="https://youtu.be/T4Oddw74O44"><img src="https://i.ytimg.com/vi/T4Oddw74O44/maxresdefault.jpg" width="720"></a></p> <p align="center"><a href="https://youtu.be/T4Oddw74O44"><b>▶ Watch: How to Access Wan 3.0 API - Best Uncensored Alternative to Seedance 2 </b></a></p>

Related Projects

Install

git clone https://github.com/Anil-matcha/Wan-3.0-Prime-API.git
cd Wan-3.0-Prime-API
pip install -r requirements.txt
cp .env.example .env

Set MUAPI_API_KEY in .env. Set WAN_PRIME_API_BASE_URL only if you use a compatible provider other than the default MuAPI base URL.

Quick start

from wan_api import WanPrimeAPI

api = WanPrimeAPI()
job = api.text_to_video(
    "A cinematic tracking shot of a red fox crossing a snowy forest at sunrise",
    resolution="720p",
    aspect_ratio="16:9",
    duration=5,
)

result = api.wait_for_completion(job["request_id"])
print(result)

Image to video

job = api.image_to_video(
    prompt="The subject turns toward camera as a gentle breeze moves their hair.",
    image_url="https://example.com/reference.jpg",
    aspect_ratio="9:16",
    duration=5,
)

Reference to video

job = api.reference_to_video(
    prompt="The person from the reference image walks into the room shown in the reference video.",
    images_list=["https://example.com/character.jpg"],
    videos_list=["https://example.com/room.mp4"],
    resolution="720p",
    duration=5,
)

API surface

Method Purpose
text_to_video() Create a higher-fidelity video with synchronized audio from a text prompt.
image_to_video() Animate a source image, with optional end-frame guidance via last_image.
reference_to_video() Condition a video on up to 10 reference images, 5 reference videos, and 5 reference audios.
upload_file() Upload a local reference file.
get_result() / wait_for_completion() Retrieve an asynchronous job's output.

Every method also accepts resolution (480p, 720p, 1080p), duration (2-30 seconds), thinking_mode (deeper reasoning for complex prompts), enable_audio, and seed.

Wan 3.0 Prime vs. standard Wan 3.0

Wan 3.0 Prime exposes the exact same request shape as standard Wan 3.0 — the same prompt, resolution, aspect_ratio, duration, thinking_mode, enable_audio, and seed parameters across text-to-video, image-to-video, and reference-to-video — just pointed at the wan3.0-prime-* endpoints instead of wan3.0-*. Use it for hero content, client deliverables, and campaign finals where the extra sharpness and motion consistency are worth the higher rate; use Wan-3.0-API for everyday generations.

Indicative MuAPI pricing (per second of output, billed by resolution and duration):

Resolution Wan 3.0 (standard) Wan 3.0 Prime
480p $0.05/sec $0.068/sec
720p $0.10/sec $0.14/sec
1080p $0.20/sec $0.28/sec

MCP server

Expose Wan Prime tools to MCP-capable clients:

python mcp_server.py

The server provides text_to_video, image_to_video, reference_to_video, and get_task_status tools.

Endpoint compatibility

The client uses the wan3.0-prime-text-to-video, wan3.0-prime-image-to-video, and wan3.0-prime-reference-to-video paths beneath WAN_PRIME_API_BASE_URL. If your provider names its endpoints differently, pass that provider's compatible base URL or adapt the small client module before use.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured