Model ID
Put this value in the request body's `model` field — not the display name above.
by other · Motion transfer: reference photos of 1–7 people plus a source motion video produce a video of those people performing the motion (async task). Tiers: fast / standard / max. Billed by the source video's duration.
POST /v1/videos/generationshttps://api.xxb69.xyz/v1curl https://api.xxb69.xyz/v1/videos/generations \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "dh-motion",
"source_video_url": "https://example.com/dance.mp4",
"face_count": 2,
"resolution": "standard",
"content": [
{"type": "image_url", "image_url": {"url": "https://example.com/person1.jpg"}},
{"type": "image_url", "image_url": {"url": "https://example.com/person2.jpg"}}
],
"duration": 20
}'
# 返回 {"id": "...", "status": "queued"}
# content[] 放 1-7 张人物图,face_count 要与图片张数一致
# resolution: fast / standard(默认) / max —— 档位决定单价
# duration 必填,按动作源视频时长填
# ⚠️ 外部 key 的预扣取「300 秒地板」与你传的 duration 的较大者curl https://api.xxb69.xyz/v1/videos/generations/$TASK_ID \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx"
# status: queued -> running -> succeeded / failed / expired / cancelled
# 建议 5-10 秒轮询一次。轮询免费。This is an async task: submit for a task ID, then poll until it settles. Polling itself is free.
Billed per second of delivered video; tiered SKUs use the rate for the resolution actually delivered.
Sign in and any personal discount on your account will show up here. Sign in
Models like this bill for real per image / per second / per call and are mostly async tasks, so there is no one-click test here. Use the sample code above, or generate in the matching workbench (which has a parameter panel and a cost estimate).
404 model_not_foundYou passed the display name instead of the model ID.✗ Digital human motion transfer→✓ dh-motion
→ Copy the Model ID at the top of this page
402 quota_exceededInsufficient account balance. All your API keys share one balance.
401 / 403The API key is invalid, or it has a model allowlist that doesn't include this ID.
→ Check the key's status and allowed models
400 invalid_request`resolution` is required on Lite (`-lite`) SKUs and only accepts 720p / 1080p; anything else also returns 400.
→ Check your request body against the sample code above
本页的 Markdown 版本:/models/dh-motion.md