suno
Generate songs, lyrics, and music with Suno AI - create custom music from text prompts
Quick Install
npm install @openpets/suno pnpm add @openpets/suno Required Environment Variables
-
SUNO_COOKIESession 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
generate a song about summer - 2
create custom music with jazz style
lyrics
- 1
generate lyrics about nature - 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.
Related Plugins
llm-models
LLM model discovery and comparison plugin - search and compare models from models.dev across multiple providers
fal
FAL AI image and video generation plugin for OpenCode - text-to-image, image-to-image, text-to-video, and image-to-video using Flux, Stable Diffusion, Kling, and more
elevenlabs
Generate natural-sounding speech from text, transcribe audio, and manage voices using ElevenLabs AI