Setup MiniMax
September 25, 2024 (March 17, 2025)
Table of contents
- Generating videos and images using hailuoai.video
- LLM models DeepSeek R1 and MiniMax-Text-01 available via chat.minimax.io
- Generating text-to-speech using www.minimax.io/audio
- Generating music using hailuoai.com/music
- Configure MiniMax API account
- Verify
url
andtoken
values
Approximately 5 minutes to complete setup steps.
Generating videos and images using hailuoai.video
You need a hailuoai.video account to generate videos and images using MiniMax API. Sign-in with your Google account at hailuoai.video. You can create as many accounts as you need. Our API uses automated load balancing and will select an account with available capacity.
Step 1 • Navigate to hailuoai.video
Open Chromium-compatible browser (e.g. Google Chrome, Microsoft Edge or Opera) and navigate to https://hailuoai.video.
Once the page is fully loaded, ensure that you’re logged in with your Google account 1
.
Open Developer Tools by right-clicking on the page and selecting “Inspect Element” 2
.
Finally refresh page 3
.
Step 2 • Locate url
Select Developer Tools » Network 1
:
- On the left side many click on
Assets
submenu2
. - Type
/cursor
in the filter box3
and hit Enter. - Make sure that
All
orFetch/XHR
is selected4
. - You should see a http call(s) entry as shown below
5
, click on that entry. - Select “Headers” tab
6
. - Locate General » Request URL
7
as shown below and copy its value. This is yoururl
.
As an example below the url
is
https://hailuoai.video/v3/api/multimodal/video/my/cursor?type=next¤tID=0&limit=30&scene=mine&filterType=2&device_platform=web&app_id=3001&version_code=22202&biz_id=0&lang=en&uuid=8a2d8b5d-ac0d-4bb5-8028-3177fa64f861&device_id=301350748241866752&os_name=Windows&browser_name=opera&device_memory=8&cpu_core_num=12&browser_language=en-US&browser_platform=Win32&screen_width=1920&screen_height=1080&unix=1728704107000
Step 3 • Locate token
value
Locate Request Headers » Token 7
as shown below and copy it’s value. This is your token
.
As an example below the token
is
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzIxNTk4MjksInVzZXIiOnsiaWQiOiIzMDEzNDg0MDk1ODE4MzgzMzYiLCJuYW1lIjoidXNlIGFwaSIsImF2YXRhciI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0lLNEJaMmpfSlIxcTh3TkFKU2RlZzlwVHZlTDJTSVhFRjg4TkU4MV85VlowbFBRQT1zOTYtYyIsImRldmljZUlEIjoiIn19.1-zGnbUfENnVdjDGDBuaZ4Sf7rTelfqUKk5XNj7liE4
If you are curious, you can use jwt.io to decode the token and see its content.
LLM models DeepSeek R1 and MiniMax-Text-01 available via chat.minimax.io
The chat.minimax.io account shares the same Google account as https://hailuoai.video. Once you have set up your hailuoai.video account ↑, you’ll be able to use all the features of chat.minimax.io.
Generating text-to-speech using www.minimax.io/audio
The www.minimax.io/audio account shares the same Google account as https://hailuoai.video. Once you have set up your hailuoai.video account ↑, you’ll be able to use all the features of www.minimax.io/audio.
Generating music using hailuoai.com/music
You need a hailuoai.com/music account to generate music using MiniMax API.
Expand hailuoai.com/music
Step 1 • Navigate to hailuoai.com/music
Open Chromium-compatible browser (e.g. Google Chrome, Microsoft Edge or Opera) and navigate to https://hailuoai.com/music.
Once the page is fully loaded, open Developer Tools by right-clicking on the page and selecting “Inspect Element” 1
.
Step 2 • Locate url
value
Select Developer Tools » Network 1
:
- Type
/register
in the filter box2
and hit Enter. - Make sure that
All
is selected3
. - You should see a single http call entry as shown below
4
, click on that entry. - Select “Headers” tab
5
. - Locate General » Request URL
6
as shown below and copy it’s value. This is yoururl
.
As an example below the url
is
https://hailuoai.com/v1/api/user/device/register?device_platform=web&app_id=3001&version_code=22201&uuid=5c8e7861-58db-4235-a526-80afbc279c88&device_id=298732618450878466&os_name=Windows&browser_name=opera&device_memory=8&cpu_core_num=12&browser_language=en-US&browser_platform=Win32&screen_width=1920&screen_height=1080&unix=1728079775000
Step 3 • Locate token
value
Locate Request Headers » Token 1
as shown below and copy it’s value. This is your token
.
As an example below the token
is
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzE1MzU1NzYsInVzZXIiOnsiaWQiOiIyOTg3MzI2MTk5NjUwMjIyMTUiLCJuYW1lIjoi5bCP6J665bi9MjIxNSIsImF2YXRhciI6Imh0dHBzOi8vY2RuLnlpbmdzaGktYWkuY29tL3Byb2QvdXNlcl9hdmF0YXIvMTcwNjI2NzM2NDE2NDQwNDA3Ny0xNzMxOTQ1NzA2Njg5NjU4OTZvdmVyc2l6ZS5wbmciLCJkZXZpY2VJRCI6IjI5ODczMjYxODQ1MDg3ODQ2NiIsImlzQW5vbnltb3VzIjp0cnVlfX0.lOzbwFnC4Xv2YReBRgNozjsN66YXajoxTV_VEG-t3Gk
If you are curious, you can use jwt.io to decode the token and see its content.
Configure MiniMax API account
Please use the Verify feature below to ensure all the retrieved values above are correct.
Proceed to POST /accounts and configure the MiniMax API account to using url
and token
values retrieved above.