Overview
Transfer body motion captured in a source video onto a target subject, preserving the target's appearance and background.
Primary Endpoint
POST
/api/v1/motionTransfer/startStart motion transfer task
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | No | Name of the motion transfer task |
| image_url | string | Yes | Reference image URL for motion transfer |
| video_url | string | Yes | Control video URL for motion source |
| positive_prompt | string | No | Positive prompt for motion transfer |
| negative_prompt | string | No | Negative prompt for motion transfer |
| timeout | number | No | Processing timeout in seconds |
| webhook_url | string | No | HTTPS 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_token | string | No | Optional 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/motionTransfer/start" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Dance Motion Transfer",
"image_url": "https://example.com/person.jpg",
"video_url": "https://example.com/dance.mp4",
"positive_prompt": "high quality motion transfer, natural pose transition, smooth movement",
"negative_prompt": "blurry, distorted limbs, unnatural poses, deformation",
"timeout": 300,
"webhook_url": "https://your-server.example.com/a2e/webhook",
"webhook_token": "a-shared-secret"
}'Related Endpoints
POST
/api/v1/motionTransfer/startStart motion transfer task
GET
/api/v1/motionTransfer/allRecordsGet all motion transfer records
POST
/api/v1/motionTransfer/batchDetailBatch query task details
GET
/api/v1/motionTransfer/{_id}Get motion transfer task detail
DELETE
/api/v1/motionTransfer/{_id}Delete motion transfer task
Responses
200
Motion transfer task started successfully
400
Bad Request - Invalid parameters
401
Unauthorized - Invalid or missing bearer token