avatar-voice
БесплатноБез исполняемых скриптовНе проверенTranscribe audio, synthesize speech and generate ARKit lipsync viseme tracks for avatars with @three-ws/voice. Use when an agent needs ASR, TTS or a face…
от nirholas★ 289 звёзд на GitHubОб этом скилле
Avatar voice with @three-ws/voice
Wraps the three.ws speech endpoints. The default lanes (NVIDIA Riva ASR, Magpie TTS, Audio2Face-3D) are free and need no key.
Install
npm install @three-ws/voice
Node 18 or newer. Base URL defaults to https://three.ws (baseUrl option on createVoice).
Functions
transcribe(audio, { format, language, sampleRate, words }):POST /api/asr.audiois a Blob, ArrayBuffer or Uint8Array.formatiswav,pcm,flacorogg(WebM/Opus is rejected). Returns{ text, confidence, language, words? }.speak(text, { voice, format, speed, model }):POST /api/tts/speak.formatismp3,wav,opus,aac,flacorpcm.modelistts-1,tts-1-hdorgpt-4o-mini-tts. Returns{ blob, contentType, voice, bytes }.lipsync(audio, { format: 'wav' | 'pcm', sampleRate }):POST /api/a2f. Returns aFaceTrackwithfps,blendShapeNamesandframes: [{ t, w: number[] }](ARKit blendshape weights,tin seconds).say(text, { voice }): synthesize and animate in one round trip. Returns{ audio, animation }.voices(): live catalog{ default, voices: [{ id, name, description }] },GET /api/tts/voices.asrInfo()andlipsyncInfo(): probe whether each lane is configured.createVoice({ baseUrl, fetch, apiKey, headers }): reusable client.
Example
import { voices, speak, lipsync, transcribe, say } from '@three-ws/voice';
const catalog = await voices();
const clip = await speak('Hello from the avatar.', { voice: 'nova', format: 'wav' });
const face = await lipsync(clip.blob);
const heard = await transcribe(clip.blob, { format: 'wav' });
const both = await say('One round trip.', { voice: 'nova' });
console.log(face.frameCount, heard.text, both.animation.fps);
Drive an avatar by applying each frame's w weights to the morph targets named in blendShapeNames, timed from audio start. A runnable end to end script ships in examples/voice-loop.mjs (node examples/voice-loop.mjs).
Errors are ThreeWsError (code, status, detail, retryAfter). A 402 is PaymentRequiredError, which only appears on paid fallback lanes.
Установить avatar-voice в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл avatar-voice?
Transcribe audio, synthesize speech and generate ARKit lipsync viseme tracks for avatars with @three-ws/voice. Use when an agent needs ASR, TTS or a face animation from audio.
Как установить скилл avatar-voice?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл avatar-voice запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic