Seedance 2.5 is live — 30-second cinematic video with native audio & real-person references

Wan Image API — Wan 2.7 Text-to-Image, Editing & 4K

Wan 2.7 Image is Alibaba's image model for generation and editing in one endpoint. Write a prompt for text-to-image, pass reference images to edit or fuse, box a region for precise interactive edits, or batch a consistent series — up to 4K on the Pro tier, all through reApi's unified API.

Highlights
1K–4K · up to 12 per request · layout & palette control
Best for
Batches, controlled layouts, posters
Input
Text, plus up to 9 reference images
Output
Up to 12 images per request
Input

Up to 5000 characters · required for text-to-image · optional (but recommended) when editing

0/9 files

Public HTTPS URLs only (no base64) · up to 9 · output ratio follows the last image

1

1–4 normally · up to 12 in group mode · billed per generated image

1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 — pair with the resolution tier

1K / 2K everywhere · 4K is Pro text-to-image only

e.g. blurry, distorted, low quality

Off by default

0–2147483647 · same seed + params gives a similar look

On by default · only active for text-to-image with no reference and no group mode

Raises the count cap to 12 · best for storyboards and comics

JSON: [[[x1,y1,x2,y2], …≤2], …] — one entry per reference image, [] to skip

JSON: 3–10 hex/ratio items summing to 100% · non-group mode only

Estimated cost~$0.02424 credits
API only

Content-filter policy for this model disables browser generation — call the API with your key to run it.

Result

Try one of these prompts

What is the Wan 2.7 Image API?

Wan 2.7 Image is Alibaba's image generation and editing model, exposed on reAPI as one async endpoint in two tiers — Standard at 1K/2K and Pro, which adds 4K for text-to-image. The same request handles text-to-image, editing and fusion from up to 9 reference images, box-targeted local edits, a custom colour palette, and sequential batches of up to 12 images across 7 aspect ratios, billed at a flat rate per image regardless of resolution.

Wan 2.7 Image sample generations and edits

What you can build with this model

Real-world workflows and production use cases you can build and ship with this model.

Wan 2.7 Image text-to-image and editing examples

Generate and edit in one model

Wan 2.7 Image is a single endpoint for two jobs. Send a prompt and it renders text-to-image; add reference images and the same call switches to editing — restyle a product shot, swap a background, fuse elements from several photos into one scene. There is no separate edit model to learn: the request shape is identical, the mode is implicit in whether you attach images, and the output ratio follows your last reference.

Open the playground
Wan 2.7 Image interactive region editing with bounding boxes

Box a region for precise edits

Pass bbox_list and Wan 2.7 Image edits exactly where you point. Box the clock on the desk, the logo on the car, the empty wall — coordinates are absolute pixels on the source image, up to two regions each — and the model composites the change with matched lighting and perspective. It is interactive inpainting through the API, no mask painting required.

Wan 2.7 Image consistent multi-image series

Batch a consistent series

Turn on group mode and Wan 2.7 Image returns a connected set — same character, same style — across up to twelve frames in one call. It is built for storyboards, comic panels, and seasonal campaign sets where continuity matters. One request, one task ID, a coherent series back, with no outer loop to script or stitch.

Pricing

Credit-based — 1 credit = $0.001 USD. Pay only for completed generations.

First test cost
$0.02424 credits

One sample at the cheapest tier (1 image).

Testing budget guide
Add credits
$10
≈ 420 tests
$50
≈ 2104 tests
$100
≈ 4208 tests
ModelCategoryPrice
wan2.7-imagePer image
$0.024
24 credits · 1 image
wan2.7-image-proPer image
$0.06
60 credits · 1 image

Why reAPI

One endpoint, every mode

Text-to-image, image editing, multi-image reference, interactive region edits, and group series all run through the same request to /api/v1/images/generations. Pick the tier with the model id — wan2.7-image or wan2.7-image-pro — and let the inputs decide the mode. No branching client code, no second model to integrate.

Up to 4K, credits in / image out

1 credit equals $0.001 USD. Wan 2.7 Image bills a flat rate per successfully generated image — independent of resolution and aspect ratio — so cost is a single multiply on your count. The Pro tier renders text-to-image up to 4K when you need print- and retina-grade detail; failed and rejected requests are never charged.

Async-first for production

Submit a Wan 2.7 Image task, get a task_id back, poll until it completes. It drops into the same task plumbing as every other reApi model, and the JSON matches the OpenAI image-generations contract — so adding Wan 2.7 Image is a model-id change, not a new integration.

Wan 2.7 Image vs Nano Banana Pro

Both generate and edit images from one API. Wan 2.7 Image leans into editing control — interactive region edits, multi-image fusion, consistent group series — with up to 4K and flat per-image pricing. Here is how the two compare on publicly documented behavior.

Capability
Wan 2.7 Image on reAPI
Nano Banana Pro
Generation + editing
One model, one request shape — text-to-image and editing switch automatically based on whether you attach reference images.
Generation and editing in one model, prompt-driven.
Interactive region edits
bbox_list targets exact pixel regions (up to two per image) — API-driven inpainting with no mask painting.
Region targeting is described in the prompt rather than by explicit coordinates.
Multi-image reference
Fuses up to nine reference images into one composition in a single call.
Accepts multiple reference images for blended edits.
Consistent series
Group mode returns up to twelve connected frames — same subject and style — in one request.
No documented single-call batch series; consistency is carried through follow-up prompts.
Resolution
1K / 2K everywhere; text-to-image up to 4K on the Pro tier.
Up to 4K output.
Pricing model
Flat per generated image, independent of resolution and aspect ratio; pay-as-you-go credits, no subscription.
Per-image pricing that scales with output resolution.

Comparison reflects publicly documented behavior at the time of writing. Model behavior and pricing can change; check the pricing card above and the API docs for current values.

Integrate Wan 2.7 Image in three steps

  1. step 01

    Create an API key

    Sign up at reApi and grab a key. Free signup credits cover dozens of Wan 2.7 Image generations — enough to ship a first hero shot or edit before topping up.

    Open
  2. step 02

    Submit a generation

    POST to /api/v1/images/generations with model: wan2.7-image-pro (or wan2.7-image), a prompt, and optional size / resolution / image_urls. Wan 2.7 Image returns a task_id immediately.

    Open
  3. step 03

    Poll the result

    GET /api/v1/tasks/:id until status is completed. The Wan 2.7 Image response carries image URLs; mirror them to your own storage if you need them long term.

    Open
docs/api/wan-2-7-image

API reference

Drop-in code and the full parameter table.

curl -X POST https://reapi.ai/api/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan2.7-image-pro",
    "prompt": "a flower shop with delicate windows and a wooden door",
    "size": "16:9",
    "resolution": "2K"
  }'

Parameter validation failed

Rejected synchronously with the failing field named. Check enum values, ranges, and URL fields — nothing is charged.

Authentication or balance issue

401 means a missing or invalid Bearer key; 402 means the reserve exceeds your balance. Manage keys and credits in the console.

Content or material rejected

Reference material and outputs pass automated moderation. Rejected tasks fail with a clear error and a full refund.

Task failed or timed out

A task that reaches a failed state is never charged — the reserve refunds automatically. Keep the task id and retry when ready.

Frequently asked questions

Common questions about this model.

Wan 2.7 Image is Alibaba's Wan image model for both generation and editing. It does text-to-image, image-to-image editing, multi-image reference fusion, interactive region edits, and consistent group series. On reApi it ships as two tiers — wan2.7-image (standard) and wan2.7-image-pro — on the unified /api/v1/images/generations endpoint.

start building

Ready to ship?

Try it in the playground or grab an API key to integrate now.