SU

suno

Open Source AI/MLMedia

Generate songs, lyrics, and music with Suno AI - create custom music from text prompts

suno music-generation ai-music lyrics audio

Quick Install

npm install @openpets/suno
pnpm add @openpets/suno

Required Environment Variables

  • SUNO_COOKIE

    Session cookie from suno.com. Log in, open DevTools, copy the cookie value

Example Queries

generate a song about the ocean
create music with lyrics about love
generate instrumental jazz music
get my suno credits

Usage Scenarios

music generation

  1. 1 generate a song about summer
  2. 2 create custom music with jazz style

lyrics

  1. 1 generate lyrics about nature
  2. 2 get song lyrics

Optional Configuration

Variable Description
TWOCAPTCHA_KEY 2Captcha API key for solving CAPTCHAs during generation

Use suno with Your AI Assistant

This open source plugin works with OpenCode-compatible AI assistants including ChatGPT, Claude, Perplexity, and other LLM-powered coding tools. Install the plugin and start using natural language to interact with suno.

Works with ChatGPT Works with Claude Works with Perplexity MCP Compatible