A powerful, copyright-safe web application for generating professional prompts and lyrics for Suno AI music generation. Built with pure HTML, CSS, and JavaScript for easy deployment on GitHub Pages.
- Genre Selection: Choose from popular genres or define your own custom genre
- Mood/Emotion Tags: Multi-select interface for combining moods (happy, sad, energetic, melancholic, etc.)
- Tempo Control: Adjustable BPM slider (60-180 BPM) for precise tempo specification
- Instrumentation: Select from common instruments or add custom ones
- Vocal Configuration: Control gender, delivery style, and harmonies
- Song Structure: Multiple structure options (Verse-Chorus, Verse-Chorus-Bridge, AABA, Through-composed)
- Real-time Validation: Automatically detects and warns about artist/band names in input fields
- Artist Blocklist: Comprehensive database of 150+ popular artists with style descriptor mappings
- Auto-Suggestions: Converts artist names to style descriptions (e.g., "Coldplay" โ "atmospheric alt-rock with ambient synths")
- Content Stripping: Automatically removes copyrighted references from generated outputs
- Style Prompt Generation: Creates formatted prompts optimized for Suno AI's "Style of Music" field
- Lyrics Generation: Produces original, structured lyrics with proper Suno metatags
- Metatag Support: Includes [Intro], [Verse], [Pre-Chorus], [Chorus], [Bridge], [Outro], and vocal direction tags
- Multiple Languages: Support for English, Spanish, French, German, Japanese, Korean, and more
- Quick Mode: Generate combined single prompts for faster workflow
- Modern UI: Clean, gradient-based design with smooth animations and transitions
- Dark/Light Theme: Toggle between dark and light modes with preference saving
- Responsive Design: Mobile-first approach that works on all screen sizes
- Example Prompts: 5 pre-configured examples to get started quickly
- Random Inspiration: Generate random combinations for creative exploration
- Local Storage: Automatically saves your inputs and preferences
- Copy to Clipboard: One-click copying of generated outputs
- Export Function: Download outputs as .txt files
- Collapsible help section explaining Suno metatags
- Tips for avoiding copyright issues
- Best practices for effective prompts
- Links to Suno.wiki and official resources
Visit the deployed version at: https://pathtopenguin.github.io/SunoAI-Prompter/
- Fork this repository
- Go to your repository settings
- Navigate to "Pages" section
- Select "Deploy from a branch"
- Choose "main" branch and "/ (root)" folder
- Click "Save"
- Your site will be live at
https://yourusername.github.io/SunoAI-Prompter/
-
Clone the repository:
git clone https://github.com/PathToPenguin/SunoAI-Prompter.git cd SunoAI-Prompter -
Open
index.htmlin your web browser, or use a local server:# Python 3 python -m http.server 8000 # Node.js (if you have http-server installed) npx http-server
-
Navigate to
http://localhost:8000in your browser
- Fill in the form on the left side with your desired music parameters
- Click "Generate" to create your style prompt and lyrics
- Copy the outputs using the clipboard buttons
- Paste into Suno AI and create your music!
The style prompt is formatted for Suno's "Style of Music" field. It includes:
- Genre and subgenre
- Mood descriptors
- BPM specification
- Instrumentation list
- Vocal style and characteristics
- Structure information
- Production notes
Example:
Uplifting indie pop, 120 bpm, joyful and carefree, acoustic guitars, tambourine, handclaps, warm male/female harmonies, verse-chorus-bridge structure, bright production
The lyrics are structured with Suno metatags for optimal results:
[Intro]- Opening section[Verse]- Story verses[Pre-Chorus]- Build-up sections[Chorus]- Main hook[Bridge]- Contrasting section[Outro]- Ending[softly],[powerfully], etc. - Vocal direction tags
- โ Don't use artist names (e.g., "Taylor Swift style")
- โ Do describe the style (e.g., "catchy pop with storytelling lyrics")
- โ Don't reference specific songs
- โ Do use descriptive musical terms
- Be specific about instrumentation and mood
- Use BPM to control energy level
- Combine multiple moods for nuanced results
- Include narrative context for more coherent lyrics
- Experiment with different structures
- Use metatags to control song structure
- Add vocal direction tags for expression control
- Don't overuse tags - let Suno interpret naturally
- Test different tag combinations
SunoAI-Prompter/
โโโ index.html # Main HTML file
โโโ css/
โ โโโ style.css # Styling and themes
โโโ js/
โ โโโ app.js # Main application logic
โ โโโ validation.js # Copyright checking and validation
โ โโโ generator.js # Prompt and lyrics generation
โ โโโ examples.js # Example prompts data
โโโ README.md # This file
โโโ LICENSE # MIT License
- HTML5: Semantic markup
- CSS3: Modern styling with CSS variables, gradients, and animations
- Vanilla JavaScript: No external dependencies
- Local Storage API: For saving user preferences and form data
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
- Responsive Design: CSS Grid and Flexbox
- Theme Switching: CSS variables and class toggling
- Form Validation: Real-time validation with debouncing
- Data Persistence: localStorage for form data and preferences
- Clipboard API: Modern copy-to-clipboard functionality
- File Export: Blob API for text file generation
- Quickly generate song ideas
- Experiment with different styles
- Create structured lyrics with proper formatting
- Avoid copyright issues automatically
- Generate background music prompts
- Create themed music for videos
- Explore different musical styles
- Batch create multiple variations
- Learn from clean, documented code
- Fork and customize for specific needs
- Integrate into other tools
- Study copyright-safe implementation
Contributions are welcome! Here are some ways you can help:
Edit js/validation.js and add entries to the artistBlocklist array:
{ name: "Artist Name", style: "style description" }Edit js/generator.js and enhance the getLyricsTemplates() function with:
- More language support
- Better lyric generation
- Additional song structures
- Improve responsive design
- Add animations
- Create new themes
- Optimize performance
- Report bugs
- Suggest features
- Share feedback
This project is licensed under the MIT License - see the LICENSE file for details.
- Suno AI - For creating an amazing AI music generation platform
- Suno.wiki - For documentation and community resources
- The Suno Community - For inspiration and feedback
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Suno.wiki: Official Documentation
- Advanced mode with more granular controls (reverb, compression, effects)
- Multi-language lyrics generation with proper templates
- API integration for direct Suno submission
- Collaborative prompt sharing
- Prompt history and favorites
- A/B testing for prompt variations
- Integration with other AI music platforms
- Mobile app versions
If you find this tool useful, please consider giving it a star on GitHub! It helps others discover the project.
Made with โค๏ธ for the Suno AI community