Logotipo de Heygen Digital Avatar

Heygen Digital Avatar

ComunidadPopular
Pluviobyte
heygen-digital-avatar

Crea y compone vídeos con humanos digitales de HeyGen en el espacio de trabajo de contenido. Úsala siempre que el usuario pida un humano digital (数字人, 数字人5), HeyGen, una persona virtual que hable con IA (AI 口播人物), un humano digital en una ventana pequeña (数字人小窗), un avatar circular que hable (圆形头像口播), un humano digital a pantalla completa o un vídeo que use el avatar existente. Exige OAuth de la CLI del plan Creator, el Digital Twin configurado, narración local con IndexTTS2, Avatar III si no se especifica el humano digital y Avatar V si se solicita el ajuste preestablecido 数字人5; en el diseño circular headroom_08, abajo a la izquierda, aplica medición facial adaptable y el desplazamiento de centrado visual aprobado y revisado por una persona, salvo que se solicite explícitamente pantalla completa. Asegura que la ubicación no interfiera con los subtítulos, reutiliza los vídeos maestros teniendo en cuenta los créditos, dirige el resultado al control de calidad y al archivo, y combínala obligatoriamente con `heygen-avatar-motion` antes de usar cualquier prompt de movimiento o generar contenido de pago.

Add to TypingMind

Descripción general

EditorPluviobyte
Repositoriornskill
Nombre de la habilidadheygen-digital-avatar
Estrellas
1.6K
Forks
181
Archivos incluidos
5
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 5

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Pluviobyte en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Heygen Digital Avatar en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Pluviobyte/rnskill/tree/main/skills/heygen-digital-avatar
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Pluviobyte/rnskill.git /tmp/rnskill
mkdir -p .claude/skills
cp -r /tmp/rnskill/skills/heygen-digital-avatar .claude/skills/heygen-digital-avatar
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Heygen Digital Avatar en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Heygen Digital Avatar automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Heygen Digital Avatar no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

HeyGen 数字人口播

Create the avatar layer for a video. Let ra-video-production-director own the whole production, captions, QC, and archive; let this skill own HeyGen auth, avatar selection, generation, and the approved avatar layout.

Before writing or approving any HeyGen motion_prompt, load and apply heygen-avatar-motion. Its motion classes and validation gate are mandatory unless the user explicitly requests a different action. Never submit a paid generation while that validation gate fails.

Fixed profile

Read references/pluviobyte-profile.json before building. Treat it as the machine-readable default. Do not substitute another look from the same avatar group.

  • Authenticate with HeyGen CLI OAuth and Creator subscription credits. Run HeyGen commands with HEYGEN_API_KEY removed from the child environment so a shell variable cannot silently switch billing lanes.
  • Use the landscape Digital Twin look the look specified in references/pluviobyte-profile.json For an unspecified digital human, use Avatar III. The exact named preset 数字人5 always means Avatar V and counts as an explicit premium-engine request; never resolve it to Avatar III. Do not silently substitute a legacy portrait look or a generated suit/scene look from the same avatar group.
  • Use local IndexTTS2 through tts-skill, voice pluvio-indextts2-calm-v1. Never ask HeyGen to synthesize the voice and never use MiniMax or another fallback for local production.
  • Treat narration approval as a hard paid-generation gate. Generate the full IndexTTS2 audition first, give the exact audio file to the user, and wait for explicit approval of that version before uploading audio to HeyGen. If the user asks for a digital human without mentioning audio approval, remind them and stop at the audition stage. Any audio edit invalidates prior approval.
  • Default to the approved headroom_08 circular avatar at the lower-left. Only use a full-screen/main-canvas avatar when the user explicitly says 全屏数字人 or an equivalent unambiguous instruction.
  • Use the compact neutral circle from the profile: 240px portrait content with one plain white border and no colored accent ring. Keep its bottom alignment stable when changing canvas ratio. Do not restore the older 300px portrait or dark-red outer ring unless the user explicitly requests a larger or emphasized avatar.
  • Do not trust one fixed crop for every generated master. The standard compositor must sample five frames, measure the face center with macOS Vision, then apply the profile's human-reviewed visual offset. For the approved black-T circle, candidate 06 places the portrait 20px below mathematical face center and keeps the horizontal offset at 0px. Remeasure the finished circle and require the average face center to land within 2px of this offset target. The profile crop is a reviewed fallback, not evidence that a new master is centered.
  • Keep captions and important content outside the avatar exclusion zone.
  • Use Avatar IV/V only after the user requests higher quality, invokes the named preset 数字人5, or Avatar III fails review. State the expected credit/cost increase before generation. Because 数字人5 is itself an explicit Avatar V instruction, do not ask the user to reconfirm the engine after giving the cost notice.

Workflow

  1. Run env -u HEYGEN_API_KEY heygen auth status. Require credential type oauth, billing type subscription, and plan creator. Stop before a paid generation if any condition differs.

  2. Generate the complete narration audition with tts-skill; require the canonical WAV and a voice_manifest.json with used_fallback=false and minimax_used=false. Check mixed-language names and technical terms before presenting the audition.

  3. Give the user the exact audition WAV (and optionally a portable MP3) and wait for an explicit confirmation such as “音频确认,可以生成数字人”. Record the approved WAV SHA-256 in media/audio-approval.json. Do not upload audio, build a HeyGen request, or consume credits before this record exists.

  4. Recompute the WAV SHA-256 immediately before upload. If it differs from the approved hash, invalidate the approval, remind the user, and return to step 3. A request to “continue”, “directly produce”, or “make the avatar” is not audio approval unless the user explicitly confirms the audition itself.

  5. Generate production captions from the approved locked audio with ra-audio-to-subtitles. Require caption-qc.json to pass before final composition.

  6. Upload the approved locked WAV with env -u HEYGEN_API_KEY heygen asset create --file <narration.wav> and save the JSON response in the project. Extract its asset ID without copying credentials into files or logs.

  7. Use heygen-avatar-motion to classify each semantic section, save the exact executable motion prompt, and pass its validation gate. Explanatory body sections default to hands fully outside the image; visible hand motion is reserved for meaningful result or conclusion zones.

  8. Resolve the engine from the named preset before building the request. For an unspecified digital human, generate one 16:9, 1080p avatar master with fit=contain and engine.type=avatar_iii. For 数字人5, generate the same single master with engine.type=avatar_v and pass the premium-engine guard:

    bash
    python3 scripts/build_request.py \
      --audio-asset-id '<asset-id>' \
      --title '<project title>' \
      --engine avatar_v \
      --allow-premium-engine \
      --output media/heygen-create-request.json
    env -u HEYGEN_API_KEY heygen video create \
      -d media/heygen-create-request.json --wait \
      > media/heygen-create-response.json
  9. Download the completed master with heygen video download. Reuse that single master for every requested aspect ratio. Do not spend a second generation merely to change crop, circle placement, background, or canvas ratio.

  10. For the default layout, overlay the master with scripts/compose_circle_avatar.py. Its default --center-mode auto samples the current master, applies the measured crop plus the reviewed visual offset, then verifies the rendered circle against that target. Archive the generated centering report. A Remotion/HyperFrames implementation must reproduce the same measurement, visual offset, and 2px gate rather than copying the fallback coordinates blindly.

  11. For explicit full-screen mode, use the HeyGen master as the main visual and skip the circular compositor. Record layout=fullscreen_explicit in the production note.

  12. Verify media streams, duration, representative frames, subtitle clearance, hair completeness, reduced headroom, voice provenance, and caption QC. Then follow ra-video-production-director for final archive delivery.

Standard compositor

Use this when the base edit is already at the requested output size:

bash
python3 scripts/compose_circle_avatar.py \
  --base <base-video.mp4> \
  --avatar <heygen-master.mp4> \
  --output <final.mp4> \
  --layout auto \
  --audio-source avatar \
  --centering-report <centering-report.json>

auto supports the approved 1920x1080 and 1080x1920 layouts. The avatar audio is authoritative for a narration-only composition. Use --audio-source base only when the locked narration is already present in the base edit. Do not mix two copies of the narration.

The adaptive face-measurement pass is mandatory for a newly generated master. --center-mode profile uses the reviewed black-T fallback crop only for diagnosis and still must pass the post-render 2px check against the reviewed visual-offset target. Use --crop-x and --crop-y together only for an explicitly reviewed manual correction. Never regenerate or spend another HeyGen credit merely to correct local framing.

Credit guard

Before generation, state how many HeyGen masters will be created. The default count is one. Layout experiments must use local recomposition and consume zero additional HeyGen credits. Save request/response JSON and the downloaded master under the project so retries can detect and reuse completed work.

Output contract

Keep these artifacts in the engineering project:

  • media/narration.wav and media/voice_manifest.json
  • media/audio-approval.json containing the explicitly approved audio SHA-256
  • media/heygen-asset-response.json
  • media/heygen-create-request.json
  • media/heygen-create-response.json
  • media/pluviobyte-avatar-master.mp4
  • production caption artifacts and caption-qc.json
  • final MP4, media probe, contact sheet, and SHA-256 record
  • centering report with the sampled frames' measurements, reviewed visual-offset target, applied source crop, final average center, per-axis target deviation, tolerance, and status: pass

Never store OAuth tokens or API keys in project artifacts.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Heygen Digital Avatar?

Crea y compone vídeos con humanos digitales de HeyGen en el espacio de trabajo de contenido. Úsala siempre que el usuario pida un humano digital (数字人, 数字人5), HeyGen, una persona virtual que hable con IA (AI 口播人物), un humano digital en una ventana pequeña (数字人小窗), un avatar circular que hable (圆形头像口播), un humano digital a pantalla completa o un vídeo que use el avatar existente. Exige OAuth de la CLI del plan Creator, el Digital Twin configurado, narración local con IndexTTS2, Avatar III si no se especifica el humano digital y Avatar V si se solicita el ajuste preestablecido 数字人5; en el dise...

¿Por qué usar Heygen Digital Avatar en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Heygen Digital Avatar está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Heygen Digital Avatar en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Pluviobyte/rnskill/tree/main/skills/heygen-digital-avatar. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Heygen Digital Avatar?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Heygen Digital Avatar?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Heygen Digital Avatar con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Heygen Digital Avatar?

Pluviobyte la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇