---
title: "create video by text or image or reference image"
method: POST
path: "/generation/wanx/wan-v2-2-plus"
tags: ["generation", "video generation"]
---

# create video by text or image or reference image

`POST /generation/wanx/wan-v2-2-plus`

## Request body

- object
  - `input` union, required
    - object
      - `image` string, uri, required — Only image URLs are accepted (HTTPS preferred); base64 is not allowed. Supported formats include JPG, PNG, and JPEG. Image aspect ratio must be less than 1:4 or 4:1.
      - `prompt` string, required — The prompt of the generation
      - `negativePrompt` string — The negative prompt of the generation
      - `resolution` '480P' | '1080P' — The resolution of the generation
      - `length` 5 — The length of the generation
      - `seed` number — The seed of the generation
    - object
      - `prompt` string, required — The prompt of the generation
      - `negativePrompt` string — The negative prompt of the generation
      - `length` 5 — The length of the generation
      - `resolution` '480P' | '1080P' — The resolution of the generation
      - `aspectRatio` '1:1' | '4:3' | '3:4' | '16:9' | '9:16' — The aspect ratio of the generation. Wanx 2.2 in 480p does not support 4:3 or 3:4 aspect ratios.
      - `seed` number — The seed of the generation
  - `webhookUrl` string
  - `clientSource` string

## Response `200`

Successful response

- object
  - `taskId` string, required
  - `status` 'waiting' | 'succeed' | 'failed' | 'processing', required

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/pollo/apis/pollo-ai-video-collection.md) · [All operations](https://skmtc.net/pollo/apis/pollo-ai-video-collection/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pollo/pollo-ai-video-collection/versions/b3c228cf4e87/schema)
