
English | Simplified Chinese
This is an unofficial suno.ai music generation website developed based on NextJS. The song you want can be generated in about one minute through the user input propt.
Latest version: https://sunomusic.fun v1 version: https://v1.sunomusic.fun
The open source version corresponds to the v1 version, and the latest version is being optimized. For details, please add WeChat to learn about: chengzisangeban.
Reversely engineer the API for generating songs by suno.ai and pay with Lemon Squeezy. At the same time, the project has built-in token update and keep-alive functions, so there is no need to worry about the token expires.
Find a request containing the keyword "client?_clerk_js_version". Find the requested cookie part and copy the value of the cookie
git clone https://github.com/Alvin-Liu/suno-music-generator.git cd suno-music-generator
pnpm installUse local database: local postgres or use online database: vercel-postgres
Copy the SQL used to create a database in the data/install.sql file
Add .env.local file in the project and directory, and fill in the following configuration:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
SUNO_COOKIE=""
LEMON_SQUEEZY_HOST=https://api.lemonsqueezy.com/v1
LEMON_SQUEEZY_API_KEY=
LEMON_SQUEEZY_STORE_ID=
LEMON_SQUEEZY_PRODUCT_ID=
LEMON_SQUEEZY_MEMBERSHIP_MONTHLY_VARIANT_ID=
LEMON_SQUEEZY_MEMBERSHIP_SINGLE_TIME_VARIANT_ID=
LEMONS_SQUEEZY_SIGNATURE_SECRET=
POSTGRES_URL=
SUNO_COOKIE is the cookie value you get in the first step
pnpm dev Open preview: http://localhost:3000
You can contact me via the following Twitter link: https://twitter.com/alvinliux. As a new Twitter person, I sincerely ask for your attention and support.
If this project helps you, please consider giving me a coffee