BeansAI
ModelsPricingDocs
Sign inSign up
ModelsPricingDocs
Sign inSign up

Quickstart

  • Overview

Clients

  • Claude Code
  • CC Switch
  • OpenClaw
  • Roo Code
  • OpenCode
  • Codex CLI
  • GPT Image 2
  • Seedance 2.0
  • SkyReels V4
  • Mureka Song
  • Cursor
  • Cherry Studio

Reference

  • Raw API
← Back to Docs

Mureka Song

Submit asynchronous song-generation tasks through BeansAI using Mureka's native lyrics-first API.

Overview

BeansAI exposes Mureka song generation at POST /song/generate and task polling at GET /song/query/:task_id. The response task id is a BeansAI id such as beanssong_...; use that id for polling.

Basic usage

submit song task
curl https://api.beansai.dev/v1/song/generate \
  -H "Authorization: Bearer sk-beans-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mureka-9",
    "lyrics": "[Verse]\nCity lights are breathing slow\n[Chorus]\nWe rise where the green lights glow",
    "prompt": "cinematic pop, warm female vocal, modern synth, uplifting chorus",
    "n": 1,
    "stream": true
  }'
poll task
curl https://api.beansai.dev/v1/song/query/beanssong_... \
  -H "Authorization: Bearer sk-beans-..."

Models

mureka-9Latest flagship song model
mureka-8General song generation
mureka-o2O-series music model
mureka-7.6Legacy compatible model
mureka-autoMaps to Mureka model=auto upstream

Tips

  • lyrics is required and supports section markers such as [Verse] and [Chorus].
  • n controls the number of generated songs. Mureka supports up to 3 and BeansAI bills by generated unit.
  • stream: true lets Mureka return a streaming-stage URL while the song is still being generated.
auto model alias
curl https://api.beansai.dev/v1/song/generate \
  -H "Authorization: Bearer sk-beans-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mureka-auto",
    "lyrics": "A short chorus about building reliable AI infrastructure",
    "prompt": "clean indie pop, bright guitars, tight drums",
    "n": 2
  }'