Skip to main content
Back to API Platform

WAN 2.7 Image-to-Video API

Image-to-video and video continuation with optional last-frame control and audio sync Integrate this model via REST with endpoint docs, parameters, and code examples.

Video Generation
Img2Vid
Audio
Content moderation disabled
Credit Cost
2.5 credits/sec
Type
video

API Endpoint

POST
/api/v1/models/wan-2.7-i2v/run

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
string
-
negative_prompt
string
-
image_url
url
-
video_url
url
-
last_frame_url
url
-
mode
enum
image-to-video
resolution
enum
720p
aspect_ratio
enum
16:9
duration
integer
5
enable_prompt_expansion
boolean
false
seed
integer
-

Supported Aspect Ratios

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

Code Examples

Copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/wan-2.7-i2v/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": 13,
  "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": 13,
  "expiresAt": "2025-01-23T12:00:00Z"
}