Skip to content
Model infoModelsSnapshot: 15 Oct 2026

Alibaba Cloud / Wanx image editing

Wanx Portrait Style Repaint v1

Portrait restyling with 23 named presets or a custom reference image. Output preserves aspect ratio with a 1,536-pixel short side.

availableClosed weightsImage editing
Official documentation (opens in a new tab)Reviewed 14 Oct 2026
28 of 37 specification fields collected
Output resolutionShort side 1,536 pixels; input aspect ratio preservedSee specification notes below
Output formatsNot collectedAwaiting source review
Input billingSee ratesAlibaba Model Studio · Beijing
Output billingSee ratesPublished units and conditions below

Specifications

Provider-documented facts. “Not collected” means we have not verified that field yet, not that the feature is unsupported.

Context / input limit
Not collected
Maximum input tokens
Not collected
Maximum output
Not collected
Reasoning
Not collected
Streaming
Not collected
Knowledge cutoff
Not collected
Parameters
Not collected
Architecture
Not collected
Languages
Not collected
API aliases
wanx-style-repaint-v1Source for API aliases (opens in a new tab)
Published availability regions
China (Beijing)Source for Published availability regions (opens in a new tab)
Synchronous generation
Not supportedSource for Synchronous generation (opens in a new tab)

HTTP is asynchronous. SDK blocking helpers, where provided, wait for an async task; they do not establish a separate synchronous model endpoint.

Request mode
Async HTTP task with X-DashScope-Async: enable; retrieve results via GET /api/v1/tasks/{task_id}.Source for Request mode (opens in a new tab)
Output link expiry
Task IDs and generated-image links remain available for 24 hours. This does not establish input-retention or training-use policy.Source for Output link expiry (opens in a new tab)
Free usage allowance
500 images; central pricing gives 90 days from latest activation, release or approval. Account entitlement is unverified.Source for Free usage allowance (opens in a new tab)
Output billing
Input is free; successfully generated output images are billed.Source for Output billing (opens in a new tab)
Required request fields
image_url and style_index; style_ref_url is required for style_index=-1.Source for Required request fields (opens in a new tab)
Image input limits
Portrait: at least 256 × 256 and no more than 5760 × 3240 pixels; long/short ratio at most 2:1; file at most 10 MB.Source for Image input limits (opens in a new tab)
Input image formats
JPEG, PNG, JPG, BMP, WEBPSource for Input image formats (opens in a new tab)
Reference image limits
Same stated resolution and 10 MB limits as the portrait. A long/short ratio at most 2:1 is recommended for reference images; exceeding it may affect generation or cause an error.Source for Reference image limits (opens in a new tab)
Image URL requirements
Public HTTP(S) URLs without Chinese characters, or Base64-encoded image input. Both portrait and style reference support these forms.Source for Image URL requirements (opens in a new tab)
Portrait style IDs
View all 23 entries
  • 0: Retro comic
  • 1: 3D fairytale
  • 2: Anime
  • 3: Fresh
  • 4: Futuristic
  • 5: Ancient Chinese painting
  • 6: Battle-hardened general
  • 7: Colorful cartoon
  • 8: Elegant Chinese style
  • 9: New Year celebration
  • 14: Chinese meticulous painting
  • 15: Happy New Year
  • 30: Fairytale world
  • 31: Clay world
  • 32: Pixel world
  • 33: Adventure world
  • 34: Japanese manga world
  • 35: 3D world
  • 36: Anime world
  • 37: Hand-drawn world
  • 38: Crayon world
  • 39: Refrigerator magnet world
  • 40: Badge World
Source for Portrait style IDs (opens in a new tab)

23 named IDs, plus -1 for a supplied reference image. These are controls within one model.

Generation controls
style_index=-1 selects custom reference-image styling. Other documented IDs use preset styles.Source for Generation controls (opens in a new tab)
Output resolutions
Short side 1,536 pixels; input aspect ratio preservedSource for Output resolutions (opens in a new tab)
Generated assets
Successful result: image URL, Failed subtask: error code and message, usage.image_count: successful outputs used for billingSource for Generated assets (opens in a new tab)

Access & pricing

Prices belong to an endpoint and billing tier. A provider listing does not guarantee access for every account or region.

Alibaba Model Studio · Beijing

Provider source (opens in a new tab)
API model ID
wanx-style-repaint-v1
Access
POST https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/services/aigc/image-generation/generation. Async HTTP task with X-DashScope-Async: enable; retrieve results via GET /api/v1/tasks/{task_id}.
Regions
China (Beijing)
Published request quota
120 requests per minuteSource for Published request quota (opens in a new tab)
Published token quota
3,000 tokens per minuteSource for Published token quota (opens in a new tab)

Provider card quota only; not a context limit or image billing unit.

Task submission rate
2 task submissions per secondSource for Task submission rate (opens in a new tab)
Concurrent requests
Central table: 2 running tasks; API guide: 1. Effective allowance unresolved.Source for Concurrent requests (opens in a new tab)
Quota scope
Per-model limits shared by Alibaba Cloud account and RAM usersSource for Quota scope (opens in a new tab)
Free usage allowance
500 images; central pricing gives 90 days from latest activation, release or approval. Account entitlement is unverified.Source for Free usage allowance (opens in a new tab)
Request mode
Async HTTP task with X-DashScope-Async: enable; retrieve results via GET /api/v1/tasks/{task_id}.Source for Request mode (opens in a new tab)
Synchronous generation
Not supportedSource for Synchronous generation (opens in a new tab)

HTTP is asynchronous. SDK blocking helpers, where provided, wait for an async task; they do not establish a separate synchronous model endpoint.

Prices retain their published currencies and billing units below.

Published billing units · original currency · observed 14 Oct 2026
CategoryUsageRateUnit
Image generationGenerated image1CN¥0.12image

Rate conditions

  1. Domestic output-only list tariff; input is free. Published quota terms are not guaranteed account entitlement. Not a converted USD rate or text-question estimate.
Pricing source (opens in a new tab)

Data & enterprise terms

Generated links expire after 24 hours; input retention, training use and account-specific access remain unverified.

Caching

Caching can reuse earlier input processing. Availability, lifetime and billing depend on the endpoint. A cache hit still generates a new response.

01 / INITIAL INPUTProcess & retain

The system processes eligible input and retains reusable state.

02 / LATER REQUESTCheck available state

Reuse depends on matching input, session state and the cache policy.

03 / CACHE HITReuse & generate

Reusing state can reduce repeated work. Any charges follow the billing rules below.

What the measurements say

No benchmark observations have been added for this model. We do not turn a vendor description into a performance score.

Latency and throughput depend on the host, request size, reasoning settings and load. There is no measured speed or global usage figure in this record.

The record behind the model

Why it is included

Classification inference: separately named native Alibaba hosted release; the reviewed API and card expose service access without model weights. No exact public checkpoint for this named release is identified by the reviewed model sources. Hosted checkpoint lineage is unverified; public Wan releases and style presets are not assumed equivalent.

Classification evidence (opens in a new tab)

Lifecycle dates

Model Studio release22 Mar 2024Source (opens in a new tab)

Sources reviewed