Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SunoAI-API/Suno-API
/ functions
Functions
30 in github.com/SunoAI-API/Suno-API
⨍
Functions
30
◇
Types & classes
4
↳
Endpoints
7
↓ 5 callers
Function
fetch
(url, headers=None, data=None, method="POST")
utils.py:20
↓ 2 callers
Function
generate_music
(data, token)
utils.py:46
↓ 2 callers
Method
load_cookie
(self, cookie_str)
cookie.py:19
↓ 1 callers
Function
generate_lyrics
(prompt, token)
utils.py:53
↓ 1 callers
Method
get_cookie
(self)
cookie.py:22
↓ 1 callers
Function
get_credits
(token)
utils.py:66
↓ 1 callers
Function
get_feed
(ids, token)
utils.py:39
↓ 1 callers
Function
get_info
(aid)
test.py:52
↓ 1 callers
Function
get_lyrics
(lid, token)
utils.py:60
↓ 1 callers
Method
get_session_id
(self)
cookie.py:28
↓ 1 callers
Method
get_token
(self)
cookie.py:31
↓ 1 callers
Method
set_session_id
(self, session_id)
cookie.py:25
↓ 1 callers
Method
set_token
(self, token: str)
cookie.py:34
↓ 1 callers
Function
start_keep_alive
(suno_cookie: SunoCookie)
cookie.py:72
↓ 1 callers
Function
update_token
(suno_cookie: SunoCookie)
cookie.py:43
Method
__init__
(self)
cookie.py:14
Function
fetch_credits
(token: str = Depends(get_token))
main.py:96
Function
fetch_feed
(aid: str, token: str = Depends(get_token))
main.py:56
Function
fetch_lyrics
(lid: str, token: str = Depends(get_token))
main.py:85
Function
generate
( data: schemas.CustomModeGenerateParam, token: str = Depends(get_token) )
main.py:30
Function
generate_lyrics_post
(request: Request, token: str = Depends(get_token))
main.py:67
Function
generate_with_song_description
( data: schemas.DescriptionModeGenerateParam, token: str = Depends(get_token) )
main.py:43
Function
get_lyrics
(lid)
test.py:47
Function
get_root
()
main.py:25
Function
get_token
()
deps.py:6
Function
keep_alive
(suno_cookie: SunoCookie)
cookie.py:62
Function
save_song
(aid, output_path="output")
test.py:60
Function
test_generate_lyrics
()
test.py:40
Function
test_generate_music
()
test.py:9
Function
test_generate_music_with_description
()
test.py:27