RepositoryPython
HumeAI

HumeAI/hume-python-sdk

Python client for Hume AI

181stars
47forks
1issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: recognition

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: face

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: emotion

#2 Repository Của Tuần

🧠 SDK Python chính thức của Hume AI — Kết nối AI cảm xúc vào ứng dụng

Tích hợp API phân tích cảm xúc EVI và TTS của Hume AI trực tiếp vào Python với client đồng bộ và bất đồng bộ, hỗ trợ WebSocket, phân trang và retry tự động.

Hume AI Python SDK là công cụ chính thức từ Hume AI giúp các nhà phát triển dễ dàng gọi các dịch vụ AI như Empathic Voice Interface (EVI) — giao diện giọng nói đọng cảm xúc — và Text-to-Speech (TTS) ngay trong mã nguồn Python. SDK hỗ trợ cả client đồng bộ (HumeClient) lẫn bất đồng bộ (AsyncHumeClient), phù hợp với cả dự án nhỏ lẫn hệ thống lớn.

✨ Điểm nổi bật

  • Client đồng bộ và bất động: Hỗ trợ cả HumeClient và AsyncHumeClient để phù hợp với mọi kiểu ứng dụng.
  • Hỗ trợ WebSocket: Giao tiếp thời gian thực với EVI thông qua WebSocket client tích hợp sẵn.
  • Retry tự động: Tự động thử lại yêu cầu khi gặp lỗi mạng hoặc quá tải server (HTTP 408, 409, 429, 5xx).
  • Phân trang thông minh: Trả về SyncPager hoặc AsyncPager, hỗ trợ lặp từng phần tử hoặc từng trang dễ dàng.
  • Xử lý lỗi rõ ràng: Tất cả lỗi đều là lớp con của ApiError, dễ dàng bắt và xử lý.
  • Hỗ trợ đa nền tảng: Tương thích với Python từ 3.9 đến 3.13 trên macOS, Linux và Windows.
  • Cài đặt đa dạng: Hỗ trợ cài đặt qua pip, poetry và uv.

💡 Vì sao đáng chú ý

Khác với cách tích hợp API thủ công bằng requests, SDK này cung cấp cấu trúc namespace rõ ràng (client.empathic_voice, client.tts), giúp dễ dàng mở rộng và quản lý mã nguồn. Ngoài ra, việc hỗ trợ cả đồng bộ và bất đồng bộ giúp SDK linh hoạt vận dụng trong cả ứng dụng web nhẹ và hệ thống thời gian thực phức tạp.


#HumeAI #PythonSDK #AI #EmotionAnalysis #TTS #EVI #TextToSpeech #VoiceAI #TiniX

Similar Projects

Discover other similar projects and AI models.

Modelautomatic-speech-recognition
pyannote/speaker-diarization-3.1

Using this open-source model in production? Consider switching to pyannoteAI(https://www.pyannote.ai) for better and faster options. 🎹 Speaker diarization 3.1 This pipeline is the same as pyannote/speaker-diarization-3.0(https://hf.co/pyannote/speak...

♥0
6.9M
May 10, 2024
Modelautomatic-speech-recognition
pyannote/speaker-diarization-community-1

community-1 speaker diarization This pipeline ingests mono audio sampled at 16kHz and outputs speaker diarization. - stereo or multi-channel audio files are automatically downmixed to mono by averaging the channels. - audio files sampled at a differ...

♥0
5.1M
Sep 29, 2025
Modelvoice-activity-detection
pyannote/segmentation-3.0

Using this open-source model in production? Consider switching to pyannoteAI(https://www.pyannote.ai) for better and faster options. 🎹 "Powerset" speaker segmentation This model ingests 10 seconds of mono audio sampled at 16kHz and outputs speaker d...

♥0
5.2M
May 10, 2024
RepositoryPython
OpenBMB/VoxCPM

VoxCPM2: Tokenizer-Free TTS for Multilingual Speech Generation, Creative Voice Design, and True-to-Life Cloning

40.7k
Oct 8, 2026
RepositoryPython
AIGC-Audio/AudioGPT

AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head

10.2k
Jul 6, 2024
RepositoryPython
sambhav/fbrecog

An unofficial python wrapper for the Facebook face recognition endpoint

183
Oct 29, 2017
RepositoryPython
vjgpt/Face-and-Emotion-Recognition

Realtime person's face recognize and can classify emotion using webcam, video or images.

149
Jan 24, 2020
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

257.3k
Oct 26, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

187.7k
Oct 24, 2026