SunoSongsCreator
About High quality songs generation by https://www.suno.ai/. Reverse engineered API.
How to
- Login to https://app.suno.ai/ and generate some songs.
- Use
Chromeor other browsers to inspect the network requests (F12 -> XHR). - Clone this REPO ->
git clone https://github.com/yihong0618/SunoSongsCreator.git - XHR find cookie in this url -> https://clerk.suno.ai/v1/client?_clerk_js_version=4.70.5
- Copy the cookie.
- You can import the cookie using
export SUNO_COOKIE='<your-suno-cookie>'or rename.env.exampleto.envand fill inSUNO_COOKIE.
Usage
python -m suno --prompt 'a big red dream song'
or
pip install -U suno_songs
from suno import SongsGen
i = SongsGen('cookie') # Replace 'cookie'
print(i.get_limit_left())
i.save_songs("a blue cyber dream song", './output')
Custom mode
#you can use custom mode
from suno import SongsGen
i = SongsGen('cookie') # Replace 'cookie'
print(i.get_limit_left())
i.save_songs("大江东去,浪淘尽,千古风流人物。故垒西边,人道是、三国周郎赤壁。乱石穿空,惊涛拍岸,卷起千堆雪。江山如画,一时多少豪杰。遥想公瑾当年,小乔初嫁了,雄姿英发。", is_custom=True, title="custom", tags="轻松的R&B, BPM60, 小调, 电吉他、贝斯、键盘和轻鼓, 男性歌手")
Get song library
from suno import SongsGen
i = SongsGen('cookie') # Replace 'cookie'
print(i.get_song_library())
Thanks
- All my 爱发电 sponsors https://afdian.net/a/yihong0618?tab=sponsor
Metadata
Release files for suno-songs 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| suno_songs-0.6.0.tar.gz | 18.6 kB | Without provenance | Details for suno_songs-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| suno_songs-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for suno_songs-0.6.0-py3-none-any.whl |
Total release size: 37.3 kB
Release files / suno_songs-0.6.0.tar.gz
| Download URL | suno_songs-0.6.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a78ae31efdd16cfe95327a3f09bdf7c522f80c8137c6c438643e84e8e442d426
|
|
BLAKE2b-256 checksum How to use checksums |
1fbf0974cec1636c8f36432eb2a7921cf4fcdf07ce51ceb7f501e0470f570dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.17
|
Release files / suno_songs-0.6.0-py3-none-any.whl
| Download URL | suno_songs-0.6.0-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cb39ed6ef5583a552c034563f076205f95ae52990f55f163d4f3d16c304b71d
|
|
BLAKE2b-256 checksum How to use checksums |
dfc47fbf59f8c3be194ffac851b97bb4138533067c5f6bd953fb422143763fa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.17
|
Security for suno-songs 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.