v1

latestOpenAPI 3.1.02026-07-2627084.1 KB

Convert Prompt to Lyrics

This endpoint takes a natural language prompt (e.g., a theme, vibe, or idea) and generates original lyrics based on it. If the prompt has been used before, a variation may be returned. It also estimates the credit cost of generation.

get/v1/prompt_to_lyrics

Query parameters

promptstring required
Example:A hopeful song about starting over

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

Response

Lyrics generated successfully

successboolean
task_idstring
messagestring
lyricsstring
credit_estimateinteger

Example response

{
  "success": true,
  "task_id": "task-lyrics-2345",
  "message": "Lyrics generated successfully",
  "lyrics": "Under the silver moonlight we sway...\n...\n",
  "credit_estimate": 10
}