API Stock
/IMAGE/Wan/wan2.7-image
Image
Alibaba

Wan 2.7 Image API

Generate and edit images with aspect-ratio, pixel-size, and seed controls.

  • Text to image
  • Image editing

Starting at

$0.029

per generation

5% cheaper than fal.ai
6 parameters · 1 price options

Wan 2.7 Image playground

Input

0/5000

Text description for image generation

Reference images for editing (1-4 URLs). Providing them switches the request to edit mode. Order matters: reference them as image 1, image 2, etc. in the prompt.

Sign in to run

Runs are charged to your balance.

Output

Output will appear here.

Check the price and run the model. Your result will appear here; browser use does not need an API key.

Wan 2.7 Image API pricing

OptionPrice per generationfal.aiYour savings
Standard$0.029$0.03−5%
1curl -X POST https://api.api-stock.com/api/v1/generation/create \
2 -H "Authorization: Bearer $API_STOCK_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "wan2.7-image",
6 "input": {
7 "prompt": "A cinematic shot of a city at dusk",
8 "size": "1:1"
9 }
10 }'

Parameters

NameTypeRequiredDefaultDescription
promptstringYes—Text description for image generation
urlsstring[]No—Reference images for editing (1-4 URLs). Providing them switches the request to edit mode. Order matters: reference them as image 1, image 2, etc. in the prompt.
sizestringNo1:1Output aspect ratio (ignored when width + height are provided)One of: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
widthnumberNo—Custom output width in pixels (requires height). Overrides size.
heightnumberNo—Custom output height in pixels (requires width). Overrides size.
seednumberNo—Random seed for reproducible output

Frequently asked questions

How much does Wan 2.7 Image cost?

Wan 2.7 Image starts at $0.029 per generation on API Stock. The final charge depends on the selected settings.

When was Wan 2.7 Image released?

Wan 2.7 Image was released on April 1, 2026 and is available through API Stock.

How do I get an API key for Wan 2.7 Image?

Create an account and API key on API Stock, then fund your balance. The same key works with Wan 2.7 Image and other catalog models.

How do I call the Wan 2.7 Image API?

POST to https://api.api-stock.com/api/v1/generation/create with your API key and model "wan2.7-image". Use the returned task id for polling or receive a webhook.

What input parameters does Wan 2.7 Image accept?

Wan 2.7 Image accepts 6 input parameters, including the required field(s) prompt. See their types, defaults and allowed values above.

What happens if a Wan 2.7 Image request fails?

API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.

Can I use Wan 2.7 Image with the same API key as other models?

Yes. Use your API Stock API key and balance for Wan 2.7 Image and other catalog models.