К основному содержанию
скилл CX Codex

flyworks-avatar-video — скилл для Claude Code: видео с цифровыми

Скилл генерирует видео с говорящими цифровыми аватарами Flyworks (HiFly): публичные аватары, talking photo из одной картинки, клонирование голоса.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add freestylefly/canghe-skills --skill flyworks-avatar-video -a claude-code
npx skills add freestylefly/canghe-skills --skill flyworks-avatar-video-1.0.0 -a claude-code
Открыть на GitHub

Что делает flyworks-avatar-video

Скилл даёт агенту доступ к API Flyworks (HiFly 飞影数字人) через один Python-скрипт scripts/hifly_client.py. Он умеет три вещи: собирать видео из текста или аудио на готовом публичном аватаре, делать «говорящее фото» из одной картинки и клонировать голос по образцу записи. Список доступных аватаров и голосов агент получает командами list_public_avatars и list_public_voices, а статус задачи проверяет через check_task --id "TASK_ID".

Для работы нужен Python 3 и сетевой доступ к hfw-api.hifly.cc. Скилл стартует на бесплатном токене по умолчанию, но на нём видео получают водяной знак и обрезаются до 30 секунд. Свой ключ берут в настройках пользователя на hifly.cc или flyworks.ai и кладут в переменную окружения: export HIFLY_API_TOKEN="your_token_here". Если водяной знак и лимит длительности для вас критичны, бесплатный режим сразу отпадает.

Агент ведёт себя по прописанным правилам: для генерации нужны и текст, и голос, поэтому при одном только тексте он сначала заглянет в локальную память (manage_memory list), а потом спросит, какой голос использовать — публичный или клонированный. Созданные аватары и голоса можно сохранить под алиасом через manage_memory add, чтобы не искать их заново. Полезно, если вы делаете серию роликов с одним и тем же лицом и голосом.

Какие задачи решает

  • сделать говорящее видео из одной фотографии
  • озвучить текст публичным голосом без записи своей студии
  • клонировать голос по образцу аудио
  • собрать серию роликов с одним аватаром и голосом
  • сохранить ID аватаров и голосов под понятными именами

Примеры запросов агенту

  • Сделай talking photo из user_photo.jpg с текстом «this is my AI twin», голос выбери сам
  • Сгенерируй видео с публичным аватаром: текст «Welcome to our service», подбери голос из списка
  • Клонируй голос из assets/voice.MP3 и сохрани его как my_voice

Как установить flyworks-avatar-video

1Через Skills CLI (Vercel)

npx skills add freestylefly/canghe-skills --skill flyworks-avatar-video -a claude-code
npx skills add freestylefly/canghe-skills --skill flyworks-avatar-video-1.0.0 -a claude-code

2Вручную: положить файлы

~/.claude/skills/flyworks-avatar-video-1.0.0/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/flyworks-avatar-video-1.0.0/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора8

canghe-image-gen Скилл для генерации картинок через OpenAI, Google, DashScope и Canghe. Помогает создавать изображения по тексту и референсам прямо в диалоге с агентом. CX Codex +1 594установок canghe-comic Скилл превращает статью или заметку в комикс: раскладка панелей, персонажи, промпты и готовый PDF. Пригодится, когда нужно объяснить тему картинками. CX Codex +1 578установок canghe-cover-image Скилл анализирует статью и строит визуальную обложку с выбором палитры, стиля и формата кадра. Выручит блогеров при подготовке публикаций. CX Codex +1 541установок canghe-markdown-to-html Конвертирует Markdown в оформленный HTML с инлайновыми стилями для WeChat. Поддерживает диаграммы PlantUML, подсветку кода и формулы. CX Codex +1 532установок canghe-article-illustrator Разбирает статью по структуре, находит места, где нужна картинка, и генерирует иллюстрации по двум осям: тип и стиль. CX Codex +1 518установок release-skills Автоматизирует выпуск релизов, обновление версий и ведение многоязычных чейнджлогов. Сгодится для репозиториев на Node.js, Python и Rust. CX Codex +1 472установок paddleocr-doc-parsing Скилл разбирает PDF и картинки через PaddleOCR: текст, таблицы, формулы, графики и порядок чтения. Пригодится, когда нужно вытащить структуру из отчёта или статьи. CX Codex +1 369установок

Похожие

p-video-avatar 101-skills Скилл превращает портрет в говорящее видео через Pruna P-Video-Avatar и CLI inference.sh. Пригодится для демо, объяснялок и локализации. CX Codex +1 12 300установок avatar-video calesthio Создавай видео с AI-аватарами, где ты выбираешь персонажа, голос, текст и фон для каждой сцены. Нужен API-ключ HeyGen. CX Codex +1 1 100установок ai-avatar-video prime-skills Генерирует видео с говорящими аватарами и синхронизацией губ через CLI RunComfy. Маршрутизирует запросы к OmniHuman, Wan 2-7, HappyHorse и Seedance v2. CX Codex +1 379 900установок omnivoice-tts reason-machines Скилл для работы с OmniVoice: клонирование голоса по образцу, генерация речи по описанию и пакетный синтез из Python или CLI. CX Codex +1 680установок elevenlabs digitalsamba Набор инструкций для генерации озвучки, звуковых эффектов и клонирования голоса через ElevenLabs API. Пригодится при монтаже видео или записи подкастов. CX Codex +1 1 200установок video-toolkit calesthio Автоматизирует создание видео: генерирует закадровый голос, музыку, анимирует говорящие головы, компонует сцены через Remotion. Нужны Node.js, Python3, ffmpeg и доступ к облачным GPU (Modal или RunPod). CX Codex +1 1 100установок

Рядом в теме «ИИ и ML»

Всё по теме «ИИ и ML» →

Вопросы о flyworks-avatar-video

Как установить flyworks-avatar-video в Claude?

Выполните npx skills add freestylefly/canghe-skills --skill flyworks-avatar-video -a claude-code, затем npx skills add freestylefly/canghe-skills --skill flyworks-avatar-video-1.0.0 -a claude-code. После этого файл скилла лежит в ~/.claude/skills/flyworks-avatar-video-1.0.0/SKILL.md.

Что делает flyworks-avatar-video?

Генерирует видео с цифровыми аватарами Flyworks: публичный аватар с TTS, talking photo из картинки и клонирование голоса. Всё идёт через scripts/hifly_client.py.

Что нужно для работы скилла?

Python 3 и сетевой доступ к hfw-api.hifly.cc. Бесплатный токен по умолчанию оставляет водяной знак и лимит в 30 секунд, свой ключ задаётся через export HIFLY_API_TOKEN="your_token_here".

Исходный текст

SKILL.md · MIT
---
name: flyworks-avatar-video
description: Generate videos using Flyworks (a.k.a HiFly) Digital Humans. Create talking photo videos from images, use public avatars with TTS, or clone voices for custom audio.
license: MIT
compatibility: Requires Python 3 and network access to hfw-api.hifly.cc
---

# Avatar Video Generation Skill

This skill allows you to generate videos using Flyworks (a.k.a HiFly 飞影数字人) Digital Humans. Available features:
1.  **Public Avatar Video**: Create video from text or audio using pre-made highly realistic avatars.
2.  **Talking Photo**: Create a "talking photo" video from a single image and text/audio.
3.  **Voice Cloning**: Clone a voice from an audio sample to use in TTS.

For detailed documentation, see the [references/](references/) folder:
- [authentication.md](references/authentication.md) - API token setup
- [avatars.md](references/avatars.md) - Working with avatars
- [voices.md](references/voices.md) - Voice selection and cloning
- [video-generation.md](references/video-generation.md) - Video creation workflow

## API Token & Limitations

This skill works with a default free-tier token, but it has limitations:
- **Watermark**: Generated videos will have a watermark.
- **Duration Limit**: Videos are limited to 30 seconds.

**To remove limitations:**
1.  Register at [hifly.cc](https://hifly.cc) or [flyworks.ai](https://flyworks.ai).
2.  Get your API key from [User Settings](https://hifly.cc/setting).
3.  Set the environment variable: `export HIFLY_API_TOKEN="your_token_here"`

## Tools

### `scripts/hifly_client.py`

The main entry point for all operations.

#### Usage

```bash
# List available public avatars
python scripts/hifly_client.py list_public_avatars

# List available public voices
python scripts/hifly_client.py list_public_voices

# Create a video with a public avatar (TTS)
python scripts/hifly_client.py create_video --type tts --text "Hello world" --avatar "avatar_id_or_alias" --voice "voice_id_or_alias"

# Create a video with a public avatar (Audio URL or File)
python scripts/hifly_client.py create_video --audio "https://... or path/to/audio.mp3" --avatar "avatar_id_or_alias"

# Create a talked photo video using bundled assets
python scripts/hifly_client.py create_talking_photo --image assets/avatar.png --title "Bundled Avatar"

# Clone a voice using bundled assets
python scripts/hifly_client.py clone_voice --audio assets/voice.MP3 --title "Bundled Voice"

# Check status of generated tasks
python scripts/hifly_client.py check_task --id "TASK_ID"

# Manage local aliases (saved in memory.json)
python scripts/hifly_client.py manage_memory add my_avatar "av_12345"
python scripts/hifly_client.py manage_memory list
```

## Examples

### 1. Create a simple greeting video
```bash
# First find a voice and avatar
python scripts/hifly_client.py list_public_avatars
python scripts/hifly_client.py list_public_voices

# Generate
python scripts/hifly_client.py create_video --type tts --text "Welcome to our service." --avatar "av_public_01" --voice "voice_public_01"
```

### 2. Use a custom talking photo
```bash
# Create the avatar from an image URL
python scripts/hifly_client.py create_talking_photo --image "https://mysite.com/photo.jpg" --title "CEO Photo"
# Output will give you an Avatar ID, e.g., av_custom_99

# Save it to memory
python scripts/hifly_client.py manage_memory add ceo av_custom_99

# Generate video using the new avatar
python scripts/hifly_client.py create_video --type tts --text "Here is the quarterly report." --avatar ceo --voice "voice_public_01"
```

## Agent Behavior Guidelines

When assisting users with video generation, follow these guidelines:

### Voice Selection Required

**Video generation requires both text AND a voice.** If the user provides text but no voice:

1. **Check local memory first**: Run `manage_memory list` to see if the user has saved any voice aliases.
2. **Ask the user to choose**:
   - "I see you want to create a video with the text '[text]'. Which voice would you like to use?"
   - If they have saved voices: "You have these saved voices: [list]. Or would you prefer a public voice?"
   - If no saved voices: "Would you like to use a public voice, or clone your own voice from an audio sample first?"

3. **Help them select**:
   - To see public voices: `list_public_voices`
   - To clone a voice: `clone_voice --audio [file] --title [name]`

### Complete Workflow Example

For a prompt like *"Create a talking photo video from my photo saying 'this is my AI twin'"*:

1. Ask: "Which voice would you like for your AI twin? You can use a public voice or clone your own."
2. If they want to clone: Help them with `clone_voice`
3. Create the talking photo with both text and voice:
   ```bash
   python scripts/hifly_client.py create_talking_photo \
     --image user_photo.jpg \
     --text "this is my AI twin" \
     --voice SELECTED_VOICE_ID \
     --title "My AI Twin"
   ```

### Saving for Later

After creating avatars or cloning voices, offer to save them:
```bash
python scripts/hifly_client.py manage_memory add my_avatar AVATAR_ID --kind avatar
python scripts/hifly_client.py manage_memory add my_voice VOICE_ID --kind voice
```

© freestylefly · MIT · freestylefly/canghe-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой