task_type
values depending on the desired duration of the generated music.Model | Task Type | Generated Audio Duration | Price (USD) |
---|---|---|---|
Qubico/diffrhythm | txt2audio-base | ~1.35 minutes | $0.02 per generation |
Qubico/diffrhythm | txt2audio-full | ~4.45 minutes | $0.02 per generation |
[00:10.00] Drifting through the Milky Way’s glow, stars hum low and bright
[00:17.00] Every shadow hides a cosmos, burning without light
[00:24.00] You said you loved black holes’ silence, where time turns to dust
[00:31.00] I clung to supernova whispers, aching with their trust
[00:38.00] Orion’s belt held promises we strung like comet trails
[00:45.00] Now Saturn’s rings just echo how our gravity fails
[00:52.00] Your voice became a distant pulse, a quasars’ fading song
[00:59.00] I chart the void where constellations swore we’d belong
[01:06.00] Nebulas bleed hues we named—our scarlet, our chrome
[01:13.00] But cold dark matter cradles what the stars left alone…
[01:20.00] (Instrumental fade: synth waves & celestial chimes)
curl --location --request POST '/api/v1/task' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "Qubico/diffrhythm",
"task_type": "txt2audio-base",
"input": {
"lyrics": "",
"style_prompt": "pop",
"style_audio": ""
},
"config": {
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}'
{
"model": "Qubico/diffrhythm",
"task_type": "txt2audio-base",
"input": {
"lyrics": "",
"style_prompt": "pop",
"style_audio": ""
},
"config": {
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}