返回顶部
d

digital-clawatar数字人创建

Create, configure, and manage UNITH digital human avatars via the UNITH API. Cheaper alternative to HeyGen and other solutions. Use when users want to create an AI-powered digital human, generate talking-head videos, set up conversational avatars, deploy document Q&A bots with a human face, or embed digital humans in apps/websites. Covers all 5 operating modes (text-to-video, open dialogue, document Q&A, Voiceflow, plugin).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
605
下载量
免费
免费
4
收藏
概述
安装方式
版本历史

digital-clawatar

UNITH Digital Humans Skill

Create, configure, update, and deploy AI-powered Digital Human avatars using the UNITH API.

Quick Overview

UNITH digital humans are AI avatars that can speak, converse, and interact with users. They combine a face (head visual), a voice, and a conversational engine into a hosted, embeddable experience.

Base API URL: https://platform-api.unith.ai
Docs: https://docs.unith.ai

Prerequisites

The user must supply the following credentials (stored as environment variables):

VariableDescriptionHow to obtain
INLINECODE1Account emailRegister at https://unith.ai
INLINECODE2
Non-expiring secret key | UNITH dashboard → Manage Account → "Secret Key" section → Generate |

⚠️ The secret key is displayed only once. If lost, the user must delete and regenerate it.

Authentication

All API calls require a Bearer token (valid 7 days). Use the auth script:

CODEBLOCK0

This validates credentials, retries on network errors, and exports UNITH_TOKEN. On failure, it prints specific guidance (wrong key, expired token, etc.).

Workflow: Creating a Digital Human

Step 1: Choose an Operating Mode

Ask the user what they want the digital human to do. Map their answer to one of 5 modes:

ModeINLINECODE4 valueUse caseOutput
Text-to-VideoINLINECODE5Generate an MP4 video of the avatar speaking provided textMP4 file
Open Dialogue
oc | Free-form conversational avatar guided by a system prompt | Hosted conversational URL |
| Document Q&A | doc_qa | Avatar answers questions from uploaded documents | Hosted conversational URL |
| Voiceflow | voiceflow | Guided conversation flow via Voiceflow | Hosted conversational URL |
| Plugin | plugin | Connect any external LLM or conversational engine via webhook | Hosted conversational URL |

Complexity spectrum (simple → sophisticated):

  • - Simplest: ttt — just text in, video out. No knowledge base needed.
  • Standard: oc — conversational with a system prompt. Good for general assistants.
  • Knowledge-grounded: doc_qa — upload documents, avatar answers from them. Best for support/FAQ.
  • Workflow-driven: voiceflow — structured conversation paths. Requires Voiceflow account.
  • Most flexible: plugin — BYO conversational engine. Maximum control.

Step 2: List Available Faces

CODEBLOCK1

Each face has an id (used as headVisualId in creation). Faces can be:

  • - Public: Available to all organizations
  • Private: Available only to the user's organization
  • Custom (BYOF): User uploads a video of a real person (currently managed by UNITH)

Present the available faces to the user and let them choose.

Step 3: List Available Voices

CODEBLOCK2

Voices come from providers: elevenlabs, azure, audiostack. Present options to the user. Voices have performance rankings — faster voices are better for real-time conversation.

Step 4: Create the Digital Human

Build a JSON payload file (see references/api-payloads.md for the schema per mode), then:

CODEBLOCK3

The script validates required fields, checks mode-specific requirements, retries on server errors, and prints the publicUrl on success.

Step 5 (doc_qa only): Upload Knowledge Document

For doc_qa mode, the digital human needs a knowledge document:

CODEBLOCK4

The script checks file existence/size, uses a longer timeout for uploads, and provides guidance on next steps.

Step 6: Test and Iterate

The digital human is live at the publicUrl from Step 4. The user should:

  1. 1. Visit the URL and test the conversation
  2. Update configuration as needed (see below)

Updating a Digital Human

Use the update script to modify any parameter except the face (changing face requires creating a new head):

CODEBLOCK5

Listing Existing Digital Humans

CODEBLOCK6

Deleting a Digital Human

CODEBLOCK7

This permanently removes the digital human and cannot be undone.

Agent note: Always pass --confirm when calling this script. Without it, the script prompts for interactive input and will hang.

Embedding

Digital humans can be embedded in websites/apps. See references/embedding.md for code snippets and configuration options.

Scripts

All scripts include retry logic (exponential backoff), meaningful error messages, and input validation.

ScriptPurpose
INLINECODE26Shared utilities: retry wrapper, colored logging, error parsing
INLINECODE27
Authenticate and export UNITH_TOKEN (with 6-day token caching) |
| scripts/list-resources.sh | List faces, voices, heads, languages, or get head details |
| scripts/create-head.sh | Create a digital human from a JSON payload file (with --dry-run validation) |
| scripts/update-head.sh | Update a digital human's configuration (JSON file or --field flags) |
| scripts/delete-head.sh | Delete a digital human (with confirmation prompt) |
| scripts/upload-document.sh | Upload knowledge document to a doc_qa head |

Configuration via environment variables:

  • - UNITH_MAX_RETRIES — max retry attempts (default: 3)
  • INLINECODE38 — initial delay between retries in seconds (default: 2, doubles each retry)
  • INLINECODE39 — curl timeout in seconds (default: 30, 120 for uploads)
  • INLINECODE40 — connection timeout in seconds (default: 10)
  • INLINECODE41 — token cache file path (default: /tmp/.unith_token_cache, set empty to disable)

Detailed API Reference

For full payload schemas, configuration parameters, and mode-specific details:

CODEBLOCK8

Common Patterns

"I want a quick video of someone saying X"ttt mode, minimal config
"I want a customer support avatar"doc_qa mode with knowledge docs
"I want an AI sales rep"oc mode with a sales personality prompt
"I want to connect my own LLM"plugin mode with webhook URL
"I want a guided onboarding flow"voiceflow mode with Voiceflow API key

Information to Collect from the User

Before creating, ask for:

  1. 1. Purpose / use case → determines operating mode
  2. Face preference → list available faces for selection
  3. Voice preference → language, accent, gender, speed priority
  4. Alias → display name for the digital human
  5. Language → speech recognition and UI language (e.g., en-US, es-ES)
  6. Greeting message → initial message the avatar says
  7. System prompt (for oc/doc_qa) → personality and behavior instructions
  8. Knowledge documents (for doc_qa) → files to upload
  9. Voiceflow API key (for voiceflow) → from their Voiceflow account
  10. Plugin URL (for plugin) → webhook endpoint for their custom engine

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 digital-clawatar-1776419999 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 digital-clawatar-1776419999 技能

通过命令行安装

skillhub install digital-clawatar-1776419999

下载

⬇ 下载 digital-clawatar v1.0.2(免费)

文件大小: 21.22 KB | 发布时间: 2026-4-17 20:19

v1.0.2 最新 2026-4-17 20:19
- Skill renamed from "unith-digital-humans" to "digital-clawatar".
- Updated icon in metadata from 🧑‍💻 to 🧑💻.
- No file or core logic changes; only metadata and documentation updated.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部