Skip to main content
Back to API Platform

WAN 2.1 Video API

WAN 2.1 (14B) text & image to video with LoRA support. 480p/720p, 1-5 second clips. Integrate this model via REST with endpoint docs, parameters, and code examples.

Video Generation
Img2Vid
LoRA
Content moderation disabled
Credit Cost
1.5 credits/sec
Type
Video

API Endpoint

POST
/api/v1/models/wan-2.1-video/run

Test This Model

Run a real request through the API pipeline and inspect the exact input and output your integration will handle. Uses your credits like any API call; failed runs are refunded automatically.

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
string
-
image_url
url
-
negative_prompt
string
-
resolution
enum
480p
aspect_ratio
enum
16:9
duration
integer
5
fast_mode
enum
Balanced
lora_url
string
-
lora_strength
number
1
sample_steps
integer
30
sample_guide_scale
number
5
sample_shift
number
8
seed
integer
-

Supported Aspect Ratios

16:9
9:16
1:1

Example Outputs

Real outputs generated by this model

View Details

Slow cinematic dolly along a golden-hour beach, gentle waves washing over the sand, warm backlit spray

0 credits
0
View Details

A dancer in a flowing red dress spinning in a dark studio, fabric trailing in slow motion, single dramatic spotlight

0 credits
0
View Details

A fit man swimming a slow lap in a rooftop infinity pool at dusk, city lights bokeh, water rippling, cinematic

0 credits
0
View Details

A confident woman in a silk evening dress walking slowly through a dim jazz lounge, warm lamplight, shallow depth of field, cinematic slow motion

0 credits
0
View Details

she turns toward the camera with a confident smile, hair swaying gently, warm light shifting

0 credits
0
View Details

the couple shares a soft laugh and a gentle embrace, warm sunset light flickering, hair in the breeze

0 credits
0
View Details

he turns toward the camera with a confident look, shirt and hair moving in the evening breeze

0 credits
0
View Details

she lowers her sunglasses and smiles at the camera, pool water rippling and sparkling behind her

0 credits
0
View Details

she sways slightly to an unheard rhythm, hair moving, neon bokeh drifting behind her

0 credits
0
View Details

soft camera drift, she adjusts the robe slightly and gazes at the camera, warm light glowing

0 credits
0
View Details

subtle slow-motion, she shifts her pose and the gym light glints across her, calm confident breathing

0 credits
0
View Details

playful sway, she runs a hand through her hair and laughs, retro charm

0 credits
0
View Details

she turns her head slowly toward the camera and smiles, hair swaying gently, soft fabric movement

0 credits
0
View Details

slow cinematic push-in, she tilts her head and her eyes follow the camera, neon light shimmering

0 credits
0
View Details

subtle breathing motion, she shifts her weight and gazes at the camera, candlelight flickering

0 credits
0
View Details

a gentle ocean breeze moves her hair, she smiles and looks over her shoulder, waves rolling behind

0 credits
0

Code Examples

Text to video — copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/wan-2.1-video/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cat doing an acrobatic dive into a swimming pool at the olympics",
    "duration": 5
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 7.5,
  "creditsRemaining": 95,
  "expiresAt": "2026-07-18T05:14:32Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
  },
  "creditCost": 7.5,
  "expiresAt": "2026-07-18T05:14:32Z"
}