> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unifically.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Wan 2.2

> Text-to-image generation with Wan 2.2

Generate AI images using Wan 2.2 Image. Text-to-image only — does not support image editing.

## Model

```
alibaba/wan-2.2-image
```

## Parameters

| Parameter         | Type    | Required | Description                                          |
| ----------------- | ------- | -------- | ---------------------------------------------------- |
| `prompt`          | string  | Yes      | Text description of the image (max 500 chars)        |
| `aspect_ratio`    | string  | No       | `1:1`, `3:4`, `4:3`, `9:16`, `16:9` (default: `1:1`) |
| `negative_prompt` | string  | No       | What to avoid in the image                           |
| `seed`            | integer | No       | Seed for reproducibility                             |

## Example

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-2.2-image",
    "input": {
      "prompt": "Aurora borealis over a snowy chapel, soft light",
      "aspect_ratio": "16:9"
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}
```
