falText to audioComing soon
mureka/api/generate/song
mureka/api/generate/song 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 | text | — | Lyrics to sing, up to 5,000 characters. Provide this for lyrics-to-song generation; otherwise provide prompt for prompt-to-song generation. |
styles | list | — | One or more musical genres for prompt-to-song generation. This cannot be used when lyrics is provided. |
prompt | text | — | Describe the desired song, mood, instrumentation, and vocals. Required when lyrics is omitted; with lyrics, it acts as a music-style control. |
gender | one of female, male | — | Preferred vocal gender for lyrics-to-song generation. An uploaded or cloned voice takes precedence. |
reference_id | text | — | Reference-music ID returned by /files/upload with purpose='reference'. |
vocal_id | text | — | Voice ID returned by /voice/clone. |
melody_id | text | — | Melody ID returned by /files/upload with purpose='melody'. This cannot be combined with prompt, reference_id, or vocal_id. |
model | one of mureka-7.6, mureka-o2, mureka-8, mureka-9, mureka-9.5 | mureka-9.5 | The model to use for song 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": "mureka/api/generate/song",
"input": {}
}'