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

Function generate_with_song_description

main.py:43–52  ·  view source on GitHub ↗
(
    data: schemas.DescriptionModeGenerateParam, token: str = Depends(get_token)
)

Source from the content-addressed store, hash-verified

41
42@app.post("/generate/description-mode")
43async def generate_with_song_description(
44 data: schemas.DescriptionModeGenerateParam, token: str = Depends(get_token)
45):
46 try:
47 resp = await generate_music(data.dict(), token)
48 return resp
49 except Exception as e:
50 raise HTTPException(
51 detail=str(e), status_code=status.HTTP_500_INTERNAL_SERVER_ERROR
52 )
53
54
55@app.get("/feed/{aid}")

Callers

nothing calls this directly

Calls 1

generate_musicFunction · 0.90

Tested by

no test coverage detected