Pular para o conteúdo principal
Model logo

API do Wan 2.6 Image

  • Texto para imagem
  • Imagem para imagem
Toque para enviarPNG, JPG, WEBP, GIF · Máx. 100 MB
Saída

Seu image gerado aparecerá aqui

Atualizado

What is the Wan 2.6 Image API?

The Wan 2.6 Image API is live on UnificAlly as alibaba/wan-2.6-image, from $0.027 per image. Wan 2.6 Image is the four-reference upgrade in Alibaba's Wan image line. The model auto-selects between text-to-image and editing/style-transfer based on whether image_urls is present. One to four references, seven aspect ratios, prompt extend on by default, and seed control. Prompts cap at 2000 characters and negative prompts at 500. Use it when three references on Wan 2.5 Image is too few but you do not need the nine-reference cap or the 2K/4K output of Wan 2.7 Image.

Wan 2.6 Image API specs

Model IDalibaba/wan-2.6-image
EndpointPOST https://api.unifically.com/v1/tasks
Request typesText-to-image, image editing, style transfer
Aspect ratio1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9
Reference images1 to 4 for editing or style transfer, none for text-to-image
Prompt lengthUp to 2000 characters, negative prompt up to 500
Rate per image$0.027

Billing is per image, with no subscription. The pricing page shows the live rate for every model.

How to use the Wan 2.6 Image API

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/tasks with the model ID and an input object.
  3. Read the task_id from the response, then check the task until it is finished, or set a callback_url on the request and wait for the result.
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.6-image",
    "input": {
      "prompt": "A cozy reading nook with warm lighting"
    }
  }'

The response returns the task ID straight away:

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}

The finished task carries the image URL.

curl https://api.unifically.com/v1/tasks/{task_id}   -H "Authorization: Bearer YOUR_API_KEY"

Wan 2.6 Image API parameters

ParameterTypeDefaultWhat it does
promptstringrequiredText description of the image, up to 2000 characters
aspect_ratiostring1:11:1, 2:3, 3:2, 3:4, 4:3, 9:16, or 16:9
image_urlsarraynoneOmit for text-to-image. Pass 1 to 4 images for editing or style transfer
negative_promptstringnoneWhat to avoid in the image, up to 500 characters
prompt_extendbooleantrueSmart prompt rewriting before generation
seedintegernoneSeed for reproducibility
nsfw_checkbooleanfalseChecks the prompt and input images for NSFW content before generating

The Wan 2.6 Image API documentation has the full reference.

Style transfer request

Add image_urls and the Wan 2.6 Image API switches from text-to-image to editing and style transfer on the same model ID.

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.6-image",
    "input": {
      "prompt": "Generate a tomato stir-fry in the style of this image",
      "image_urls": ["https://example.com/style.png"]
    }
  }'

Key features of Wan 2.6 Image

Four features cover what changes versus Wan 2.5 Image.

Up to 4 reference images

One more reference than Wan 2.5 Image. Useful when you need to combine a brand colour reference, a product still, a character shot, and a layout reference in the same call.

Style transfer in one call

Pass a style reference plus a content prompt. The model auto-selects the style-transfer path when references are present. Useful for restyling product shots and concept art.

Seven aspect ratios

1:1, 2:3, 3:2, 3:4, 4:3, 9:16, and 16:9. Same range as Wan 2.5 Image, covering square, portrait, landscape, vertical reels, and standard hero banners.

Prompt extend and seed

Prompt extend rewrites short prompts before generation. Seed control returns the same image from the same prompt and references. Useful for iterative editing.

What Wan 2.6 is best for

  • Catalog refreshes

    Restyle existing shots with a small set of references plus a clear instruction prompt.

  • Concept art

    Combine references while steering with the main prompt. Useful for early-stage visual development.

  • Creative QA

    Pin seeds and negative prompts to lock a look across iterations.

  • Editorial

    Match brand colour and lighting from reference stills across a series.

  • Style transfer

    Apply a reference look to a product or character image in one call.

  • Iterative editing

    Adjust with prompt extend and reproducible seeds across rounds of feedback.

Perguntas frequentes

Perguntas frequentes sobre Wan 2.6

Wan 2.6 Image is the four-reference upgrade in Alibaba's Wan image line. It supports text-to-image, editing, and style transfer with up to four reference images, seven aspect ratios, prompt extend by default, and seed control. Prompts cap at 2000 characters.

Image jobs on alibaba/wan-2.6-image authenticate with a key from the API keys page in the Authorization: Bearer header. Text-to-image needs a prompt alone; for editing or style transfer, also have one to four public image URLs ready.

Send alibaba/wan-2.6-image a prompt of up to 2000 characters, with optional aspect_ratio, negative_prompt, seed and prompt_extend (on by default); adding image_urls switches the same model ID from text-to-image to editing. The finished Wan 2.6 Image API task carries the image URL, or a callback_url delivers it.

Zero to four. Omit image_urls for plain text-to-image. Pass 1–4 image URLs for editing or style-transfer runs.

No. The model auto-selects text-to-image when image_urls is empty and editing/style-transfer when it is set. Same model ID for both paths.

Negative prompts list content to suppress. Prompt extend rewrites the main prompt for clarity. They work together: exclusions stay explicit while the positive prompt expands.

Move to Wan 2.7 Image when you need up to nine references, thinking mode, and 2K output. Move to Wan 2.7 Image Pro when you need 4K. Stay on Wan 2.6 Image when four references is enough.

2000 characters for the main prompt and 500 characters for the negative prompt.