Wan 2.2 LoRA API reference
Wan 2.2 video with your LoRAs on either expert pass
Call Wan 2.2 LoRA from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in credits, and a request you can paste into a terminal.
At a glance
- Made by
- Alibaba
- Output
- Video
- From
- 3.6 credits per second of output ($0.036)
- Typical time
- about 54 s
1 credit = $0.01. A task holds the highest possible charge when it is accepted and settles the real amount when it finishes, rounded up to whole credits; failed tasks are not charged. Ask POST /api/v1/jobs/quote for the exact figure before you run.
Create Video
alibaba/wan-2.2-lora/text-to-video
Price
| Option | Credits (per second of output) | US dollars |
|---|---|---|
480p | 7.2 | $0.072 |
720p | 12.6 | $0.126 |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | — | Describe the scene, the action and the camera move. |
negative_promptOptional | string | — | — | What must stay out of the clip. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio. |
resolutionOptional | string | 480p | 480p, 720p | Output video resolution. |
duration_secondsOptional | integer | 5 | 5, 8 | Output video duration in seconds. |
lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to both noise experts. |
high_noise_lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to the high-noise expert. |
low_noise_lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to the low-noise expert. |
seedOptional | integer | — | 0 to 2147483647 | Random seed; the same seed and inputs repeat the clip. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "alibaba/wan-2.2-lora/text-to-video",
"input": {
"prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
"duration_seconds": 5,
"resolution": "480p"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Image to Video
alibaba/wan-2.2-lora/image-to-video
Price
| Option | Credits (per second of output) | US dollars |
|---|---|---|
480p | 3.6 | $0.036 |
720p | 7.2 | $0.072 |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | — | Describe the motion to generate. |
image_urlRequired | string (uri) | — | — | Opening-frame image. |
resolutionOptional | string | 480p | 480p, 720p | Output video resolution. |
duration_secondsOptional | integer | 5 | 5, 8 | Output video duration in seconds. |
lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to both noise experts. |
high_noise_lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to the high-noise expert. |
low_noise_lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to the low-noise expert. |
seedOptional | integer | — | 0 to 2147483647 | Random seed; zero requests a random seed. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
The example uses PopNow sample files in image_url. Replace them with your own public HTTPS links, uploads or saved assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "alibaba/wan-2.2-lora/image-to-video",
"input": {
"prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"duration_seconds": 5,
"resolution": "480p"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Extend Video
alibaba/wan-2.2-lora/video-extend
Price
| Option | Credits (per second of output) | US dollars |
|---|---|---|
480p | 3.6 | $0.036 |
720p | 7.2 | $0.072 |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | — | Describe what happens next: the action that follows and the camera move. |
video_urlRequired | string (uri) | — | — | The clip to continue: MP4, MOV or WebM, up to 60 seconds. Its last frame opens the new segment, and the result is your clip with the new segment joined on. |
resolutionOptional | string | 480p | 480p, 720p | Resolution the new segment is generated at. Match your source to avoid a visible step in sharpness at the seam. |
duration_secondsOptional | integer | 5 | 5, 8 | Length of the new segment in seconds: 5 or 8. The source clip is added on top and is not billed. |
lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to both noise experts of the new segment. Reuse the LoRAs from the clip you are continuing to keep its look. |
high_noise_lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to the high-noise expert. |
low_noise_lorasOptional | array<object> | [] | up to 3 items | LoRA weights applied to the low-noise expert. |
seedOptional | integer | — | 0 to 2147483647 | Random seed; zero requests a random seed. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
The example uses PopNow sample files in video_url. Replace them with your own public HTTPS links, uploads or saved assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "alibaba/wan-2.2-lora/video-extend",
"input": {
"prompt": "The flowers keep opening while the camera slowly pulls back to reveal a sunlit meadow",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"duration_seconds": 5,
"resolution": "480p"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
