# LiveKit Plugins Minimax
Agent Framework plugin for services from minimax(海螺AI). currently supports: [TTS](https://platform.minimaxi.com/document/Price?key=66701c7e1d57f38758d5818c), [LLM](https://platform.minimaxi.com/document/%E5%AF%B9%E8%AF%9D?key=66701d281d57f38758d581d0)
## Installation
```python
pip install livekit-plugins-minimax
```
## Pre-requisites
- Minimax environment variable: `MINIMAX_API_KEY`, `MINIMAX_GROUP_ID` you can find [here](https://platform.minimaxi.com/user-center/basic-information/interface-key)
## Usage
This example shows how to use the minimax TTS plugin.
```python
from livekit.agents import Agent, AgentSession, JobContext, cli, WorkerOptions
from livekit.plugins import minimax
from dotenv import load_dotenv
async def entry_point(ctx: JobContext):
await ctx.connect()
agent = Agent(instructions="You are a helpful assistant.")
session = AgentSession(
# you can find model and voice id at https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643
stt=minimax.STT(model="xxx", voice_id="xxx"),
llm=minimax.LLM(model="MiniMax-Text-01")
)
await session.start(agent=agent, room=ctx.room)
if __name__ == "__main__":
load_dotenv()
cli.run_app(WorkerOptions(entrypoint_fnc=entry_point))
```
Raw data
{
"_id": null,
"home_page": null,
"name": "livekit-plugins-minimax",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "audio, livekit, realtime, video, webrtc",
"author": null,
"author_email": "wangmengdi <790990241@qq.com>",
"download_url": "https://files.pythonhosted.org/packages/2c/fd/7e9b0f8b3c369004c55e4a124ac4d29c43690350333095bd08438dde2964/livekit_plugins_minimax-1.2.0.tar.gz",
"platform": null,
"description": "# LiveKit Plugins Minimax\n\nAgent Framework plugin for services from minimax(\u6d77\u87baAI). currently supports: [TTS](https://platform.minimaxi.com/document/Price?key=66701c7e1d57f38758d5818c), [LLM](https://platform.minimaxi.com/document/%E5%AF%B9%E8%AF%9D?key=66701d281d57f38758d581d0)\n\n## Installation\n```python\npip install livekit-plugins-minimax\n```\n\n## Pre-requisites\n\n- Minimax environment variable: `MINIMAX_API_KEY`, `MINIMAX_GROUP_ID` you can find [here](https://platform.minimaxi.com/user-center/basic-information/interface-key)\n\n## Usage\n\n\nThis example shows how to use the minimax TTS plugin.\n\n```python\nfrom livekit.agents import Agent, AgentSession, JobContext, cli, WorkerOptions\nfrom livekit.plugins import minimax\nfrom dotenv import load_dotenv\n\n\nasync def entry_point(ctx: JobContext):\n \n await ctx.connect()\n \n agent = Agent(instructions=\"You are a helpful assistant.\")\n\n session = AgentSession(\n # you can find model and voice id at https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643\n stt=minimax.STT(model=\"xxx\", voice_id=\"xxx\"),\n llm=minimax.LLM(model=\"MiniMax-Text-01\")\n )\n \n await session.start(agent=agent, room=ctx.room)\n\n\nif __name__ == \"__main__\":\n load_dotenv()\n cli.run_app(WorkerOptions(entrypoint_fnc=entry_point))\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "LiveKit Agent Plugins for Minimax(\u6d77\u87baAI)",
"version": "1.2.0",
"project_urls": null,
"split_keywords": [
"audio",
" livekit",
" realtime",
" video",
" webrtc"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cd9e34791a22a2bc2df4caef3ad3f526002253b25c92687cc717af4d21fa105c",
"md5": "6ed8e7ae25e9c709e81bff01d6192387",
"sha256": "7e3c918190fbff32e8cc860430eb4f827bae8019e64424f181f6569661e761bf"
},
"downloads": -1,
"filename": "livekit_plugins_minimax-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6ed8e7ae25e9c709e81bff01d6192387",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 10772,
"upload_time": "2025-07-23T02:53:51",
"upload_time_iso_8601": "2025-07-23T02:53:51.609553Z",
"url": "https://files.pythonhosted.org/packages/cd/9e/34791a22a2bc2df4caef3ad3f526002253b25c92687cc717af4d21fa105c/livekit_plugins_minimax-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2cfd7e9b0f8b3c369004c55e4a124ac4d29c43690350333095bd08438dde2964",
"md5": "7e539582e27fb2e99dc7b0fdcb1d2d45",
"sha256": "29482c83b47bb82a2db896bd1c67441f1e360b8706a330973cf6a506663cd307"
},
"downloads": -1,
"filename": "livekit_plugins_minimax-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "7e539582e27fb2e99dc7b0fdcb1d2d45",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 10037,
"upload_time": "2025-07-23T02:53:52",
"upload_time_iso_8601": "2025-07-23T02:53:52.947893Z",
"url": "https://files.pythonhosted.org/packages/2c/fd/7e9b0f8b3c369004c55e4a124ac4d29c43690350333095bd08438dde2964/livekit_plugins_minimax-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-23 02:53:52",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "livekit-plugins-minimax"
}