Wan 27 Image Pro Text To Image
Usage-based pricing
ae_wan_27_image_pro_text_to_image
Create up to five images from an English or Chinese text prompt, with options for size and details to avoid.
Usage-based pricing
Pricing
The charge per call is (max(90 × successfully generated images, 0)) AE credits. All applicable conditions are combined to calculate the total.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.seed | integer | unknown | No | Random seed for reproducibility (0-2147483647). | — |
request_body.prompt | string | Yes | Text prompt describing the desired output. Supports Chinese and English. | — |
request_body.image_size | object | string | No | Output image size. | square_hd |
request_body.image_size.width | integer | No | The width of the generated image. | 512 |
request_body.image_size.height | integer | No | The height of the generated image. | 512 |
request_body.max_images | integer | No | Maximum number of images to generate (1-5). | 1 |
request_body.negative_prompt | string | unknown | No | Content to avoid in the generated image. Max 500 characters. | "" |
request_body.enable_safety_checker | boolean | No | Enable content moderation for input and output. | true |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeySubmit first, then query with the returned task_id until the task completes.
Request coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_wan_27_image_pro_text_to_image' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image_size": "square_hd",
"max_images": 1,
"negative_prompt": "文字,水印,logo,畸形,多只动物,过度锐化,低分辨率",
"prompt": "秋日午后,一只橘猫蜷在木质窗台上打盹,窗外是金黄的银杏叶,柔和逆光洒进室内,空气里有细小浮尘,浅景深,胶片质感,写实摄影,暖色调,毛发细节细腻,构图安静治愈"
}
}
}'Response exampleresponse.json
{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "b83f6efc-61e5-4fc3-a2ac-dfcd66ee2ddb"
}Guides using this tool
See how this tool fits into real workflows
Text-to-Image Model Comparison on One PlatformRun the same prompt across multiple text-to-image models on one platform and have an AI agent compare them on realism, illustration and in-image text — pick the right model without signing up and paying for each one.
AI Image Generation Workflow with AgentEarthUse natural language to make an AI agent generate posters, illustrations and concept art, compare the same prompt across multiple text-to-image models, and refine the winner in place.





