MCPcopy Create free account
hub / github.com/SunoAI-API/Suno-API / test_generate_music_with_description

Function test_generate_music_with_description

test.py:27–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def test_generate_music_with_description():
28 data = {
29 "gpt_description_prompt": "A Blues song about a person who is feeling happy and optimistic about the future.",
30 "make_instrumental": False,
31 "mv": "chirp-v3-0",
32 }
33
34 r = requests.post("http://127.0.0.1:8000/generate", data=json.dumps(data))
35
36 resp = r.text
37 print(resp)
38
39
40def test_generate_lyrics():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected