Skip to content
Docs menu

Image models

Wan2.7 Image

On this page

Wan2.7 Image — fast, high-fidelity AI image generation & editing.

modelIdwan-2-7-image
Modalityimage
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to imagePOST /api/v1/generateBase generation from a text prompt.
Image to imagePOST /api/v1/generateCondition on a reference image — upload it via /api/v1/files/upload and pass the URL.
Poll taskGET /api/v1/task/{id}?model=wan-2-7-imageRetrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
prompttextarearequiredEnter your image generation prompt here...
input_urlsimageoptionalDrag and drop or click to upload your image
bbox_listtextoptional[[x1,y1,x2,y2], …]
nnumberoptionalEnter number...
enable_sequentialselectoptionalfalse, true
resolutionselectoptional1K, 2K
thinking_modeselectoptionalfalse, true
aspect_ratioselectoptional1:1, 3:4, 4:3, 1:8, 8:1, 9:16, 16:9, 21:9
watermarkselectoptionalfalse, true
seednumberoptionalEnter number...
nsfw_checkerselectoptionalfalse, true

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"wan-2-7-image","input":{"prompt":"Turn this daytime street photo into a glowing dusk scene, warm shopfront lights switching on, long violet shadows stretching across the pavement and soft mist settling between the buildings.","bbox_list":"…","n":4,"enable_sequential":"false","resolution":"2K","thinking_mode":"true","aspect_ratio":"1:1","watermark":"false","seed":0,"nsfw_checker":"true"}}'