Setup Mureka
December 2, 2024 (July 14, 2026)
Table of contents
- Automated setup (recommended)
- Use a dedicated Mureka account
- Open Mureka
- Sign in to Mureka
- Copy your token and refresh token
- Add account
Approximately 5 minutes to complete setup steps.
This is the setup guide for Mureka API. A Mureka AI account and a useapi.net subscription are required for the API to work.
Automated setup (recommended)
Use our guided connect tool — copy a short snippet, sign in to Mureka, and your session is captured and your account added automatically, right in your own browser. No manual token copying.
Prefer to do it by hand? Continue with the steps below.
Mureka AI, a music generation service from Chinese tech giant Kunlun Tech featuring its proprietary Mureka music models (V9, O2) and positioned to compete with Suno and Udio. Mureka AI creates unique songs based on user-provided lyrics or description (AI-generated lyrics), selected musical styles, and references to specific vocals and songs, including those uploaded by the user.
Setup copies two values straight from your browser — the access_token and refresh_token that Mureka returns when you sign in. The API stores both and keeps your session alive on its own.
Use a dedicated Mureka account
We strongly recommend a separate Mureka account designated for API use. Sign in with Google — the provider we have tested end-to-end. Mureka also offers Facebook, Discord, and Apple sign-in, and the values you copy are Mureka’s own session tokens (not the provider’s), so those should work the same way, though Google is the verified path.
Open Mureka
- Navigate to https://www.mureka.ai
1. Sign out of this Mureka account everywhere first — in this browser and any other browser or device. You need a fresh sign-in for the tokens to appear, and if the same account stays signed in elsewhere, Mureka invalidates the captured refresh token. - Open your browser’s Developer Tools (press
F12, orControl+Shift+Ion Windows,Command+Option+Ion Mac) and keep it open.

Sign in to Mureka
- Click
Try free now2(shown in the image above). - In the
Sign in to Murekapopup, clickContinue with Googleand complete the sign-in.

Copy your token and refresh token
In Developer Tools:
- Click the
Networktab1and type/loginin the filter box2. - Click the
loginrequest in the list3. - Open the
Responsetab4. - Under
data→session_token, copy theaccess_tokenvalue5— this is yourtoken. - Copy the
refresh_tokenvalue6.

Both are long eyJ… strings (roughly 350–390 characters). Copy each value in full, without the surrounding quotes.
Add account
Paste your token (the access_token) and refresh_token below and click Add account. A 200 response means success. You can also call POST /accounts directly.
When you Add account, the API immediately performs one refresh — this confirms the tokens work and takes the session over from your browser, so the API holds its own token pair. It takes about ten seconds, which is expected.
Once added, the API manages everything for you: it auto-refreshes the session with the refresh token before it expires, with no browser involved. You can close the Mureka tab.
Keep this Mureka account dedicated to the API and signed out everywhere else. Signing into the same account in a browser again starts a second session, which invalidates the API’s refresh token and breaks auto-refresh. If you want to use Mureka in a browser, use a different account.