Skip to content

Wan 3.0 API

Wan 3.0 API Python SDK and MCP server for AI video generation: text-to-video, image-to-video, multimodal references, uploads, and async job polling.

Install: git clone https://github.com/Anil-matcha/Wan-3.0-API

Install

$git clone https://github.com/Anil-matcha/Wan-3.0-API

Install command taken from the project's README or registry entry. Always review code before running it.

Wan 3.0 API — Python Wrapper

A focused Python SDK and MCP server for the Wan 3.0 API on MuAPI. 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.

▶ Watch: How to Access Wan 3.0 API - Best Uncensored Alternative to Seedance 2

Related Projects

  • Wan 3 on MuAPI — Model landing page for Wan video-generation workflows.
  • MuAPI video-generation docs — Unified API request and polling patterns.
  • Wan-3.0-Spicy-API — Python SDK and MCP server for the relaxed-moderation Wan 3.0 Spicy tier.
  • awesome-ai-video-models — compare AI video models by API, price, and speed.
  • Open-Generative-AI — open-source AI media studio for image and video workflows.
  • Seedance-2-API — Python SDK for ByteDance Seedance video generation.
  • Veo-4-API — Python SDK for Google Veo AI video generation.
  • Flux-3-Dev-API — Python SDK for FLUX 3 image and video generation.
  • muapi-skills — agent-ready skills for automated media workflows.
  • muapi-cli — command-line access to MuAPI image, video, and audio models.
  • wan-3.0-comfyui — ComfyUI custom nodes for Wan 3.0 text-to-image, image edit, text-to-video, and image-to-video via MuAPI.
  • Wan-3.0-Prime-API — Higher-fidelity Wan 3.0 Prime tier Python SDK and MCP server, same request shape as this repo.

Install

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

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

Quick start

from wan_api import WanAPI

api = WanAPI()
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

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

Explore related