设计与多媒体

Alibaba Cloud AI Video AnimateAnyone

试用

Use when generating dance or motion-transfer videos with Alibaba Cloud Model Studio AnimateAnyone (`animate-anyone-gen2`) using a detected character image an...

它能做什么

Use when generating dance or motion-transfer videos with Alibaba Cloud Model Studio AnimateAnyone (`animate-anyone-gen2`) using a detected character image an...

技能文档

Category: provider

Model Studio AnimateAnyone

Validation

mkdir -p output/aliyun-animate-anyone
python -m py_compile skills/ai/video/aliyun-animate-anyone/scripts/prepare_animate_anyone_request.py && echo "py_compile_ok" > output/aliyun-animate-anyone/validate.txt

Pass criteria: command exits 0 and output/aliyun-animate-anyone/validate.txt is generated.

Output And Evidence

  • Save normalized request payloads, detection outputs, template IDs, and task polling snapshots under output/aliyun-animate-anyone/.
  • Record whether the result should keep the reference image background or the source video background.

Use AnimateAnyone when the task needs motion transfer from a template video rather than plain talking-head animation.

Critical model names

Use these exact model strings:

  • animate-anyone-detect-gen2
  • animate-anyone-template-gen2
  • animate-anyone-gen2

Selection guidance:

  • Run image detection first.
  • Run template generation on the source motion video.
  • Use animate-anyone-gen2 for the final video job.

Prerequisites

  • China mainland (Beijing) only.
  • Set DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials.
  • Input files must be public HTTP/HTTPS URLs.

Normalized interface (video.animate_anyone)

Detect Request

  • model (string, optional): default animate-anyone-detect-gen2
  • image_url (string, required)

Template Request

  • model (string, optional): default animate-anyone-template-gen2
  • video_url (string, required)

Generate Request

  • model (string, optional): default animate-anyone-gen2
  • image_url (string, required)
  • template_id (string, required)
  • use_ref_img_bg (bool, optional): whether to keep the input image background

Response

  • task_id (string)
  • task_status (string)
  • video_url (string, when finished)

Quick start

python skills/ai/video/aliyun-animate-anyone/scripts/prepare_animate_anyone_request.py \
  --image-url "https://example.com/dancer.png" \
  --template-id "tmpl_xxx" \
  --use-ref-img-bg

Operational guidance

  • The action template must come from the official template-generation API.
  • Full-body images work best when use_ref_img_bg=false; half-body images are not recommended in that mode.
  • This skill is best for dancing or large body motion transfer, not generic talking-head tasks.

Output location

  • Default output: output/aliyun-animate-anyone/request.json
  • Override base dir with OUTPUT_DIR.

References

  • references/sources.md

相关技能

Use when generating lightweight talking-head portrait videos with Alibaba Cloud Model Studio LivePortrait (`liveportrait`) from a detected portrait image and...

12 次安装

Use when generating talking, singing, or presentation videos from a single character image and audio with Alibaba Cloud Model Studio digital-human model `wan...

15 次安装

Use when generating template-driven emoji videos with Alibaba Cloud Model Studio Emoji (`emoji-v1`) from a detected portrait image. Use when producing fixed-...

13 次安装

Use when generating expressive portrait videos from a person image and speech audio with Alibaba Cloud Model Studio EMO (`emo-v1`). Use when creating non-Wan...

13 次安装

Use when generating reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash, wan2.6-r2v). Use when creating multi-shot videos...

12 次安装

Generate reference-based videos with Alibaba Cloud Model Studio Wan R2V models (wan2.6-r2v-flash, wan2.6-r2v). Use when creating multi-shot videos from refer...

42 次安装