APIMart
Wan 2.7 Image model icon
Image

Wan 2.7 Image API

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.

Text to ImageImage EditingUp to 9 References1K / 2K

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
101 / 5000

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)

Output
Generated 1

Image link valid for 72 hours

Wan 2.7 Image API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantGoldCurrent pricePlatinumDiamondOfficialYour savings
wan2.7-image0.216Credits(~$0.0216)/pic0.2052Credits(~$0.0205)/pic0.1944Credits(~$0.0194)/pic0.27Credits(~$0.027)/pic20%

* Actual costs are subject to final output.

Wan 2.7 Image API - Alibaba wan2.7-image Generation and Editing

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

Wan 2.7 Image API Example: Text to Image and Image Editing

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.

  1. 1

    Authenticate Wan 2.7 Image requests

    Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a Wan 2.7 Image task

    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.

  3. 3

    Get the Wan 2.7 Image result

    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.

POST /v1/images/generations
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"
  }'

Wan 2.7 Image API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: wan2.7-imageUse wan2.7-image.
promptstringRequiredDefault: —Image description, up to 5,000 characters. Optional but recommended when editing.
image_urlsarrayOptionalDefault: —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.
nintegerOptionalDefault: 1Images per request: 1–4, or 1–12 with enable_sequential. Billed per image.
sizestringOptionalDefault: 2K1K or 2K, an aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3) or pixel dimensions.
resolutionstringOptionalDefault: —1K or 2K. Can be combined with an aspect ratio in size.
negative_promptstringOptionalDefault: —Elements to avoid.
enable_sequentialbooleanOptionalDefault: falseGenerate a coherent set of images, such as a storyboard. Max n is 12.
bbox_listarrayOptionalDefault: —Edit regions per input image, up to 2 boxes each; pass [] for images without a box.
color_palettearrayOptionalDefault: —3–10 hex colors with ratios that sum to 100%. Not used in sequential mode.
thinking_modebooleanOptionalDefault: trueEnhanced reasoning for quality, at the cost of time. Text to image without sequential mode only.
seedintegerOptionalDefault: —0 to 2147483647 for consistent results with identical parameters.
watermarkbooleanOptionalDefault: falseAdd an AI Generated watermark in the bottom-right corner.
nsfw_checkbooleanOptionalDefault: falseModerate the prompt and input images with omni-moderation-latest before submission.

Compare Wan 2.7 Image Models

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.

ModelBest forResolution
Wan 2.7 Image APIThis pageEveryday text to image, editing and sets at up to 2K, at a lower price per image1K / 2K
Wan 2.7 Image Pro APIDetailed text to image up to 4K, plus editing and sets at up to 2K1K / 2K / 4K

Guides, comparisons and pricing analysis from the APIMart blog.