Qwen

Wan 2.7 Image

Image
Not available
Generate Now

Wan 2.7 Image image-to-image generation with up to 9 reference images.

Type
Image to Image
Billed
per img
Provider
Wan

Pricing

/ img
Price$0.07 / img

Supported parameters

modelSettings
  • Promptprompt
  • Image Inputinput_urls
  • Aspect Ratioaspect_ratio
  • Enable Sequentialenable_sequential
  • Multiple Imagesnum_images
  • Resolutionresolution
  • Watermarkwatermark
  • Seedseed
  • Nsfw Checkernsfw_checker

Code examples

POST /v1/generations

Generations 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": "IMAGE_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

Frequently asked questions

How is Wan 2.7 Image billed on ModelStack?expand_more
Wan 2.7 Image (Image 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 Image to Image, Wan 2.7 Image also supports: Text 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, 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 `IMAGE_TO_IMAGE` — see the code example above.