Wan 2.7 Image
Generate and edit images with aspect-ratio, pixel-size, and seed controls.
- Text to image
- Image editing
Playground
Input
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.
Runs are charged to your balance.
Output
Output will appear here.
Pricing
| Option | Price per generation | fal.ai | Your savings |
|---|---|---|---|
| Standard | $0.029 | $0.03 | −5% |
Quick start
Full API reference →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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text description for image generation |
urls | string[] | 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. |
size | string | No | 1:1 | Output aspect ratio (ignored when width + height are provided)One of: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
width | number | No | — | Custom output width in pixels (requires height). Overrides size. |
height | number | No | — | Custom output height in pixels (requires width). Overrides size. |
seed | number | No | — | 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 through the API Stock API. You pay per use from a single prepaid balance — there is no subscription — and the final price scales with parameters such as resolution or duration.
How do I call the Wan 2.7 Image API?
Send a POST request to https://api.api-stock.com/api/v1/generation/create with your API key and the model id "wan2.7-image". The call returns a task id you poll, or a webhook callback when the result is ready. A ready-to-run example is in the quick start above.
What input parameters does Wan 2.7 Image accept?
Wan 2.7 Image accepts 6 input parameters, including the required field(s) prompt. Their types, defaults and allowed values are listed in the parameters table 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. Every model on API Stock — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Wan 2.7 Image without new credentials.