Pricing
Compare models →Pricing is based on `number_of_songs`.
Number of songs (number_of_songs) | Cost |
|---|---|
1 song (number_of_songs=1) | $0.07 |
2 songs (number_of_songs=2) | $0.14 |
3 songs (number_of_songs=3) | $0.21 |
A run with default settings (one song) costs $0.07 per run.
Billing Rules
- Each generated song is charged separately: one song (
number_of_songs=1) costs $0.07 - The price grows with the number of songs: three songs (
number_of_songs=3) cost $0.21 prompt,output_format,reference_id,vocal_id, andmelody_iddo not affect pricing
Input schema
| Parameter | Type | Description |
|---|---|---|
lyricsRequired | string | Lyrics for the generated song. Official limit: up to 3000 characters.JSON schema{
"x-rows": 8
} |
prompt | string | Optional style prompt for the song. Official limit: up to 1024 characters.JSON schema{
"x-rows": 4
} |
number_of_songs | integer | Number of generations. Mureka charges per generated item.Default: 1Minimum: 1 · Maximum: 3 |
output_format | string | Output audio format after re-uploading to OpenSI CDN.mp3wavflac"mp3" |
reference_id | string | Optional Mureka uploaded reference file ID. |
vocal_id | string | Optional Mureka uploaded vocal file ID. |
melody_id | string | Optional Mureka uploaded melody file ID. |
README
Mureka AI O2 Generate Song
Mureka AI O2 Generate Song creates full songs from lyrics with optional style prompting and optional reference inputs for melody, vocals, or overall musical direction. It is suitable for songwriting, demo generation, vocal-guided creation, and fast music prototyping workflows.
Why Choose This?
- Lyrics-to-song generation
Turn written lyrics into complete song outputs with minimal setup.
- Optional style prompting
Add a prompt to guide genre, mood, instrumentation, arrangement, or production style.
- Reference-based control
Use optional reference_id, vocal_id, or melody_id inputs to steer the result more precisely.
- Multiple generations per run
Generate up to 3 songs in a single request with number_of_songs.
- Flexible output formats
Export generated songs as mp3, wav, or flac.
- Simple pricing
Pricing depends only on how many songs you generate.
Parameters
| Parameter | Required | Description |
|---|---|---|
| lyrics | Yes | Lyrics for the generated song. Official limit: up to 3000 characters. |
| prompt | No | Optional style prompt for the song. Official limit: up to 1024 characters. |
| number_of_songs | No | Number of generations. Range: 1–3. Default: 1. |
| output_format | No | Output audio format after re-uploading to OpenSI CDN. Supported values: mp3, wav, flac. Default: mp3. |
| reference_id | No | Optional Mureka uploaded reference file ID. |
| vocal_id | No | Optional Mureka uploaded vocal file ID. |
| melody_id | No | Optional Mureka uploaded melody file ID. |
How to Use
- Write your lyrics — provide the lyrics you want to turn into a song.
- Add a style prompt (optional) — describe genre, mood, instrumentation, tempo, or production feel.
- Add references (optional) — use
reference_id,vocal_id, ormelody_idif you want more control over the result.
- Set number of songs — choose how many generations you want, from
1to3.
- Choose output format — select
mp3,wav, orflac.
- Submit — run the model and download the generated songs.
Example Prompt
Emotional pop ballad with piano, warm strings, cinematic chorus, expressive female vocal, polished modern production
Pricing
Pricing is based on `number_of_songs`.
Number of songs (number_of_songs) | Cost |
|---|---|
1 song (number_of_songs=1) | $0.07 |
2 songs (number_of_songs=2) | $0.14 |
3 songs (number_of_songs=3) | $0.21 |
A run with default settings (one song) costs $0.07 per run.
Billing Rules
- Each generated song is charged separately: one song (
number_of_songs=1) costs $0.07
- The price grows with the number of songs: three songs (
number_of_songs=3) cost $0.21
prompt,output_format,reference_id,vocal_id, andmelody_iddo not affect pricing
Best Use Cases
- Songwriting demos — Quickly turn lyrics into draft songs for evaluation and iteration.
- Style exploration — Test the same lyrics across different genres, moods, and arrangements.
- Reference-guided generation — Use melody or vocal references to guide the resulting song.
- Content creation — Generate original song material for videos, social content, and creative projects.
- Music ideation — Explore multiple song directions in a single run with
number_of_songs.
Pro Tips
- Keep lyrics clearly structured with verses, choruses, and bridges when possible.
- Use the style
promptto specify genre, instrumentation, vocal tone, tempo, and production feel.
- Increase
number_of_songswhen you want multiple variations from the same lyrics.
- Use
reference_id,vocal_id, ormelody_idonly when you want tighter guidance over the output.
- Start with
mp3for convenience, then usewavorflacwhen higher-quality output matters more.
Notes
lyricsis required.
number_of_songssupports values from1to3.
lyricssupports up to3000characters.
promptsupports up to1024characters.
output_formatdefaults tomp3.
- Pricing depends only on
number_of_songs.
Related Models
- Mureka AI V9 Generate Song — Newer lyrics-to-song workflow with the same reference-friendly interface.
- Mureka AI V8 Generate Song — Earlier song generation workflow in the Mureka lineup.
- Mureka AI O2 Generate BGM — Generate background music tracks from prompts.
- Mureka AI Stem Song — Process songs into stem-based outputs for remixing, editing, and production workflows.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Mureka O2 Generate Song Music Generation API example
The catalog lists POST https://api.opensi.com.ai/api/v3/mureka-ai/mureka-o2/generate-song for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"lyrics": "example",
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"number_of_songs": 1,
"output_format": "mp3",
"reference_id": "example",
"vocal_id": "example",
"melody_id": "example"
}Mureka O2 Generate Song Music Generation API — Frequently asked questions
What is the Mureka O2 Generate Song API?
Mureka O2 Generate Song is a Mureka Ai model for music generation, exposed as a REST API on OpenSIAI. Mureka AI O2 Generate Song is a fast AI music generation model that creates high-quality songs. Ready-to-use REST inference API for AI song generation, lyrics-to-music workflows, vocal music creation, demo production, creative audio projects, and professional music generation with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Mureka O2 Generate Song API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/mureka-ai/mureka-o2/generate-song.
How much does Mureka O2 Generate Song cost per run or per second?
Mureka O2 Generate Song starts at $0.07 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Mureka O2 Generate Song accept?
Key inputs: prompt, lyrics, melody_id, number_of_songs, output_format, reference_id. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/mureka-ai/mureka-o2/generate-song.
How long does Mureka O2 Generate Song take to generate?
Reported generation time on OpenSIAI is around 69 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Mureka O2 Generate Song outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Mureka Ai). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
