Wide LabsCompute

Wan 2.7 Image Pro

Wan-AI/Wan2.7-Image-Pro Alibaba WanText → imageREST
Price$0.07 /image
EndpointPOST /v2/image/wan-2-7-image-pro/generateREST
Example output of Wan 2.7 Image Pro: Fresh figs, green olives, white cheese and warm bread on a rustic wooden table, Aegean summer light, overhead food photo
Example output

Made with Wan 2.7 Image Pro

“Fresh figs, green olives, white cheese and warm bread on a rustic wooden table, Aegean summer light, overhead food photography”

size: 1K

One request to this model through the API, at list price; resized for the web.

Try this prompt

Quick start

Send a JSON request to the endpoint below; the response carries the result.
curl -X POST https://api.widelabs.tr/v2/image/wan-2-7-image-pro/generate \
  -H "Authorization: Bearer $WIDELABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "A lighthouse on a rocky coast at dusk, warm lamplight, painterly style",
  "size": "1K",
  "seed": 123456,
  "model": "Wan-AI/Wan2.7-Image-Pro"
}'
import os
import requests

resp = requests.post(
    "https://api.widelabs.tr/v2/image/wan-2-7-image-pro/generate",
    headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
    json={
        "prompt": "A lighthouse on a rocky coast at dusk, warm lamplight, painterly style",
        "size": "1K",
        "seed": 123456,
        "model": "Wan-AI/Wan2.7-Image-Pro"
    },
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.widelabs.tr/v2/image/wan-2-7-image-pro/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "A lighthouse on a rocky coast at dusk, warm lamplight, painterly style",
    size: "1K",
    seed: 123456,
    model: "Wan-AI/Wan2.7-Image-Pro"
  }),
});
console.log(await resp.json());

Parameters

NameTypeDescription
store_output"provider" | "wl1d" | "wl7d" | "wl30d"
default "provider"
Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,…
promptstringText prompt (Chinese or English).
modelstring
default "Wan-AI/Wan2.7-Image-Pro"
Image generation model. Available: 'Wan-AI/Wan2.7-Image-Pro' (default).
imagestringSingle input image to edit — an https URL or a data URI (data:image/png;base64,...). For several, use `images` instead; if you send both, the upstream uses `images`.
imagesstring[]Multiple input images for fusion or editing, each an https URL or a data URI. Takes precedence over `image`.
sizestringOutput size: the preset `1K`, `2K` or `4K`, or exact pixels as `<width>x<height>` (e.g. `2048x2048`). Omit to let the upstream choose. Price is the same at every size — see /v2/pricing.
ninteger
default 1
Number of images to generate: 1-4, or up to 16 together with `enable_sequential`. **Every image returned is billed**, so `n: 2` costs twice `n: 1` — and so does the per-file charge when you pass `store_output`.
seedintegerRandom seed for reproducible output. Omit for a random one.
watermarkboolean
default false
Add the upstream's AI-generated watermark
thinking_modeboolean
default false
Enable the model's deep-thinking mode (slower, more considered)
enable_sequentialboolean
default false
Generate a sequential group — a set of related images rather than variations. Pair with `n`, and it lifts the 4-image cap.
webhook_urlstringHTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification.

Start building on Wide Labs Compute

Create an account, add credit and send your first request with the SDK you already use.