wan2.7-image-pro
wan/wan2.7-image-proGenerate PNG images from a text description.
- image
- $0.075
- Wan
- 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.
| Field | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | What to draw, in Chinese or English. |
| n | integer | No | Requested image count. |
| size | string | No | Output 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.
