ATRI Live2D brings a captivating desktop pet to life, utilizing voice lip sync and mouse tracking. Designed for seamless integration with the hermes agent, it offers a delightful experience with real-time expressions and interactions. Perfect for adding personality to your workspace while maintaining ease of use with local API connections.
ATRI Live2D combines the magic of digital art with advanced interactive technology to create a unique transparent desktop pet, powered by Tauri 2 and pixi-live2d-display. This application features a charming character named Sparkle (火花), who can engage and entertain users with voice lip sync, dynamic expressions, mouse tracking, and a local HTTP API.
http://127.0.0.1:3210.ATRI Live2D is designed to work with the hermes agent. When the agent generates a TTS recording, it can upload audio to Sparkle using the hermes-live2d-voice skill, leading to synchronized audio, lip movements, and expressions. To deploy this configuration:
hermes-live2d-voice skill to communicate between your Hermes agent and Sparkle.Here are some examples of how to control your desktop pet through the API:
# Health check
curl http://127.0.0.1:3210/status
# Make the pet speak (using audio and expression)
curl -X POST http://127.0.0.1:3210/speak \
-H 'Content-Type: application/json' \
-d '{"text": "hello!", "audio_url": "file:///path/to/audio.wav", "expression": 1}'
# Change the pet's expression (1-12)
curl -X POST http://127.0.0.1:3210/expression \
-H 'Content-Type: application/json' \
-d '{"name": "exp1"}'
# Display a speech bubble
curl -X POST http://127.0.0.1:3210/bubble \
-H 'Content-Type: application/json' \
-d '{"text": "thinking...", "duration": 3000}'
For more detailed API endpoint references, consult the API documentation.
ATRI Live2D offers a creative and interactive solution for users seeking to enhance their desktop environment with animated characters. By leveraging TTS powered by a hermes agent, Sparkle transforms mundane tasks into engaging interactions, making work and leisure more enjoyable.
No comments yet.
Sign in to be the first to comment.