MCPcopy Index your code
hub / github.com/SunoAI-API/Suno-API / fetch_lyrics

Function fetch_lyrics

main.py:85–92  ·  view source on GitHub ↗
(lid: str, token: str = Depends(get_token))

Source from the content-addressed store, hash-verified

83
84@app.get("/lyrics/{lid}")
85async def fetch_lyrics(lid: str, token: str = Depends(get_token)):
86 try:
87 resp = await get_lyrics(lid, token)
88 return resp
89 except Exception as e:
90 raise HTTPException(
91 detail=str(e), status_code=status.HTTP_500_INTERNAL_SERVER_ERROR
92 )
93
94
95@app.get("/get_credits")

Callers

nothing calls this directly

Calls 1

get_lyricsFunction · 0.90

Tested by

no test coverage detected