Alibaba Wan 3.0 Video Generate

2s minimum, from 120 credits
ae_alibaba_wan_3_0_video_generate

Wan 3.0 text to video. Use when a text prompt should produce a short video.

Video
2s minimum, from 120 credits

Pricing

ConditionCharge
480p60 credits/second
720p120 credits/second
1080p240 credits/second

Charges follow the selected settings and the rates below.

Billed by generated duration. The default requested duration is 5 seconds.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedinteger | nullNoNo parameter description.—
request_body.promptstringYesText prompt for the generated video.—
request_body.durationinteger | nullNoOutput duration in seconds. Set to null for smart duration, which lets the model pick a length from the prompt and reference media.5
request_body.resolutionenum (480p | 720p | 1080p)NoOutput video resolution tier.1080p
request_body.aspect_ratioenum (adaptive | 16:9 | 4:3 | 1:1 | 3:4 | 9:16)NoOutput aspect ratio, or adaptive selection.adaptive
request_body.generate_audiobooleanNoInclude generated audio.true
request_body.enable_prompt_expansionbooleanNoEnable intelligent prompt rewriting. Disabling it can save roughly 20-60 seconds of latency but is likely to degrade generation quality.true

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit 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_alibaba_wan_3_0_video_generate' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "aspect_ratio": "9:16",
      "duration": 2,
      "generate_audio": false,
      "prompt": "竖屏9:16。极近微距特写:一双手干净利落地剥开一颗完整的赣南脐橙,果皮从顶部裂开,橙黄色瓣状果肉露出,饱满汁囊在光下有细小水珠,汁水微微迸出;动作真实有重量感。古风素雅木案、竹帘窗柔光。全画面去饱和呈冷灰调,只有赣南脐橙和剥开的果肉保留鲜艳橙黄色,是全画面唯一有颜色的物体。脐橙画法必须正确:橙黄椭圆果、顶部明显肚脐状凸起、带绿叶、哑光果皮有细密油胞与轻微凹凸;剖面必须是橙色瓣状果肉,绝不红色花状。皮肤有毛孔细纹、每只手五根手指关节正确。照片级写实,电影摄影,自然光影,浅景深,镜头稳定不抖。保持无字幕、无水印、无可辨文字、无平台UI、无品牌logo。禁止:卡通、动漫、插画、3D渲染、塑料皮肤、油光塑料橙、红色花心、多余手指、畸形手、手指粘连、变形融化、画面抖动、字幕、水印。",
      "resolution": "480p",
      "seed": null
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "c5c2629d-8811-46e5-8fca-362412112495"
}

This example shows part of the response. Copied content is valid JSON.