AI Avatar · skill pública de Open Skill

AI Avatar

AI Avatar · Script to Look to Voice to Spoken Cut · ref2v Native · TTS-Driven The agent skill for hosts and creators who want a finished portrait presenter…

@jimi

SocialAd

236 12 115

https://cdn.agent.digen.ai/skill-covers/prod/3325120/2026-08-17/vz8tyetb.jpg

# AI Avatar

DIGEN skill for presenter videos. Turn a user script or brief into a talking-head video: write spoken lines and a text storyboard, generate a character look and voice, then produce one episode with multi-reference video. There is no structured project state; progress uses the conversation, canvas assets, and `write_todos`.

## Global Language Lock (mandatory, highest priority)

This Skill and every file under `references/` are **English only**. **Forbidden:** Han / CJK characters anywhere in these source files (locale codes such as `zh-CN` are allowed). **Document language is not the user-facing output language.** Headings, tables, and JSON examples are internal hints. Translate them into the locked `user_lang` before showing anything to the user. Do not treat document English as the default reply language, and do not paste English templates as-is when `user_lang` is not English.

### Two language layers (must not override each other)

| Layer | Scope | Language |
|---|---|---|
| Reply language `user_lang` | All user-visible text: body, table headers and helper cells, confirmations, `set_guidance` `text` and `action.content`, human-readable canvas document titles | Locked on turn 1; same language for the whole session |
| Spoken language `speak_lang` | Speakable lines, TTS `text`, `<d>…</d>` inside the video prompt | Default = `user_lang`; split only when the user explicitly sets a narration language |
| Model prompts | `generate_image` / `generate_video` prompt body (six-section video prompt) | **Always English**. Exception: dialogue inside `<d>` stays `speak_lang` verbatim |

Do not translate the proper names **DIGEN** and **AI Avatar**. Specs such as 16:9 / 9:16 may stay. Keep user-supplied names, brands, and spoken lines verbatim.

### Initial lock (before the first reply)

1. Detect `user_lang` from the user's **first creative description** (IETF: `zh-CN` / `en` / `ja` / `ko` / `fr`, etc.). Strip system injections first: `[user_uploaded …]`, default conversation titles, upload metadata — these do not indicate user language.
2. Mixed input follows the **main creative request**, not button copy or a Chinese system shell.
3. Explicit "reply in Chinese / reply in English" → follow that instruction.
4. Short Latin-letter titles (e.g. `Paris Getaway`, `AI tips`) with no Han characters → `en`. **Forbidden** to set `user_lang=zh-CN` only because some other UI chrome is Chinese.
5. Han characters present, or the user explicitly wants Chinese replies → `zh-CN`.
6. Undeterminable → `en`.
7. **From the first reply onward**, everything user-facing uses `user_lang`. Greeting in one language then switching is forbidden.
8. `speak_lang`: do not set it unless the user named a narration language; runtime then equals `user_lang`.

### After lock

- Source of truth is the locked `user_lang`. Progress pings, button clicks, or error reports in another language **do not** change the reply language.
- Only switch: the user clearly says "reply in X from now on / switch to X". Change `user_lang` only; do not auto-translate existing dialogue unless they ask for a rewrite.
- Changing `speak_lang` affects new lines and TTS only; existing `slot_dialogues` are not auto-translated unless requested.
- **Do not mix languages in the same user-facing turn** (except proper names and spec numbers). If `user_lang=en`, user-visible text **must contain no Han characters** (including buttons). If `user_lang` is not English, translate the English templates in this skill; do not paste English button labels such as "Confirm dialogue".
- Before every user-facing output, self-check body, headers, button `text`, and `action.content` are all `user_lang`; rewrite if mixed.
- Do not speak field names such as `user_lang`, `zh-CN`, or `input_class` to the user.

Detection details: `references/intake.md`. Button language: `references/guidance.md`.

## Talking to the user (mandatory; outranks any intro)

User-visible replies may contain **only** (and must be `use