FarelDeveloper commited on
Commit
c83139c
·
verified ·
1 Parent(s): 1ddd8a3

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +166 -35
index.html CHANGED
@@ -3,63 +3,194 @@
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <title>Ditss BratX API — Free Text-to-Image</title>
7
- <meta name="description" content="Free Brat Text-to-Image API by DitssCloud. Fast, simple, and optimized for developers.">
 
 
8
  <style>
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  body {
10
- font-family: Arial, sans-serif;
11
- background: #0a0f24;
12
- color: #fff;
13
  margin: 0;
14
- padding: 0;
15
- text-align: center;
 
 
16
  }
 
17
  main {
18
- padding: 60px 20px;
19
- max-width: 700px;
20
  margin: auto;
 
 
21
  }
 
 
 
 
 
 
 
 
 
 
 
22
  h1 {
23
- font-size: 2.6rem;
24
- margin-bottom: 10px;
25
- background: linear-gradient(90deg,#00c6ff,#0072ff);
26
  -webkit-background-clip: text;
27
  -webkit-text-fill-color: transparent;
28
  }
29
- p {
30
- font-size: 1.1rem;
31
- line-height: 1.6;
32
- opacity: 0.9;
33
- margin-bottom: 35px;
 
34
  }
35
- button {
36
- background: #0072ff;
37
- color: #fff;
38
- border: none;
39
- padding: 12px 25px;
40
- border-radius: 10px;
41
- cursor: pointer;
 
 
 
 
 
42
  font-size: 1rem;
43
- transition: 0.25s;
 
 
 
 
44
  }
45
- button:hover {
46
- background: #005bd1;
47
- transform: scale(1.05);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
  </style>
50
  </head>
51
 
52
  <body>
53
  <main>
54
- <h1>Ditss BratX API</h1>
55
- <p>
56
- BratX API adalah layanan gratis untuk membuat gambar teks bergaya BRAT
57
- secara instan. Dibangun menggunakan FastAPI untuk performa tinggi dan
58
- respons super cepat. Cocok untuk pengembang, bot WhatsApp, website,
59
- dan aplikasi kreatif lainnya.
 
 
 
60
  </p>
61
 
62
- <button onclick="location.href='/docs'">Lihat Dokumentasi</button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  </main>
 
 
 
 
64
  </body>
65
  </html>
 
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>BratX Farel API — Free Text to Image & Video</title>
7
+
8
+ <meta name="description" content="BratX Farel API adalah layanan gratis Text-to-Image & Video BRAT style. Cepat, ringan, dan cocok untuk bot, website, dan developer.">
9
+
10
  <style>
11
+ :root {
12
+ --bg: #0b1025;
13
+ --card: rgba(255,255,255,0.06);
14
+ --border: rgba(255,255,255,0.12);
15
+ --text: #ffffff;
16
+ --muted: rgba(255,255,255,0.75);
17
+ --grad: linear-gradient(90deg,#00c6ff,#0072ff);
18
+ }
19
+
20
+ * {
21
+ box-sizing: border-box;
22
+ }
23
+
24
  body {
 
 
 
25
  margin: 0;
26
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
27
+ background: radial-gradient(circle at top, #121a3a, var(--bg));
28
+ color: var(--text);
29
+ min-height: 100vh;
30
  }
31
+
32
  main {
33
+ max-width: 900px;
 
34
  margin: auto;
35
+ padding: 80px 20px 60px;
36
+ text-align: center;
37
  }
38
+
39
+ .badge {
40
+ display: inline-block;
41
+ padding: 6px 14px;
42
+ border-radius: 999px;
43
+ font-size: 0.85rem;
44
+ background: var(--card);
45
+ border: 1px solid var(--border);
46
+ margin-bottom: 20px;
47
+ }
48
+
49
  h1 {
50
+ font-size: 3rem;
51
+ margin: 0 0 14px;
52
+ background: var(--grad);
53
  -webkit-background-clip: text;
54
  -webkit-text-fill-color: transparent;
55
  }
56
+
57
+ p.desc {
58
+ font-size: 1.15rem;
59
+ line-height: 1.7;
60
+ color: var(--muted);
61
+ margin-bottom: 40px;
62
  }
63
+
64
+ .actions {
65
+ display: flex;
66
+ gap: 15px;
67
+ justify-content: center;
68
+ flex-wrap: wrap;
69
+ margin-bottom: 50px;
70
+ }
71
+
72
+ .btn {
73
+ padding: 14px 28px;
74
+ border-radius: 12px;
75
  font-size: 1rem;
76
+ cursor: pointer;
77
+ border: none;
78
+ background: var(--grad);
79
+ color: #fff;
80
+ transition: 0.25s ease;
81
  }
82
+
83
+ .btn.secondary {
84
+ background: transparent;
85
+ border: 1px solid var(--border);
86
+ }
87
+
88
+ .btn:hover {
89
+ transform: translateY(-2px) scale(1.04);
90
+ }
91
+
92
+ .cards {
93
+ display: grid;
94
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
95
+ gap: 20px;
96
+ margin-top: 20px;
97
+ }
98
+
99
+ .card {
100
+ background: var(--card);
101
+ border: 1px solid var(--border);
102
+ border-radius: 18px;
103
+ padding: 22px;
104
+ text-align: left;
105
+ backdrop-filter: blur(10px);
106
+ }
107
+
108
+ .card h3 {
109
+ margin: 0 0 10px;
110
+ font-size: 1.2rem;
111
+ }
112
+
113
+ .card p {
114
+ margin: 0;
115
+ font-size: 0.95rem;
116
+ color: var(--muted);
117
+ line-height: 1.6;
118
+ }
119
+
120
+ .code {
121
+ margin-top: 50px;
122
+ background: #070b1c;
123
+ border: 1px solid var(--border);
124
+ border-radius: 16px;
125
+ padding: 20px;
126
+ text-align: left;
127
+ font-family: monospace;
128
+ font-size: 0.95rem;
129
+ overflow-x: auto;
130
+ color: #b9e4ff;
131
+ }
132
+
133
+ footer {
134
+ text-align: center;
135
+ padding: 30px 15px;
136
+ font-size: 0.85rem;
137
+ color: rgba(255,255,255,0.55);
138
  }
139
  </style>
140
  </head>
141
 
142
  <body>
143
  <main>
144
+ <div class="badge">🚀 Free & Unlimited API</div>
145
+
146
+ <h1>BratX Farel API</h1>
147
+
148
+ <p class="desc">
149
+ BratX Farel API adalah layanan gratis untuk menghasilkan gambar dan video
150
+ teks bergaya <b>BRAT</b> secara instan. Dibangun dengan FastAPI dan Playwright
151
+ untuk performa tinggi. Cocok untuk bot WhatsApp, Telegram, website,
152
+ dan berbagai aplikasi kreatif.
153
  </p>
154
 
155
+ <div class="actions">
156
+ <button class="btn" onclick="location.href='/docs'">Lihat Dokumentasi</button>
157
+ <button class="btn secondary" onclick="location.href='/api/brat?text=Hello'">Coba API</button>
158
+ </div>
159
+
160
+ <div class="cards">
161
+ <div class="card">
162
+ <h3>���� Text to Image</h3>
163
+ <p>
164
+ Generate gambar BRAT dari teks secara real-time.
165
+ Response langsung berupa PNG.
166
+ </p>
167
+ </div>
168
+
169
+ <div class="card">
170
+ <h3>🎬 Text to Video</h3>
171
+ <p>
172
+ Ubah teks menjadi animasi video BRAT (MP4)
173
+ tanpa downloader & tanpa delay.
174
+ </p>
175
+ </div>
176
+
177
+ <div class="card">
178
+ <h3>⚡ Super Fast</h3>
179
+ <p>
180
+ Tanpa rate limit, tanpa auth ribet,
181
+ siap dipakai publik & developer.
182
+ </p>
183
+ </div>
184
+ </div>
185
+
186
+ <div class="code">
187
+ GET /api/brat?text=Halo Dunia<br>
188
+ GET /api/bratvid?text=Halo Dunia
189
+ </div>
190
  </main>
191
+
192
+ <footer>
193
+ © 2025 BratX Farel API • Built with FastAPI
194
+ </footer>
195
  </body>
196
  </html>