falText to audioComing soon
fal-ai/diffrhythm
fal-ai/diffrhythm is a text to audio tool from fal that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
lyrics required | text | — | The prompt to generate the song from. Must have two sections. Sections start with either [chorus] or a [verse]. |
reference_audio_url | text | — | The URL of the reference audio to use for the music generation. |
style_prompt | text | — | The style prompt to use for the music generation. |
music_duration | one of 95s, 285s | 95s | The duration of the music to generate. |
cfg_strength | number 1 to 10 | 4 | The CFG strength to use for the music generation. |
scheduler | one of euler, midpoint, rk4, implicit_adams | euler | The scheduler to use for the music generation. |
num_inference_steps | number (whole) 10 to 100 | 32 | The number of inference steps to use for the music generation. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/diffrhythm",
"input": {
"lyrics": "[00:10.00]Moonlight spills through broken blinds\n[00:13.20]Your shadow dances on the dashboard shrine\n[00:16.85]Neon ghosts in gasoline rain\n[00:20.40]I hear…"
}
}'