aliyun-animate-anyone
$
npx mdskill add cinience/alicloud-skills/aliyun-animate-anyoneGenerates motion-transfer videos using Alibaba Cloud AnimateAnyone models
- Solves motion cloning from source videos to target character images
- Depends on Alibaba Cloud Model Studio APIs and detection models
- Uses detected character and action template for animation generation
- Delivers videos with preserved background options in specified output directory
SKILL.md
.github/skills/aliyun-animate-anyoneView on GitHub ↗
--- name: aliyun-animate-anyone description: Use when generating dance or motion-transfer videos with Alibaba Cloud Model Studio AnimateAnyone (`animate-anyone-gen2`) using a detected character image and an action template. Use when cloning motion from a dance/action video into a target character image. version: 1.0.0 --- Category: provider # Model Studio AnimateAnyone ## Validation ```bash 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 ```bash 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`
More from cinience/alicloud-skills
- aliyun-adb-mysqlUse when managing Alibaba Cloud AnalyticDB for MySQL (ADB) via OpenAPI/SDK, including the user needs AnalyticDB resource lifecycle and configuration operations, status checks, or troubleshooting ADB API and cluster workflow issues.
- aliyun-adb-mysql-testSmoke test for aliyun-adb-mysql. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-aicontent-generateUse when managing Alibaba Cloud AIContent (AiContent) via OpenAPI/SDK, including the user needs AI content generation or content workflow operations in Alibaba Cloud, including listing assets, creating/updating generation configurations, checking task status, or troubleshooting failed content jobs.
- aliyun-aicontent-generate-testSmoke test for aliyun-aicontent-generate. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-aimiaobi-generateUse when managing Alibaba Cloud Quan Miao (AiMiaoBi) via OpenAPI/SDK, including the user asks for Alibaba Cloud MiaoBi content operations, including listing resources, creating/updating configurations, querying runtime status, and diagnosing API or workflow failures.
- aliyun-aimiaobi-generate-testSmoke test for aliyun-aimiaobi-generate. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-airec-manageUse when managing Alibaba Cloud AIRec (Airec) via OpenAPI/SDK, including the user needs recommendation-engine resource operations in Alibaba Cloud, including list/create/update flows, status inspection, and troubleshooting AIRec configuration or runtime issues.
- aliyun-airec-manage-testSmoke test for aliyun-airec-manage. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-alb-manageUse when managing and troubleshoot Alibaba Cloud ALB (Application Load Balancer), including the user asks to inspect, create, change, or debug ALB instances, listeners, server groups, rules, certificates, ACLs, security policies, or health checks in Alibaba Cloud.
- aliyun-alb-manage-testSmoke test for Alibaba Cloud ALB skill. Validates SDK auth, script compilation, list instances, and health check flows.