# Wan 2.7 Image > Alibaba's Wan 2.7 Image and Wan 2.7 Image Pro on Zurelay: 1K, 2K and 4K images in ten shapes, edits with up to 9 images, prices and prompting. Source: https://zurelay.com/docs/wan-image Alibaba’s Wan 2.7 Image and Wan 2.7 Image Pro: new images, edits and pictures made from up to 9 reference images, at 1K or 2K in ten shapes, and 4K from a prompt alone on Pro. Good at posters, product shots and text in the picture. ## Price | Model | Sizes | Per image | | --- | --- | --- | | [Wan 2.7 Image](https://zurelay.com/models/wan-2.7-image) | 1K, 2K | $0.026 | | [Wan 2.7 Image Pro](https://zurelay.com/models/wan-2.7-image-pro) | 1K, 2K, 4K | $0.065 | One price at every size and shape. Reference and input images cost nothing extra. ## Make an image **Python** (`main.py`): ```python import os from openai import OpenAI client = OpenAI(base_url="https://api.zurelay.com/v1", api_key=os.environ["ZURELAY_API_KEY"]) result = client.images.generate( model="wan-2.7-image", prompt="A poster for a summer jazz night on a rooftop: a saxophonist against a pink sunset, the words 'ROOFTOP JAZZ' in bold letters at the top and 'Saturday 8 pm' below", size="2K", extra_body={ "aspect_ratio": "3:4" }, ) print(result.data[0].url) ``` **Node.js** (`index.mjs`): ```javascript import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.zurelay.com/v1", apiKey: process.env.ZURELAY_API_KEY }); const result = await client.images.generate({ "model": "wan-2.7-image", "prompt": "A poster for a summer jazz night on a rooftop: a saxophonist against a pink sunset, the words 'ROOFTOP JAZZ' in bold letters at the top and 'Saturday 8 pm' below", "size": "2K", "aspect_ratio": "3:4" }); console.log(result.data[0].url); ``` **cURL**: ```bash curl https://api.zurelay.com/v1/images/generations \ -H "Authorization: Bearer $ZURELAY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "wan-2.7-image", "prompt": "A poster for a summer jazz night on a rooftop: a saxophonist against a pink sunset, the words '\''ROOFTOP JAZZ'\'' in bold letters at the top and '\''Saturday 8 pm'\'' below", "size": "2K", "aspect_ratio": "3:4" }' ``` ## Parameters - `size` (string): `1K` (the default) or `2K`, and `4K` on Wan 2.7 Image Pro for new images, or pixels like `1536x1024`, read as the nearest resolution and shape. - `aspect_ratio` (string): `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9` or `21:9`. Without it a new image is square; an edit takes the shape of the last image you send. - `images` (array): Up to 9 images to edit or work from, as links or data URLs (or files on `/v1/images/edits`), in the order the prompt names them: “Image 1”, “Image 2”. - `n` (integer): 1 to 4 images. Images are about one megapixel at 1K (1024 × 1024 square, 1376 × 768 for 16:9), four at 2K (2048 × 2048, or 2736 × 1520 for 16:9) and sixteen at 4K (4096 × 4096). An image smaller than asked, or in another shape, is retried, never delivered. ## Edits and reference images Send the images with the prompt and say what to change and what to keep. With several images, refer to them in order (“the fox from Image 1 on the car from Image 2”). Edits and reference images go up to 2K, on Pro too. **Python** (`main.py`): ```python import os import requests response = requests.post( "https://api.zurelay.com/v1/images/generations", headers={"Authorization": f"Bearer {os.environ['ZURELAY_API_KEY']}"}, json={ "model": "wan-2.7-image", "prompt": "Make it a snowy night with warm light in the windows. Keep the house exactly the same.", "images": [ "https://example.com/house.png" ], "size": "2K" }, ) response.raise_for_status() print(response.json()) ``` **Node.js** (`index.mjs`): ```javascript const response = await fetch("https://api.zurelay.com/v1/images/generations", { method: "POST", headers: { Authorization: `Bearer ${process.env.ZURELAY_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "wan-2.7-image", "prompt": "Make it a snowy night with warm light in the windows. Keep the house exactly the same.", "images": [ "https://example.com/house.png" ], "size": "2K" }), }); console.log(await response.json()); ``` **cURL**: ```bash curl https://api.zurelay.com/v1/images/generations \ -H "Authorization: Bearer $ZURELAY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "wan-2.7-image", "prompt": "Make it a snowy night with warm light in the windows. Keep the house exactly the same.", "images": [ "https://example.com/house.png" ], "size": "2K" }' ``` ## Prompting - Describe the subject, the setting, the light and the style in full sentences. - Put words that must appear in quotes and say where they go. - For edits, name what changes and what stays: “Change the jacket to red. Keep everything else the same.” ## Good to know - Images take 20 to 60 seconds at 1K and 2K; Pro’s 4K takes about 2 minutes. - Images carry no visible watermark. - Prompts the model declines return `image_not_generated`, free of charge. - Links last 24 hours; the Library in your dashboard keeps images returned as links for 30 days. More on sending images: [Image editing and reference images](https://zurelay.com/docs/image-editing).