Back to Renderful
API Guide

WAN Video API: How to Use Alibaba's WAN 2.2 via API

·5 min read
WAN 2.6 playground on Renderful — Alibaba video generation API

WAN by Alibaba is a powerful open-weight video generation model series. Renderful provides REST API access to WAN 2.1 and WAN 2.2 models for text-to-video and image-to-video generation — no GPU infrastructure required. Generate high-quality AI videos with a single API call.

What is WAN?

WAN is Alibaba's open-weight video generation model series designed for high-quality AI video creation. The WAN family includes WAN 2.1 and the newer WAN 2.2, both supporting text-to-video and image-to-video generation with strong motion quality and visual fidelity.

Key capabilities include text-to-video generation from natural language prompts, image-to-video conversion to bring still images to life, and animation/motion features through WAN 2.2 Animate. Because WAN is open-weight, the model weights are publicly available — but running inference at scale requires significant GPU infrastructure that Renderful handles for you.

How to Use the WAN API

With Renderful, accessing WAN models is as simple as making a single API call. Sign up for an API key, then send a POST request with your prompt and desired settings. Here's a working example:

POST/api/v1/generations
curl -X POST https://api.renderful.ai/api/v1/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "alibaba/wan-2.2-14b",
    "input": {
      "prompt": "A golden retriever running through a sunlit meadow with wildflowers",
      "aspect_ratio": "16:9"
    },
    "webhook": "https://your-app.com/webhook"
  }'

The API is asynchronous — your webhook will receive the completed video once generation finishes. You can also poll the generation status endpoint for progress updates.

WAN Models Available

Renderful provides access to multiple WAN model variants through a single API. Choose the model that best fits your use case:

ModelDescription
WAN 2.1First-generation WAN model. Reliable text-to-video and image-to-video generation with solid motion quality.
WAN 2.2 14BLatest WAN model with 14 billion parameters. Improved prompt adherence, higher visual fidelity, and more coherent motion.
WAN 2.2 AnimateSpecialized variant for animating still images. Convert photos and illustrations into smooth video sequences.

WAN API Pricing

Renderful offers straightforward pay-per-generation pricing for WAN API access with no monthly minimums or commitments.

FeatureSelf-HostedRenderful
GPU InfrastructureYou manageFully managed
Pricing ModelHourly GPU costPay-per-generation
Starting Price~$2/hr GPUFrom ~$0.05 / generation
Monthly MinimumGPU reservationNone
Free CreditsNoYes, on sign up

Frequently Asked Questions

What is WAN 2.2?
WAN 2.2 is Alibaba’s latest open-weight video generation model. It builds on WAN 2.1 with improved motion quality, better prompt adherence, and higher visual fidelity across text-to-video and image-to-video generation.
How much does the WAN API cost?
Through Renderful, the WAN API starts at approximately $0.05 per generation. Pricing is pay-as-you-go with no monthly minimums or commitments.
Is WAN open source?
Yes, WAN is open-weight, meaning the model weights are publicly available. However, running inference requires significant GPU infrastructure. Renderful handles all the hosting and scaling so you can use WAN via a simple API call.
What can I generate with the WAN API?
The WAN API supports text-to-video generation, image-to-video conversion, and animation. You can create videos from text prompts, animate still images, and generate motion sequences using WAN 2.1, WAN 2.2 14B, and WAN 2.2 Animate models.

Related Articles

Start Using WAN API Today

Create your Renderful account, get free credits, and start generating videos with WAN and 20+ other AI models through a single API.