Skip to main content
Back to API Platform

WAN 2.2 Spicy Image-to-Video API

Image-to-video with WAN 2.2 Spicy. Animate a starting image. 480p or 720p, 5s or 8s clips. Integrate this model via REST with endpoint docs, parameters, and code examples.

Video Generation
Img2Vid
Content moderation disabled
Credit Cost
15 credits
Type
video

API Endpoint

POST
/api/v1/models/wan-2.2-i2v-spicy/run

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
string
-
image_url
url
-
negative_prompt
string
-
resolution
enum
480p
duration
integer
5
prompt_extend
boolean
true
seed
integer
-

Supported Aspect Ratios

16:9
9:16
1:1
4:3
3:4

Example Outputs

Real outputs generated by this model

View Details

https://cdn.pixeldojo.ai/cdn-cgi/image/f=auto,q=100,w=1920/pixeldojo/generated-images/1775244172164-7dn6ipdb9.png

0 credits
0

Code Examples

Copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/wan-2.2-i2v-spicy/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cinematic shot of ocean waves at sunset",
    "aspect_ratio": "16:9",
    "duration": 5
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 15,
  "creditsRemaining": 95,
  "expiresAt": "2025-01-23T12:00:00Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
  },
  "creditCost": 15,
  "expiresAt": "2025-01-23T12:00:00Z"
}