INNER CODE UNIT · Python

health_check

rohitg00/awesome-ai-apps · multimodal-apps/hedra-live-avatars-demo/hedra-avatar-backend/app/main.py:233

async def health_check():
    return {
        "status": "healthy", 
        "hedra_api_configured": bool(HEDRA_API_KEY),
        "elevenlabs_api_configured": bool(ELEVENLABS_API_KEY)
    }

@app.get("/voices")
async def get_available_voices():
    """Get all available voice options"""
    try:
        elevenlabs_voices = await get_elevenlabs_voices()
        gtts_voices = get_gtts_voices()
        
        return {
            "hedra_voices": elevenlabs_voices,  # For backward compatibility with frontend
            "elevenlabs_voices": elevenlabs_voices,
            "gtts_voices": gtts_voices,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…