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

Function generate_lyrics

utils.py:53–57  ·  view source on GitHub ↗
(prompt, token)

Source from the content-addressed store, hash-verified

51
52
53async def generate_lyrics(prompt, token):
54 headers = {"Authorization": f"Bearer {token}"}
55 api_url = f"{BASE_URL}/api/generate/lyrics/"
56 data = {"prompt": prompt}
57 return await fetch(api_url, headers, data)
58
59
60async def get_lyrics(lid, token):

Callers 1

generate_lyrics_postFunction · 0.90

Calls 1

fetchFunction · 0.85

Tested by

no test coverage detected