# Wan 2.6

ID: wan/wan2.6-image
Type: image generation
Vendor: Wan
Description: Alibaba Tongyi Wan 2.6 image model for text-to-image generation with strong prompt adherence across common aspect ratios.

## Modes and inputs
- Text → Image (`txt->img`)
  - Prompt only, no input images

## Output
- Aspect ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3. Other ratios snap to the closest one. Without `size` (or with `"auto"`), Mynth picks a ratio for the prompt.
- 4K: no
- Negative prompt: not supported (dropped, no error)

## Pricing (USD)
- Per image: $0.030
- Only successful results are charged.

## Usage
Set the request's `model` field to `wan/wan2.6-image`. Always pass it explicitly.

TypeScript SDK, Text → Image:

```ts
import Mynth from "@mynthio/sdk";

const mynth = new Mynth();

const task = await mynth.image.generate({
  model: "wan/wan2.6-image",
  prompt: "A lighthouse at dusk, 35mm film",
  size: "16:9",
});

console.log(task.urls[0]);
```

REST (cURL), Text → Image:

```bash
curl https://api.mynth.io/image/generate \
  -H "Authorization: Bearer $MYNTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan/wan2.6-image",
    "prompt": "A lighthouse at dusk, 35mm film",
    "size": "16:9"
  }'
```

CLI, Text → Image:

```bash
npx @mynthio/cli image generate \
  -m wan/wan2.6-image \
  -p "A lighthouse at dusk, 35mm film" \
  -s 16:9
```

## Links
- Model page: https://mynth.io/models/wan%2Fwan2.6-image
- Playground: https://mynth.io/playground?_m=wan%2Fwan2.6-image
- Vendor page: https://tongyi.aliyun.com/wan
- API docs (image generation request): https://mynth.io/docs/api-reference/endpoints/image/generate.md
- Quickstart: https://mynth.io/docs/getting-started.md
- SDK (JS/TS): https://mynth.io/docs/sdks/typescript.md
- This page as JSON: https://mynth.io/models/wan%2Fwan2.6-image.json

## More from Wan
- Wan 2.7 Image [wan/wan2.7-image]: https://mynth.io/models/wan%2Fwan2.7-image.md
- Wan 2.7 Image Pro [wan/wan2.7-image-pro]: https://mynth.io/models/wan%2Fwan2.7-image-pro.md

## Similar models
- FIBO Generate 1.5 [bria/fibo-generate-1.5]: https://mynth.io/models/bria%2Ffibo-generate-1.5.md
- Recraft V4 [recraft/recraft-v4]: https://mynth.io/models/recraft%2Frecraft-v4.md
- Prefect Pony XL LoRA [goofy-ai/prefect-pony-xl-lora]: https://mynth.io/models/goofy-ai%2Fprefect-pony-xl-lora.md
- Z-Image Turbo [tongyi-mai/z-image-turbo]: https://mynth.io/models/tongyi-mai%2Fz-image-turbo.md
- Recraft V4.1 Flash [recraft/recraft-v4.1-flash]: https://mynth.io/models/recraft%2Frecraft-v4.1-flash.md
