Setup Mureka

December 2, 2024 (July 14, 2026)

Table of contents

  1. Automated setup (recommended)
  2. Use a dedicated Mureka account
  3. Open Mureka
  4. Sign in to Mureka
  5. Copy your token and refresh token
  6. 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.

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.

Open automated setup

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, or Control+Shift+I on Windows, Command+Option+I on Mac) and keep it open.

Sign in to Mureka

  • Click Try free now 2 (shown in the image above).
  • In the Sign in to Mureka popup, click Continue with Google and complete the sign-in.

Copy your token and refresh token

In Developer Tools:

  1. Click the Network tab 1 and type /login in the filter box 2.
  2. Click the login request in the list 3.
  3. Open the Response tab 4.
  4. Under datasession_token, copy the access_token value 5 — this is your token.
  5. Copy the refresh_token value 6.

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.