wan2.7-image-pro

by Wan

wan/wan2.7-image-pro

Generate PNG images from a text description.

Billed per
image
Price
$0.075
Provider
Wan
Timeout
5 min

Overview

Generate one to four images synchronously. This endpoint supports text prompts only; image editing and image sets are not accepted. Billing uses the number of successfully generated images reported by the provider. Availability requires a configured Singapore workspace.

Image URLs in output.choices[].message.content[].image, with usage.image_count. URLs expire after 24 hours; save images promptly. Outputs include a watermark.

Input

These go in the input object of the run request.

FieldTypeRequiredDescription
promptstringYesWhat to draw, in Chinese or English.
nintegerNoRequested image count.
sizestringNoOutput resolution; text-only images are square.

Requests up to 1 MB.

Example

A call that works, with your own key.

curl https://gateway.agentsky.dev/v1/run \
  -H "authorization: Bearer $AGENTSKY_API_KEY" \
  -H "content-type: application/json" \
  -d '{"provider":"wan","endpoint":"wan2.7-image-pro","input":{"prompt":"A blue ceramic cup on a white table","n":1,"size":"1K"}}'

Pricing

$0.075 per image on the default plan. Every run carries its price in the response.

Questions