Wan 2.7 Image
ImageNot available
Wan 2.7 Image text-to-image generation. Supports multi-image sequential mode, color palettes, and bounding boxes.
- Type
- Text to Image
- Billed
- per img
- Provider
- Wan
Pricing
/ imgPrice$0.07 / img
Supported parameters
modelSettings- Promptprompt
- Image Inputinput_urls
- Aspect Ratioaspect_ratio
- Enable Sequentialenable_sequential
- Multiple Imagesnum_images
- Resolutionresolution
- Thinking Modethinking_mode
- Watermarkwatermark
- Seedseed
- Nsfw Checkernsfw_checker
Code examples
POST /v1/generationsGenerations are async — the request returns immediately with an id; poll for the result.
python
import requests
response = requests.post(
"https://api.modelstack.cc/v1/generations",
headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
json={
"type": "TEXT_TO_IMAGE",
"prompt": "A serene mountain landscape at sunset",
"model": "wan/2-7-image",
"modelSettings": {
"aspect_ratio": "16:9",
"resolution": "1K"
}
},
)
generation_id = response.json()["data"]["id"]
# Poll for the result
result = requests.get(
f"https://api.modelstack.cc/v1/generations/{generation_id}",
headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
).json()
print(result["data"]["status"])Related models
Other generation types for this model
More from Wan
Frequently asked questions
How is Wan 2.7 Image billed on ModelStack?expand_more
Wan 2.7 Image (Text to Image) is billed at a flat, prepaid rate of $0.07 / img — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Wan 2.7 Image support?expand_more
Besides Text to Image, Wan 2.7 Image also supports: Image to Image.
Which parameters does Wan 2.7 Image support?expand_more
Wan 2.7 Image supports: Prompt, Image Input, Aspect Ratio, Enable Sequential, Multiple Images, Resolution, Thinking Mode, Watermark, Seed, Nsfw Checker.
How can I generate with Wan 2.7 Image?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `wan/2-7-image` and type `TEXT_TO_IMAGE` — see the code example above.