⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
curl --request POST \
--url https://modelslab.com/api/v6/voice/lyrics_generator \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"prompt": "<string>",
"length": "short",
"webhook": "<string>",
"track_id": 123
}
'{
"status": "success",
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"future_links": [
"<string>"
],
"links": [
"<string>"
],
"meta": {},
"eta": 123,
"message": "<string>",
"tip": "<string>",
"fetch_result": "<string>",
"audio_time": 123
}Generate song lyrics from a text prompt.
curl --request POST \
--url https://modelslab.com/api/v6/voice/lyrics_generator \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"prompt": "<string>",
"length": "short",
"webhook": "<string>",
"track_id": 123
}
'{
"status": "success",
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"future_links": [
"<string>"
],
"links": [
"<string>"
],
"meta": {},
"eta": 123,
"message": "<string>",
"tip": "<string>",
"fetch_result": "<string>",
"audio_time": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
Provide a prompt
"tokyo" or "a rainy night in Mumbai".--request POST 'https://modelslab.com/api/v6/voice/lyrics_generator' \
"tokyo", "heartbreak", "summer road trip"."short" for a single verse, "long" for full multi-section lyrics.{
"key": "your_api_key",
"prompt": "tokyo",
"length": "short",
"webhook": null,
"track_id": null
}
Your API Key used for request authorization
Prompt to guide automatic lyrics generation
Desired length of generated lyrics
short, long URL to receive POST notification upon completion
ID returned in API response for webhook identification
Lyrics generation response
Status of the voice generation
success, processing, error Time taken to generate the audio in seconds
Unique identifier for the voice generation
Array of generated audio URLs
Array of proxy audio URLs
Array of future audio URLs for queued requests
Array of audio URLs (voice cover response)
Metadata about the audio generation including all parameters used
Estimated time for completion in seconds (processing status)
Status message or additional information
Additional information or tips for the user
URL to fetch the result when processing
Duration of the generated audio in seconds
Was this page helpful?