APIMart
Wan 2.7 Image Pro model icon
Image

Wan 2.7 Image Pro API

Wan 2.7 Image Pro API (wan2.7-image-pro) on APIMart runs the professional edition of Alibaba's Wan 2.7 image model. It renders text to image at up to 4K with finer detail and thinking mode on by default, and supports editing, multi-image reference with up to 9 inputs and sequential sets at up to 2K, billed per generated image.

4K Text to ImageThinking ModeEditing up to 2KUp to 9 References

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 Pro API Pricing

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

VariantGoldCurrent pricePlatinumDiamondOfficialYour savings
wan2.7-image-pro0.544Credits(~$0.0544)/pic0.5168Credits(~$0.0517)/pic0.4896Credits(~$0.049)/pic0.68Credits(~$0.068)/pic20%

* Actual costs are subject to final output.

Wan 2.7 Image Pro API - Alibaba wan2.7-image-pro up to 4K

Use the Wan 2.7 Image Pro API on APIMart for detailed text-to-image output at up to 4K, plus editing, multi-image reference and sequential sets at up to 2K, billed per image with no extra charge for 4K.

50K+

Active Users

99.9%

Uptime

2x

Faster

20%

Cost Savings

Wan 2.7 Image Pro API Example: 4K Text to Image and Image Editing

Call the Wan 2.7 Image Pro 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 Pro 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 Pro task

    POST /v1/images/generations with model wan2.7-image-pro, your prompt, size and resolution 4K. Add image_urls to edit at up to 2K. The task ID is in data[0].task_id.

  3. 3

    Get the Wan 2.7 Image Pro 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.

    Wan 2.7 Image Pro shares the Wan 2.7 Image API reference, which lists every parameter, resolution 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-pro",
    "prompt": "An alpine lake at sunrise with mist over the water and snow-capped peaks, ultra-detailed landscape photography",
    "n": 1,
    "size": "16:9",
    "resolution": "4K"
  }'

Wan 2.7 Image Pro API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: wan2.7-image-proUse wan2.7-image-pro.
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, 2K or 4K (4K for text to image only), an aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3) or pixel dimensions.
resolutionstringOptionalDefault: —1K, 2K or 4K. 4K only for text to image without sequential mode. 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 APIEveryday text to image, editing and sets at up to 2K, at a lower price per image1K / 2K
Wan 2.7 Image Pro APIThis pageDetailed 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.