API Documentation#
This page summarizes Orchestrator service APIs.
WebSocket Endpoints#
1. Audio Conversation (Text LLM)#
Endpoint:
/api/v4/audio_chat_with_text_llmDescription: Audio streaming conversation using text modal LLM for conversation processing
Request Model:
AudioChatCompleteStartRequestV4
2. Audio Conversation (Audio LLM)#
Endpoint:
/api/v4/audio_chat_with_audio_llmDescription: Audio streaming conversation using audio modal LLM for conversation processing
Request Model:
AudioChatExpressStartRequestV4
3. Text Conversation (Text LLM)#
Endpoint:
/api/v4/text_chat_with_text_llmDescription: Text conversation using text modal LLM for conversation processing
Request Model:
TextChatCompleteRequestV4
4. Text Conversation (Audio LLM)#
Endpoint:
/api/v4/text_chat_with_audio_llmDescription: Text conversation using audio modal LLM for conversation processing
Request Model:
TextChatExpressRequestV4
5. Direct Animation Generation#
Endpoint:
/api/v4/text_generateDescription: Direct animation generation from text without conversation
Request Model:
DirectGenerationRequest
HTTP Endpoints#
1. Health Check#
Endpoint:
GET /healthorGET /api/v4/healthDescription: Check service health status
Response:
{"status": "healthy"}
2. Logging#
View Logs
Endpoint:
GET /tail_log/{n_lines}orGET /api/v4/tail_log/{n_lines}Description: Get the last N lines of the log file
Parameters:
n_lines- Number of lines to retrieveResponse: HTML formatted log content
Download Logs
Endpoint:
GET /download_log_fileDescription: Download complete log file
Response: Binary log file
3. Adapter Selection#
ASR Adapter
Endpoint:
GET /api/v4/asr_adapter_choicesDescription: Get available ASR (Speech Recognition) adapter list
Response:
AdapterChoicesResponse
TTS Adapter
Endpoint:
GET /api/v4/tts_adapter_choicesDescription: Get available TTS (Text-to-Speech) adapter list
Response:
AdapterChoicesResponse
Conversation Adapter
Endpoint:
GET /api/v4/conversation_adapter_choicesDescription: Get available LLM adapter list
Response:
AdapterChoicesResponse
Reaction Adapter
Endpoint:
GET /api/v4/reaction_adapter_choicesDescription: Get available reaction adapter list
Response:
AdapterChoicesResponse
Classification Adapter
Endpoint:
GET /api/v4/classification_adapter_choicesDescription: Get available classification adapter list
Response:
AdapterChoicesResponse
Memory Adapter
Endpoint:
GET /api/v4/memory_adapter_choicesDescription: Get available memory adapter list
Response:
AdapterChoicesResponse
4. Voice and Settings#
Voice Management
Endpoint:
GET /api/v4/tts_voice_names/{tts_adapter_key}Description: Get available voice list for specified TTS adapter
Parameters:
tts_adapter_key- TTS adapter identifierResponse:
VoiceNamesResponse
User Settings
Endpoint:
GET /api/v4/get_voice_settings/{user_id}/{character_id}Description: Get voice settings for specified user and character
Parameters:
user_id- User IDcharacter_id- Character ID
Response:
VoiceSettingsResponse
Motion Settings
Endpoint:
GET /api/v4/get_motion_settings/{user_id}/{character_id}Description: Get motion settings for specified user and character
Parameters:
user_id- User IDcharacter_id- Character ID
Response:
MotionSettingsResponse