Wan 2.2 5B LoRA API reference
Light 720p Wan 2.2 clips that load your own LoRAs
Call Wan 2.2 5B 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
- 18 credits per request ($0.18)
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-5b-lora/text-to-video
Price
| Option | Credits (per request) | US dollars |
|---|---|---|
Default | 18 | $0.18 |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | — | Describe the scene, the action and the camera move. Put a LoRA trigger word first. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio. |
lorasOptional | array<object> | [] | up to 3 items | Up to three LoRA weight files trained for Wan 2.2 TI2V-5B, each with its own strength. |
seedOptional | integer | — | 0 to 2147483647 | Random seed for controlled comparisons, not a frame-identical guarantee. |
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-5b-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"
}
}'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-5b-lora/image-to-video
Price
| Option | Credits (per request) | US dollars |
|---|---|---|
Default | 18 | $0.18 |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | — | Describe what happens after the opening frame and how the camera moves. |
image_urlRequired | string (uri) | — | — | Opening frame. The clip starts from this image and keeps its aspect ratio. |
lorasOptional | array<object> | [] | up to 3 items | Up to three LoRA weight files trained for Wan 2.2 TI2V-5B, each with its own strength. |
seedOptional | integer | — | 0 to 2147483647 | Random seed for controlled comparisons, not a frame-identical guarantee. |
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-5b-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"
}
}'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"
