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