Wan 2.7 Image API (wan2.7-image) on APIMart runs the standard edition of Alibaba's Wan 2.7 image model. It handles text to image, image editing, multi-image reference with up to 9 inputs, bounding-box editing and sequential sets of up to 12 images, at 1K or 2K, billed per generated image.
Service Highlights
Generate a series of coherent images (up to 12)
Enhanced reasoning for better quality (text-to-image only)
3–10 color stops with ratios summing to 100% (non-sequential only)

Image link valid for 72 hours
Transparent pricing with no hidden fees. Pay only for what you use.
| Variant | GoldCurrent price | Platinum | Diamond | Official | Your savings |
|---|---|---|---|---|---|
wan2.7-image | 0.216Credits(~$0.0216)/pic | 0.2052Credits(~$0.0205)/pic | 0.1944Credits(~$0.0194)/pic | 0.27Credits(~$0.027)/pic | 20% |
* Actual costs are subject to final output.
Use the Wan 2.7 Image API on APIMart to generate images from text, edit them with up to 9 reference images or selected regions, and create coherent sets of up to 12 images at 1K or 2K, billed per image.
50K+
Active Users
99.9%
Uptime
2x
Faster
20%
Cost Savings
Call the Wan 2.7 Image API on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the image URL.
Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
POST /v1/images/generations with model wan2.7-image, your prompt, size and resolution. Add image_urls to edit. The task ID is in data[0].task_id.
Poll GET /v1/tasks/{task_id} until status is completed, then read the image URL from data.result.images[0].url[0] and save the file to your own storage.
See the Wan 2.7 Image API reference for every parameter, editing rule and response field.
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-image",
"prompt": "A cozy flower shop window at dawn, wooden door, buckets of tulips on display, soft morning light, photorealistic",
"n": 1,
"size": "16:9",
"resolution": "2K"
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "wan2.7-image",
"prompt": "A cozy flower shop window at dawn, wooden door, buckets of tulips on display, soft morning light, photorealistic",
"n": 1,
"size": "16:9",
"resolution": "2K"
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(3)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-image",
"prompt": "Place the product on a marble kitchen counter beside fresh lemons, soft daylight, keep the label unchanged",
"n": 1,
"image_urls": [
"https://example.com/product.jpg"
],
"resolution": "2K"
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: wan2.7-image | Use wan2.7-image. |
prompt | string | Required | Default: — | Image description, up to 5,000 characters. Optional but recommended when editing. |
image_urls | array | Optional | Default: — | Up to 9 input images (URL or Base64; JPEG, PNG, WEBP or BMP; 240–8000 px; up to 20 MB each). Switches to editing; the output ratio follows the last image. |
n | integer | Optional | Default: 1 | Images per request: 1–4, or 1–12 with enable_sequential. Billed per image. |
size | string | Optional | Default: 2K | 1K or 2K, an aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3) or pixel dimensions. |
resolution | string | Optional | Default: — | 1K or 2K. Can be combined with an aspect ratio in size. |
negative_prompt | string | Optional | Default: — | Elements to avoid. |
enable_sequential | boolean | Optional | Default: false | Generate a coherent set of images, such as a storyboard. Max n is 12. |
bbox_list | array | Optional | Default: — | Edit regions per input image, up to 2 boxes each; pass [] for images without a box. |
color_palette | array | Optional | Default: — | 3–10 hex colors with ratios that sum to 100%. Not used in sequential mode. |
thinking_mode | boolean | Optional | Default: true | Enhanced reasoning for quality, at the cost of time. Text to image without sequential mode only. |
seed | integer | Optional | Default: — | 0 to 2147483647 for consistent results with identical parameters. |
watermark | boolean | Optional | Default: false | Add an AI Generated watermark in the bottom-right corner. |
nsfw_check | boolean | Optional | Default: false | Moderate the prompt and input images with omni-moderation-latest before submission. |
Both Wan 2.7 Image models use the same request format and are billed per image on APIMart. Pick by the resolution and detail you need.
| Model | Best for | Resolution |
|---|---|---|
| Wan 2.7 Image APIThis page | Everyday text to image, editing and sets at up to 2K, at a lower price per image | 1K / 2K |
| Wan 2.7 Image Pro API | Detailed text to image up to 4K, plus editing and sets at up to 2K | 1K / 2K / 4K |
Guides, comparisons and pricing analysis from the APIMart blog.
What the standard wan2.7-image model does across generation and editing
Everyday image workflows at up to 2K
From sign-up to your first Wan 2.7 Image result in three steps
Register on APIMart, add balance and create an API key in the dashboard.
Try text-to-image and editing above and check the cost per image before you write code.
Submit tasks from your backend with the example below, then poll for the result.
See how creators use wan2.7 image generation to transform their workflows. See how Wan teams ship faster. These are original Wan 2.7 Image series reviews and may refer to different versions.
“wan2.7 image generation delivers quality that honestly surprised me. The color accuracy and texture detail are exceptional — we use it daily for product campaigns.”
Alex Chen
Creative Director at DesignWorks
“The Wan API is refreshingly simple. I integrated wan2.7 image generation into our platform in an hour. Reliability via APIMart is rock solid.”
Sarah Mitchell
UI/UX Designer
“wan2.7 image generation picks up subtle stylistic cues that other wan2.7 image generation models miss. Clients ask how I generate Wan outputs so fast.”
Marcus Weber
Freelance Illustrator
“APIMart's pricing for Wan is unbeatable. We generate hundreds of visuals per week with wan2.7 image generation and the cost is a fraction of what we paid before.”
Emma Rodriguez
Marketing Manager
“Switching to wan2.7 image generation from other Wan models is just a swap. No API changes needed across the Wan lineup.”
James Liu
Full-Stack Developer
“We rely on wan2.7 image generation for all campaign concepting. Outstanding Wan speed-to-quality — we scale output with wan2.7 image generation fast.”
Sophie Anderson
Art Director at AdVision
Answers about wan2.7-image, how it compares with Pro and how to call it
Wan 2.7 Image is the standard edition of Alibaba's Wan 2.7 image model. It supports text to image, image editing, multi-image reference, interactive editing and sequential generation at up to 2K. On APIMart its model ID is wan2.7-image.
Wan 2.7 Image Pro (wan2.7-image-pro) adds 4K for text to image and is described in the docs as having better detail; editing and sequential sets stay at up to 2K for both. Wan 2.7 Image is the faster standard edition and costs less per image.
No. Wan 2.7 Image (wan2.7-image) creates still images. The Wan 2.7 API for video is the separate wan2.7 model, which has its own page.
Add one or more images to image_urls and describe the change in the prompt. To edit specific areas, add bbox_list with up to 2 boxes per image, using absolute pixel coordinates from the top-left corner.
Up to 9 images per request: JPEG, PNG, WEBP or BMP, 240 to 8000 pixels per side, aspect ratio between 1:8 and 8:1, and up to 20 MB each.
Yes. n generates 1 to 4 images in standard mode. With enable_sequential on, n can go up to 12 and the images form a coherent set; thinking_mode and color_palette are ignored in that mode.
1K or 2K (default 2K) in every mode, from 768×768 to 2048×2048 pixels. size also accepts 1:1, 16:9, 9:16, 4:3, 3:4, 3:2 and 2:3, or pixel dimensions such as 1024x1024.
model (wan2.7-image) is required, and prompt is required for text to image. Optional fields: image_urls, n, size, resolution, negative_prompt, enable_sequential, bbox_list, color_palette, thinking_mode, seed, watermark and nsfw_check.
POST to /v1/images/generations and read the task ID from data[0].task_id. Poll GET /v1/tasks/{task_id} until status is completed, then read data.result.images[0].url[0].
Wan 2.7 Image is billed per successfully generated image. Resolution and aspect ratio do not change the price, and the estimate is the unit price times n. See the pricing table on this page; Gold members save 20%, and Platinum and Diamond members save up to 28%.
No. APIMart has no free quota for Wan 2.7 Image; you pay per generated image. Alibaba offers Wan 2.7 as a hosted API and has not released its weights, so there is no official download.
Sign up for APIMart, add balance and create a key on the API Keys page. Send it as Authorization: Bearer <key>. The same key works for every Wan model and the rest of the APIMart catalog.
Explore more models in the same category.

GPT Image 2
GPT Image 2 delivers next-gen AI image generation from text prompts with near-perfect text rendering, native 4K output, and deep world knowledge. As the latest in the GPT Image series, this GPT Image API supports model, prompt, and other parameters — ideal for production workflows.

Qwen Image 2.0
Qwen-Image-2.0 is an AI image model that combines “generation and editing” capabilities, supports extremely long descriptions, and delivers high-quality 2K output. It is particularly well-suited for image creation that requires clear text and professional design aesthetics.

GPT Image 1 Official
GPT-Image-1 is an AI generative model that integrates text and image understanding, specializing in high-quality image creation and editing.

Qwen Image 2.0 Pro
Qwen-Image-2.0-Pro is the highest-fidelity variant of Alibaba’s Qwen image model, designed to generate and edit production-quality visuals from text or reference images. It delivers native 2K resolution with strong detail, accurate composition, and advanced text rendering, making it suitable for infographics, posters, and marketing assets.