Developer Docs/Wan 3.0 Video API

Wan 3.0 Video API

Build Wan 3.0 Video integrations with A2E. Review authentication, request parameters, task creation, status, and result endpoints.

Overview

Build Wan 3.0 Video integrations with A2E. Review authentication, request parameters, task creation, status, and result endpoints.

Primary Endpoint

POST/api/v1/userWan30/start

Start Wan3.0 all-in-one video generation

Request Parameters

NameTypeRequiredDescription
namestringNo-
modelenum: wan3.0-video | wan3.0-video-primeYes-
modeenum: text-to-video | first-frame | first-last-frames | referenceNo-
inputobjectYes-
parametersobjectYes-
webhook_urlstringNoHTTPS URL to receive task.completed / task.failed notifications. Best-effort delivery, single attempt, no retries; clients should treat the detail API as the source of truth.
webhook_tokenstringNoOptional plaintext token returned in the X-A2e-Webhook-Token header so receivers can verify the request originated from a2e.

Request Example

curl -X POST "https://www.a2e.com.cn/api/v1/userWan30/start" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "My generation task",
  "model": "wan3.0-video",
  "mode": "text-to-video",
  "input": {},
  "parameters": {},
  "webhook_url": "https://your-server.example.com/a2e/webhook",
  "webhook_token": "a-shared-secret"
}'

Responses

200

Task created

400

Invalid mode, media combination, or generation parameter

401

Unauthorized - Invalid or missing bearer token

503

Provider or Wan3.0 pricing is not configured