aliyun-emoji
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Use when generating template-driven emoji videos with Alibaba Cloud Model Studio Emoji (`emoji-v1`) from a detected portrait image. Use when producing fixed-style meme or emoji motion clips from a single face image and a selected template ID.
8installs
Sourcecinience/alicloud-skills
Added on
NPX Install
npx skill4agent add cinience/alicloud-skills aliyun-emojiTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Category: provider
Model Studio Emoji
Validation
bash
mkdir -p output/aliyun-emoji
python -m py_compile skills/ai/video/aliyun-emoji/scripts/prepare_emoji_request.py && echo "py_compile_ok" > output/aliyun-emoji/validate.txtPass criteria: command exits 0 and is generated.
output/aliyun-emoji/validate.txtOutput And Evidence
- Save normalized request payloads, detected face boxes, selected template ID, and task polling snapshots under .
output/aliyun-emoji/ - Record the exact portrait URL and whether detection passed.
Use Emoji when the user wants a fixed-template facial animation clip rather than open-ended video generation.
Critical model names
Use these exact model strings:
emoji-detect-v1emoji-v1
Selection guidance:
- Run first to obtain
emoji-detect-v1andface_bbox.ext_bbox_face - Use only after detection succeeds.
emoji-v1
Prerequisites
- China mainland (Beijing) only.
- Set in your environment, or add
DASHSCOPE_API_KEYtodashscope_api_key.~/.alibabacloud/credentials - Input image must be a public HTTP/HTTPS URL.
Normalized interface (video.emoji)
Detect Request
- (string, optional): default
modelemoji-detect-v1 - (string, required)
image_url
Generate Request
- (string, optional): default
modelemoji-v1 - (string, required)
image_url - (array<int>, required)
face_bbox - (array<int>, required)
ext_bbox_face - (string, required)
template_id
Response
- (string)
task_id - (string)
task_status - (string, when finished)
video_url
Quick start
bash
python skills/ai/video/aliyun-emoji/scripts/prepare_emoji_request.py \
--image-url "https://example.com/portrait.png" \
--face-bbox 302,286,610,593 \
--ext-bbox-face 71,9,840,778 \
--template-id emoji_001Operational guidance
- Use a single-person, front-facing portrait with no face occlusion.
- Template IDs come from the official template list or console experience; do not invent them in production calls.
- Emoji output is a person video clip, not a sticker pack or text overlay asset.
Output location
- Default output:
output/aliyun-emoji/request.json - Override base dir with .
OUTPUT_DIR
References
references/sources.md