Turn your lyrics into a complete song with vocals and accompaniment.
API Examples
Submit Example
const response = await fetch('https://api.flaq.ai/api/v1/music/task', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model_name: 'mureka-v9.5-generate-song',
lyrics: 'We chase the morning light,\nAnd let the city fade away.',
prompt: 'Uplifting indie pop with bright guitars, gentle drums, and a warm lead vocal',
output_format: 'wav',
vocal_id: 'YOUR_VOCAL_ID',
}),
});
const { data } = await response.json();
const taskId = data.task_id;
Polling Example
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/music/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
Submit Example
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/music/task',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
json={
'model_name': 'mureka-v9.5-generate-song',
'lyrics': 'We chase the morning light,\nAnd let the city fade away.',
'prompt': 'Uplifting indie pop with bright guitars, gentle drums, and a warm lead vocal',
'output_format': 'wav',
'vocal_id': 'YOUR_VOCAL_ID',
},
)
response.raise_for_status()
task_id = response.json()['data']['task_id']
Polling Example
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/music/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
Submit Example
curl -X POST "https://api.flaq.ai/api/v1/music/task" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_name": "mureka-v9.5-generate-song",
"lyrics": "We chase the morning light,\nAnd let the city fade away.",
"prompt": "Uplifting indie pop with bright guitars, gentle drums, and a warm lead vocal",
"output_format": "wav",
"vocal_id": "YOUR_VOCAL_ID"
}'
Polling Example
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/music/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
Mureka 9.5 Generate Song Pricing
| Parameters | Price | Original Price | Discount |
|---|
README
Mureka 9.5 Generate Song API (Lyrics-to-Song Generation with Custom Vocal Support)
Mureka 9.5 Generate Song API transforms supplied lyrics into complete songs for developers, music creators, and interactive products. Add optional guidance for genre, mood, instruments, rhythm, vocals, and production direction, or use a Mureka vocal ID to guide the singing timbre. Through Flaq AI, the model provides a structured lyrics-to-song workflow with multiple audio output formats.
Key Features of Mureka 9.5 Generate Song API
-
Lyrics-to-Song Generation: Turn complete lyrics into a generated song with vocals and musical accompaniment.
-
Optional Style Direction: Guide genre, emotion, instrumentation, rhythm, vocal character, and production choices with a text prompt.
-
Custom Vocal ID Support: Use an existing Mureka vocal ID to guide the singing voice for a generation task.
-
Extended Lyrics Input: Support structured lyrics for verses, choruses, bridges, and other song sections.
-
Multiple Audio Formats: Choose an output format suited to previews, distribution, editing, or storage.
-
API-Based Song Workflow: Integrate lyrics-driven song generation into applications through the Flaq AI task API.
How to Use Mureka 9.5 Generate Song API for Lyrics-to-Song Creation on Flaq AI
-
Input: Required lyrics of up to 5000 characters, plus an optional style prompt of up to 1024 characters, optional Mureka vocal ID, and optional output format.
-
Output: A generated song containing vocals and musical accompaniment, returned through the Flaq AI task workflow.
-
Audio Formats: Select mp3, wav, or flac. If no format is selected, the API uses mp3.
-
Vocal Control: Supply an existing Mureka vocal ID when a specific cloned timbre is needed.
-
Capabilities: Lyrics-to-song generation, optional production guidance, selectable audio formats, and optional cloned-vocal control.
Best Use Cases for Mureka 9.5 Generate Song API Integration
-
Songwriting Demos: Turn written lyrics into complete song concepts for review and creative development.
-
Personalized Music Products: Let users provide lyrics and optional style direction for customized song generation.
-
Virtual Artist Projects: Use a Mureka vocal ID to guide a recurring vocal identity across generated tracks.
-
Advertising & Brand Songs: Create lyrical music concepts for campaigns, product stories, and branded experiences.
-
Games & Narrative Media: Generate character songs, fictional radio content, and story-driven musical pieces.
Note Use only lyrics and vocal samples that you are authorized to submit. Generated content remains subject to applicable copyright, consent, and platform policies.
Mureka 9.5 Generate Song vs Competitors: Comparative Analysis
-
Mureka 9.5 Generate Song vs. Suno Custom Mode
Teams comparing these workflows should evaluate lyrics control, vocal customization, audio formats, and API requirements. Mureka 9.5 Generate Song accepts supplied lyrics and an optional Mureka vocal ID through Flaq AI. -
Mureka 9.5 Generate Song vs. Udio
The preferred option depends on how lyrics, style guidance, vocals, and generated audio fit into the product workflow. Mureka provides a single task interface for lyrics-driven song generation. -
Mureka 9.5 Generate Song vs. Mureka O2 Generate Song
Both Flaq AI models accept lyrics, optional style guidance, selectable audio formats, and an optional vocal ID. Mureka 9.5 supports a longer lyrics input limit, while O2 offers a separate Mureka generation option for teams testing different model behavior. -
Mureka 9.5 Generate Song vs. Kits AI
Developers should compare end-to-end song generation with workflows built around vocal processing. Mureka 9.5 Generate Song creates a song from lyrics and optional style or vocal controls. -
Mureka 9.5 Generate Song vs. SongR
Product teams can compare supported inputs, output formats, customization needs, and API access. Mureka exposes lyrics, style guidance, and optional vocal identity control in one request model.
