Skip to main content
GET
Convert Prompt to Lyrics

Endpoint


Request Parameters

💡 Note: The prompt must be between 1 and 280 characters.

Sample Request

cURL

Python


Sample Response

Success (200 OK)


Error Responses

400 Bad Request

500 Internal Server Error


Use Case Examples

  • “A romantic song under the stars”
  • “A pop song about achieving your dreams”
  • “Grunge-style lyrics reflecting heartbreak”

Output

Generated lyrics are returned directly in the lyrics field of the response. They may be multi-paragraph and suited for use with vocal synthesis or songwriting tools.
The /prompt_to_lyrics endpoint is ideal for songwriting, music composition tools, or creative text generation workflows.

Authorizations

Authorization
string
header
required

Query Parameters

prompt
string
required

The theme or idea you'd like lyrics generated for.

Required string length: 1 - 1000
Example:

"A hopeful song about starting over"

Response

Lyrics generated successfully

success
boolean
task_id
string
message
string
lyrics
string
credit_estimate
integer