# Wan 2.7 Image Pro

ID: wan/wan2.7-image-pro
Type: image generation
Vendor: Wan
Description: Alibaba Tongyi Wan 2.7 Image Pro — higher-fidelity tier with thinking mode, multi-reference editing, and up to 4K text-to-image output.

## Modes and inputs
- Text → Image (`txt->img`)
  - Prompt only, no input images
- Image → Image (`img->img`)
  - any image: up to 9

## 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: yes, send a ratio with `_4k`, e.g. `16:9_4k`
- Negative prompt: not supported (dropped, no error)

## Pricing (USD)
- Per image: $0.075
- Per image (4K): $0.075
- Per input image: Free, charged once for each image it goes into
- Only successful results are charged.

## Usage
Set the request's `model` field to `wan/wan2.7-image-pro`. 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.7-image-pro",
  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.7-image-pro",
    "prompt": "A lighthouse at dusk, 35mm film",
    "size": "16:9"
  }'
```

CLI, Text → Image:

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

TypeScript SDK, Image → Image:

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

const mynth = new Mynth();

const task = await mynth.image.generate({
  model: "wan/wan2.7-image-pro",
  prompt: "The same lighthouse, now in heavy fog",
  inputs: ["https://cdn.example.com/lighthouse.png"],
});

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

REST (cURL), Image → Image:

```bash
curl https://api.mynth.io/image/generate \
  -H "Authorization: Bearer $MYNTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan/wan2.7-image-pro",
    "prompt": "The same lighthouse, now in heavy fog",
    "inputs": ["https://cdn.example.com/lighthouse.png"]
  }'
```

CLI, Image → Image:

```bash
npx @mynthio/cli image generate \
  -m wan/wan2.7-image-pro \
  -p "The same lighthouse, now in heavy fog" \
  -i https://cdn.example.com/lighthouse.png
```

## Links
- Model page: https://mynth.io/models/wan%2Fwan2.7-image-pro
- Playground: https://mynth.io/playground?_m=wan%2Fwan2.7-image-pro
- 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.7-image-pro.json

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

## Similar models
- FLUX.3 [black-forest-labs/flux-3]: https://mynth.io/models/black-forest-labs%2Fflux-3.md
- Gemini 3.1 Flash Image [google/gemini-3.1-flash-image]: https://mynth.io/models/google%2Fgemini-3.1-flash-image.md
- Gemini 3 Pro Image Preview [google/gemini-3-pro-image-preview]: https://mynth.io/models/google%2Fgemini-3-pro-image-preview.md
- Riverflow 2.0 Pro [sourceful/riverflow-2.0-pro]: https://mynth.io/models/sourceful%2Friverflow-2.0-pro.md
- Kling IMAGE O3 [klingai/kling-image-o3]: https://mynth.io/models/klingai%2Fkling-image-o3.md
