Wan AI API
Access Wan AI instantly with Puter.js, and add AI to any app in a few lines of code without backend or API keys.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.txt2vid("A sunrise drone shot flying over a calm ocean", {
model: "Wan-AI/Wan2.2-T2V-A14B"
}).then(videoElement => {
document.body.appendChild(videoElement);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.txt2vid("A sunrise drone shot flying over a calm ocean", {
model: "Wan-AI/Wan2.2-T2V-A14B"
}).then(videoElement => {
document.body.appendChild(videoElement);
});
</script>
</body>
</html>
List of Wan AI Models
Wan 2.2 Image-to-Video 14B
Wan-AI/Wan2.2-I2V-A14B
Wan 2.2 I2V A14B is an open-source image-to-video generation model that transforms static images into 5-second videos at 480P or 720P resolution. It uses a Mixture-of-Experts (MoE) architecture with dual 14B-parameter experts to achieve stable video synthesis with reduced unrealistic camera movements and enhanced support for diverse stylized scenes.
VideoWan 2.2 Text-to-Video 14B
Wan-AI/Wan2.2-T2V-A14B
Wan 2.2 T2V A14B is an open-source text-to-video generation model that creates 5-second videos at 480P or 720P resolution from text prompts. Built with a Mixture-of-Experts (MoE) architecture featuring specialized high-noise and low-noise experts, it delivers cinematic-quality output with granular control over lighting, composition, and motion.
Frequently Asked Questions
The Wan AI API gives you access to models for AI video generation. Through Puter.js, you can start using Wan AI models instantly with zero setup or configuration.
Puter.js supports a variety of Wan AI models, including Wan 2.2 Image-to-Video 14B and Wan 2.2 Text-to-Video 14B. Find all AI models supported by Puter.js in the AI model list.
With the User-Pays model, users cover their own AI costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.
Puter.js is a JavaScript library that provides access to AI, storage, and other cloud services directly from a single API. It handles authentication, infrastructure, and scaling so you can focus on building your app.
Yes — the Wan AI API through Puter.js works with any JavaScript framework, Node.js, or plain HTML. Just include the library and start building. See the documentation for more details.