-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
289 lines (260 loc) Β· 16.4 KB
/
Copy pathindex.html
File metadata and controls
289 lines (260 loc) Β· 16.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SunoAI Lyrics + Prompt Generator</title>
<meta name="description" content="Generate copyright-safe, well-structured prompts and lyrics for Suno AI music generation">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<header>
<h1>π΅ SunoAI Lyrics + Prompt Generator</h1>
<p class="subtitle">Create copyright-safe, professional prompts and lyrics for Suno AI</p>
<div class="header-controls">
<button id="themeToggle" class="icon-btn" title="Toggle theme">π</button>
<button id="helpToggle" class="icon-btn" title="Show help">β</button>
</div>
</header>
<!-- Help Section -->
<div id="helpSection" class="help-section collapsed">
<h2>π How to Use</h2>
<div class="help-content">
<h3>Getting Started</h3>
<p>This tool helps you create effective prompts and lyrics for Suno AI. Fill in the form on the left, then click "Generate" to create your outputs.</p>
<h3>Understanding Suno Metatags</h3>
<p>Metatags help structure your song. Common tags include:</p>
<ul>
<li><strong>[Intro]</strong> - Opening instrumental or vocal section</li>
<li><strong>[Verse]</strong> - Main storytelling sections</li>
<li><strong>[Pre-Chorus]</strong> - Build-up before the chorus</li>
<li><strong>[Chorus]</strong> - The main hook/refrain</li>
<li><strong>[Bridge]</strong> - Contrasting section, usually after second chorus</li>
<li><strong>[Outro]</strong> - Ending section</li>
<li><strong>[softly]</strong>, <strong>[powerfully]</strong> - Vocal direction tags</li>
</ul>
<h3>Copyright Safety Tips</h3>
<ul>
<li>β Don't use artist names (e.g., "Taylor Swift style")</li>
<li>β
Do describe the style (e.g., "catchy pop with storytelling lyrics")</li>
<li>β Don't reference specific songs or lyrics</li>
<li>β
Do use descriptive musical terms</li>
</ul>
<h3>Resources</h3>
<ul>
<li><a href="https://suno.wiki" target="_blank">Suno.wiki</a> - Official documentation</li>
<li><a href="https://www.suno.ai" target="_blank">Suno.ai</a> - Create your music</li>
</ul>
</div>
</div>
<div class="main-content">
<!-- Input Section -->
<div class="input-section">
<div class="mode-toggle">
<label class="toggle-switch">
<input type="checkbox" id="quickMode">
<span class="toggle-slider"></span>
</label>
<span class="toggle-label">Quick Mode (Single Combined Prompt)</span>
</div>
<form id="promptForm">
<!-- Style of Music Section -->
<section class="form-section">
<h2>πΈ Style of Music</h2>
<div class="form-group">
<label for="genre">Genre/Subgenre</label>
<select id="genre" name="genre">
<option value="">Select a genre...</option>
<option value="pop">Pop</option>
<option value="rock">Rock</option>
<option value="hip-hop">Hip-Hop</option>
<option value="electronic">Electronic</option>
<option value="jazz">Jazz</option>
<option value="classical">Classical</option>
<option value="country">Country</option>
<option value="r&b">R&B</option>
<option value="metal">Metal</option>
<option value="indie">Indie</option>
<option value="folk">Folk</option>
<option value="reggae">Reggae</option>
<option value="blues">Blues</option>
<option value="custom">Custom...</option>
</select>
<input type="text" id="customGenre" name="customGenre" placeholder="Enter custom genre..." class="hidden">
</div>
<div class="form-group">
<label>Mood/Emotion</label>
<div class="tag-group" id="moodTags">
<button type="button" class="tag-btn" data-value="happy">Happy</button>
<button type="button" class="tag-btn" data-value="sad">Sad</button>
<button type="button" class="tag-btn" data-value="energetic">Energetic</button>
<button type="button" class="tag-btn" data-value="melancholic">Melancholic</button>
<button type="button" class="tag-btn" data-value="uplifting">Uplifting</button>
<button type="button" class="tag-btn" data-value="dark">Dark</button>
<button type="button" class="tag-btn" data-value="cinematic">Cinematic</button>
<button type="button" class="tag-btn" data-value="romantic">Romantic</button>
<button type="button" class="tag-btn" data-value="aggressive">Aggressive</button>
<button type="button" class="tag-btn" data-value="peaceful">Peaceful</button>
<button type="button" class="tag-btn" data-value="mysterious">Mysterious</button>
<button type="button" class="tag-btn" data-value="nostalgic">Nostalgic</button>
</div>
</div>
<div class="form-group">
<label for="tempo">Tempo (BPM): <span id="tempoValue">120</span></label>
<input type="range" id="tempo" name="tempo" min="60" max="180" value="120" step="5">
</div>
<div class="form-group">
<label>Instrumentation</label>
<div class="checkbox-group" id="instrumentationGroup">
<label><input type="checkbox" name="instrument" value="guitar"> Guitar</label>
<label><input type="checkbox" name="instrument" value="piano"> Piano</label>
<label><input type="checkbox" name="instrument" value="drums"> Drums</label>
<label><input type="checkbox" name="instrument" value="synth"> Synth</label>
<label><input type="checkbox" name="instrument" value="strings"> Strings</label>
<label><input type="checkbox" name="instrument" value="bass"> Bass</label>
<label><input type="checkbox" name="instrument" value="saxophone"> Saxophone</label>
<label><input type="checkbox" name="instrument" value="violin"> Violin</label>
<label><input type="checkbox" name="instrument" value="trumpet"> Trumpet</label>
<label><input type="checkbox" name="instrument" value="electronic-beats"> Electronic Beats</label>
</div>
<input type="text" id="customInstrument" name="customInstrument" placeholder="Add custom instruments (comma-separated)...">
</div>
<div class="form-group">
<label for="vocalGender">Vocal Gender</label>
<select id="vocalGender" name="vocalGender">
<option value="male">Male</option>
<option value="female">Female</option>
<option value="duet">Duet</option>
<option value="none">Instrumental (No vocals)</option>
</select>
</div>
<div class="form-group">
<label for="vocalDelivery">Vocal Delivery</label>
<select id="vocalDelivery" name="vocalDelivery">
<option value="soft">Soft</option>
<option value="powerful">Powerful</option>
<option value="raspy">Raspy</option>
<option value="airy">Airy</option>
<option value="rap">Rap</option>
<option value="sung">Sung</option>
<option value="whispered">Whispered</option>
<option value="soulful">Soulful</option>
</select>
</div>
<div class="form-group">
<label for="harmonies">Harmonies</label>
<select id="harmonies" name="harmonies">
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
</div>
<div class="form-group">
<label for="structure">Song Structure</label>
<select id="structure" name="structure">
<option value="verse-chorus">Verse-Chorus</option>
<option value="verse-chorus-bridge">Verse-Chorus-Bridge</option>
<option value="aaba">AABA</option>
<option value="through-composed">Through-composed</option>
<option value="custom">Custom</option>
</select>
</div>
</section>
<!-- Language Section -->
<section class="form-section">
<h2>π Language</h2>
<div class="form-group">
<label for="language">Language of Lyrics</label>
<select id="language" name="language">
<option value="english">English</option>
<option value="spanish">Spanish</option>
<option value="french">French</option>
<option value="german">German</option>
<option value="italian">Italian</option>
<option value="portuguese">Portuguese</option>
<option value="japanese">Japanese</option>
<option value="korean">Korean</option>
<option value="mandarin">Mandarin Chinese</option>
<option value="russian">Russian</option>
<option value="other">Other...</option>
</select>
<input type="text" id="customLanguage" name="customLanguage" placeholder="Enter language..." class="hidden">
</div>
</section>
<!-- Additional Info Section -->
<section class="form-section">
<h2>π Additional Information</h2>
<div class="form-group">
<label for="theme">Theme/Topic</label>
<textarea id="theme" name="theme" rows="3" placeholder="e.g., Summer love, overcoming challenges, city nightlife..."></textarea>
</div>
<div class="form-group">
<label for="keywords">Keywords to Include</label>
<input type="text" id="keywords" name="keywords" placeholder="e.g., sunset, heartbreak, freedom (comma-separated)">
</div>
<div class="form-group">
<label for="narrative">Narrative/Story Context</label>
<textarea id="narrative" name="narrative" rows="3" placeholder="Describe the story or context of the song..."></textarea>
</div>
<div class="form-group">
<label for="inspiration">Inspired By (Style Description)</label>
<input type="text" id="inspiration" name="inspiration" placeholder="e.g., atmospheric alt-rock with ambient synths">
<div id="inspirationWarning" class="warning-message hidden">
β οΈ Please describe the style instead of naming artists (e.g., 'atmospheric alt-rock with ambient synths' instead of artist names)
</div>
<div id="inspirationSuggestion" class="suggestion-message hidden"></div>
</div>
</section>
<!-- Action Buttons -->
<div class="button-group">
<button type="button" id="randomBtn" class="btn btn-secondary">π² Random Inspiration</button>
<button type="button" id="resetBtn" class="btn btn-secondary">π Reset</button>
<button type="submit" id="generateBtn" class="btn btn-primary">β¨ Generate</button>
</div>
</form>
<!-- Example Prompts -->
<section class="examples-section">
<h2>π‘ Example Prompts</h2>
<div class="example-cards" id="exampleCards">
<!-- Examples will be loaded by JavaScript -->
</div>
</section>
</div>
<!-- Output Section -->
<div class="output-section">
<div class="output-sticky">
<h2>π Generated Outputs</h2>
<div class="output-box">
<div class="output-header">
<h3>Style Prompt</h3>
<button class="copy-btn" data-target="styleOutput" title="Copy to clipboard">π</button>
</div>
<div id="styleOutput" class="output-content">
Your generated style prompt will appear here...
</div>
</div>
<div class="output-box">
<div class="output-header">
<h3>Lyrics</h3>
<button class="copy-btn" data-target="lyricsOutput" title="Copy to clipboard">π</button>
</div>
<div id="lyricsOutput" class="output-content">
Your generated lyrics will appear here...
</div>
</div>
<div class="output-actions">
<button id="exportBtn" class="btn btn-secondary" disabled>πΎ Export as TXT</button>
</div>
</div>
</div>
</div>
<footer>
<p>Made with β€οΈ for the Suno AI community | <a href="https://github.com/PathToPenguin/SunoAI-Prompter" target="_blank">GitHub</a> | <a href="https://suno.wiki" target="_blank">Suno.wiki</a></p>
</footer>
</div>
<script src="js/validation.js"></script>
<script src="js/generator.js"></script>
<script src="js/examples.js"></script>
<script src="js/app.js"></script>
</body>
</html>