@aituber-onair/core 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +13 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -66,7 +66,7 @@ pnpm install @aituber-onair/core
66
66
  - **Conversation Context Management & Memory**
67
67
  Maintains long-running conversation context via short-, mid-, and long-term memory systems.
68
68
  - **Text-to-Speech Conversion**
69
- Compatible with multiple speech engines (VOICEVOX, VoicePeak, NijiVoice, AivisSpeech, OpenAI TTS).
69
+ Compatible with multiple speech engines (VOICEVOX, VoicePeak, NijiVoice, AivisSpeech, Aivis Cloud, OpenAI TTS).
70
70
  - **Emotion Extraction & Processing**
71
71
  Extracts emotion from AI responses and utilizes it for speech synthesis or avatar expressions.
72
72
  - **Event-Driven Architecture**
@@ -1218,6 +1218,7 @@ Possible use cases for `chatLogUpdated` include:
1218
1218
  - **VoicePeak**: Speech synthesis engine with rich emotional expression.
1219
1219
  - **NijiVoice**: AI-based speech synthesis service (requires an API key).
1220
1220
  - **AivisSpeech**: Speech synthesis using AI technology.
1221
+ - **Aivis Cloud**: High-quality Japanese text-to-speech service with SSML support, emotional intensity control, and multiple output formats (WAV, FLAC, MP3, AAC, Opus).
1221
1222
  - **OpenAI TTS**: Text-to-speech API from OpenAI.
1222
1223
  - **MiniMax**: Multi-language TTS with 24 language support and HD quality (requires both API key and GroupId - see usage example below).
1223
1224
  - **None**: No voice mode (no audio output).
@@ -1260,6 +1261,17 @@ aituber.updateVoiceService({
1260
1261
  aivisSpeechApiUrl: 'http://custom-aivis-server:10101'
1261
1262
  });
1262
1263
 
1264
+ // Example for Aivis Cloud (high-quality Japanese TTS with SSML support)
1265
+ aituber.updateVoiceService({
1266
+ engineType: 'aivisCloud',
1267
+ speaker: 'YOUR_SPEAKER_UUID', // Speaker UUID from Aivis Cloud
1268
+ apiKey: 'YOUR_AIVIS_CLOUD_API_KEY',
1269
+ // Optional parameters for advanced control
1270
+ emotionalIntensity: 1.0, // 0.0-2.0 range for emotional expression
1271
+ speakingRate: 1.0, // 0.5-2.0 range for speaking speed
1272
+ outputFormat: 'wav' // wav, flac, mp3, aac, opus
1273
+ });
1274
+
1263
1275
  // Example for MiniMax (simplified configuration)
1264
1276
  aituber.updateVoiceService({
1265
1277
  engineType: 'minimax',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aituber-onair/core",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Core library for AITuber OnAir providing voice synthesis and chat processing",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "author": "shinshin86 (https://github.com/shinshin86)",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@aituber-onair/voice": "^0.1.0"
24
+ "@aituber-onair/voice": "^0.3.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@pixiv/three-vrm": "^1.0.9"