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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
<!DOCTYPE html>
|
| 3 |
+
<html lang="en">
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>CreateAI - AI Video Generator</title>
|
| 8 |
+
|
| 9 |
+
<style>
|
| 10 |
+
* {
|
| 11 |
+
box-sizing: border-box;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
body {
|
| 15 |
+
margin: 0;
|
| 16 |
+
background: #090914;
|
| 17 |
+
color: white;
|
| 18 |
+
font-family: Arial, sans-serif;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
header {
|
| 22 |
+
padding: 20px;
|
| 23 |
+
display: flex;
|
| 24 |
+
justify-content: space-between;
|
| 25 |
+
align-items: center;
|
| 26 |
+
border-bottom: 1px solid #292943;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.logo {
|
| 30 |
+
font-size: 25px;
|
| 31 |
+
font-weight: bold;
|
| 32 |
+
color: #a78bfa;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.tag {
|
| 36 |
+
background: #211b39;
|
| 37 |
+
padding: 8px 12px;
|
| 38 |
+
border-radius: 20px;
|
| 39 |
+
color: #c4b5fd;
|
| 40 |
+
font-size: 12px;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
main {
|
| 44 |
+
max-width: 750px;
|
| 45 |
+
margin: 55px auto;
|
| 46 |
+
padding: 20px;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
h1 {
|
| 50 |
+
text-align: center;
|
| 51 |
+
font-size: 38px;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
h1 span {
|
| 55 |
+
color: #a78bfa;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.subtitle {
|
| 59 |
+
text-align: center;
|
| 60 |
+
color: #aaa9bd;
|
| 61 |
+
margin-bottom: 40px;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.panel {
|
| 65 |
+
background: #151526;
|
| 66 |
+
border: 1px solid #30304b;
|
| 67 |
+
border-radius: 16px;
|
| 68 |
+
padding: 23px;
|
| 69 |
+
margin-bottom: 20px;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
label {
|
| 73 |
+
display: block;
|
| 74 |
+
margin-bottom: 12px;
|
| 75 |
+
font-weight: bold;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
textarea, select {
|
| 79 |
+
width: 100%;
|
| 80 |
+
background: #0d0d1c;
|
| 81 |
+
color: white;
|
| 82 |
+
border: 1px solid #393951;
|
| 83 |
+
border-radius: 10px;
|
| 84 |
+
padding: 14px;
|
| 85 |
+
font-size: 15px;
|
| 86 |
+
margin-bottom: 20px;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
textarea {
|
| 90 |
+
min-height: 130px;
|
| 91 |
+
resize: vertical;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
select {
|
| 95 |
+
cursor: pointer;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
button {
|
| 99 |
+
width: 100%;
|
| 100 |
+
padding: 16px;
|
| 101 |
+
background: linear-gradient(90deg,#7c3aed,#a855f7);
|
| 102 |
+
color: white;
|
| 103 |
+
font-size: 17px;
|
| 104 |
+
font-weight: bold;
|
| 105 |
+
border: none;
|
| 106 |
+
border-radius: 10px;
|
| 107 |
+
cursor: pointer;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
button:active {
|
| 111 |
+
transform: scale(.98);
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
#status {
|
| 115 |
+
margin-top: 18px;
|
| 116 |
+
padding: 15px;
|
| 117 |
+
border-radius: 10px;
|
| 118 |
+
background: #211b39;
|
| 119 |
+
color: #d8b4fe;
|
| 120 |
+
display: none;
|
| 121 |
+
line-height: 1.6;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
footer {
|
| 125 |
+
text-align: center;
|
| 126 |
+
color: #77778c;
|
| 127 |
+
padding: 30px;
|
| 128 |
+
font-size: 13px;
|
| 129 |
+
}
|
| 130 |
+
</style>
|
| 131 |
+
</head>
|
| 132 |
+
|
| 133 |
+
<body>
|
| 134 |
+
|
| 135 |
+
<header>
|
| 136 |
+
<div class="logo">✦ CreateAI</div>
|
| 137 |
+
<div class="tag">AI VIDEO STUDIO</div>
|
| 138 |
+
</header>
|
| 139 |
+
|
| 140 |
+
<main>
|
| 141 |
+
|
| 142 |
+
<h1>Create videos with <span>AI</span></h1>
|
| 143 |
+
|
| 144 |
+
<p class="subtitle">
|
| 145 |
+
Turn your imagination into videos.
|
| 146 |
+
Create Shorts and long-form content.
|
| 147 |
+
</p>
|
| 148 |
+
|
| 149 |
+
<div class="panel">
|
| 150 |
+
|
| 151 |
+
<label for="prompt">Describe your video</label>
|
| 152 |
+
|
| 153 |
+
<textarea id="prompt"
|
| 154 |
+
placeholder="Example: A mysterious man receives a text message at 3 AM. He looks outside and sees someone standing in the rain..."></textarea>
|
| 155 |
+
|
| 156 |
+
<label for="type">Video type</label>
|
| 157 |
+
<select id="type">
|
| 158 |
+
<option value="Shorts">YouTube Shorts</option>
|
| 159 |
+
<option value="Long-form">Long-form video</option>
|
| 160 |
+
</select>
|
| 161 |
+
|
| 162 |
+
<label for="duration">Video duration</label>
|
| 163 |
+
<select id="duration">
|
| 164 |
+
<option value="30 seconds">30 seconds</option>
|
| 165 |
+
<option value="60 seconds">60 seconds</option>
|
| 166 |
+
<option value="2 minutes">2 minutes</option>
|
| 167 |
+
<option value="5 minutes">5 minutes</option>
|
| 168 |
+
<option value="10 minutes">10 minutes</option>
|
| 169 |
+
</select>
|
| 170 |
+
|
| 171 |
+
<label for="style">Video style</label>
|
| 172 |
+
<select id="style">
|
| 173 |
+
<option>Cinematic horror</option>
|
| 174 |
+
<option>Mystery</option>
|
| 175 |
+
<option>Realistic</option>
|
| 176 |
+
<option>Animation</option>
|
| 177 |
+
<option>Fantasy</option>
|
| 178 |
+
<option>Documentary</option>
|
| 179 |
+
</select>
|
| 180 |
+
|
| 181 |
+
<button onclick="generate()">Generate Video ✨</button>
|
| 182 |
+
|
| 183 |
+
<div id="status"></div>
|
| 184 |
+
|
| 185 |
+
</div>
|
| 186 |
+
|
| 187 |
+
<footer>
|
| 188 |
+
CreateAI © 2026 · Made for creators
|
| 189 |
+
</footer>
|
| 190 |
+
|
| 191 |
+
</main>
|
| 192 |
+
|
| 193 |
+
<script>
|
| 194 |
+
function generate() {
|
| 195 |
+
const prompt = document.getElementById("prompt").value.trim();
|
| 196 |
+
const type = document.getElementById("type").value;
|
| 197 |
+
const duration = document.getElementById("duration").value;
|
| 198 |
+
const style = document.getElementById("style").value;
|
| 199 |
+
const status = document.getElementById("status");
|
| 200 |
+
|
| 201 |
+
if (!prompt) {
|
| 202 |
+
alert("Please describe your video first!");
|
| 203 |
+
return;
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
status.style.display = "block";
|
| 207 |
+
status.innerHTML =
|
| 208 |
+
"<strong>Your video settings are ready!</strong><br><br>" +
|
| 209 |
+
"Type: " + type + "<br>" +
|
| 210 |
+
"Duration: " + duration + "<br>" +
|
| 211 |
+
"Style: " + style + "<br><br>" +
|
| 212 |
+
"Your prompt has been received by the CreateAI interface. " +
|
| 213 |
+
"The AI video-generation engine is not connected yet. " +
|
| 214 |
+
"That is our next development step!";
|
| 215 |
+
}
|
| 216 |
+
</script>
|
| 217 |
+
|
| 218 |
+
</body>
|
| 219 |
+
</html>
|