Image model

Wan 2.6

Alibaba Tongyi Wan 2.6 image model for text-to-image generation with strong prompt adherence across common aspect ratios.

Model IDwan/wan2.6-image

API

Call Wan 2.6

Every model takes the same request, so switching to Wan 2.6 is a change to the model field. These samples are written for its own contract and send as they are.

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]);

Specifications

What Wan 2.6 accepts

Read from the same registry the API validates against. A request outside it is refused when the task is created, before anything is charged.

Modes and inputs

Text → Image
Prompt only

Output

Aspect ratios
  • 1:1
  • 16:9
  • 9:16
  • 4:3
  • 3:4
  • 3:2
  • 2:3

Leave out size, or send auto, and Mynth picks one for the prompt. Any other ratio snaps to the closest of these. Sizes

4K
No. A 4k size fails the task

Prompt

Negative prompt
Not supported. Dropped before the provider call, no error
The contract as GET /models returns it
{
  "modes": {
    "txt->img": {}
  }
}

Pricing

What it costs

Pay per result, in USD, with no subscription. A failed image or video costs nothing. How pricing works

Rates

Image
$0.03 / image

Estimate a request

Images
1

$0.031 × $0.03

Held when the task is created. Only images that succeed are charged.