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
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<meta name="description" content="AkenoAI API menyediakan solusi AI terbaik. Dapatkan akses gratis dan tak terbatas. Semua tersedia secara gratis untuk kebutuhan Anda.">
|
7 |
+
<meta name="keywords" content="AkenoAI API, AkenoAI, BlackBox.ai API, Chat GPT, Chat Bot Free, Chat Bot Gratis, Chat Bot Unlimited, Rest API AI Gratis">
|
8 |
+
<meta name="author" content="Nama Anda">
|
9 |
+
<title>AkenoAI API - Rest Api Free</title>
|
10 |
+
<style>
|
11 |
+
body {
|
12 |
+
font-family: 'Roboto', sans-serif;
|
13 |
+
background-color: #f4faff;
|
14 |
+
color: #333;
|
15 |
+
margin: 0;
|
16 |
+
padding: 0;
|
17 |
+
line-height: 1.6;
|
18 |
+
}
|
19 |
+
.container {
|
20 |
+
max-width: 1000px;
|
21 |
+
margin: 40px auto;
|
22 |
+
padding: 0 20px;
|
23 |
+
}
|
24 |
+
header {
|
25 |
+
background: #1e90ff;
|
26 |
+
color: #fff;
|
27 |
+
padding: 30px 0;
|
28 |
+
text-align: center;
|
29 |
+
border-bottom: 3px solid #005f9e;
|
30 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
31 |
+
}
|
32 |
+
header h1 {
|
33 |
+
margin: 0;
|
34 |
+
font-size: 2.5em;
|
35 |
+
font-weight: 400;
|
36 |
+
}
|
37 |
+
.main {
|
38 |
+
margin-top: 20px;
|
39 |
+
}
|
40 |
+
h2, h3 {
|
41 |
+
color: #1e90ff;
|
42 |
+
font-weight: 400;
|
43 |
+
}
|
44 |
+
.code-block {
|
45 |
+
background: #e0f7ff;
|
46 |
+
padding: 15px;
|
47 |
+
border-left: 5px solid #1e90ff;
|
48 |
+
margin: 20px 0;
|
49 |
+
position: relative;
|
50 |
+
border-radius: 5px;
|
51 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
52 |
+
}
|
53 |
+
.code-block pre {
|
54 |
+
margin: 0;
|
55 |
+
overflow-x: auto;
|
56 |
+
font-size: 0.9em;
|
57 |
+
}
|
58 |
+
.copy-btn {
|
59 |
+
position: absolute;
|
60 |
+
top: 10px;
|
61 |
+
right: 10px;
|
62 |
+
background: none;
|
63 |
+
border: none;
|
64 |
+
cursor: pointer;
|
65 |
+
outline: none;
|
66 |
+
}
|
67 |
+
.copy-btn img {
|
68 |
+
width: 24px;
|
69 |
+
height: 24px;
|
70 |
+
}
|
71 |
+
.stats-container {
|
72 |
+
display: grid;
|
73 |
+
grid-template-columns: 1fr 1fr;
|
74 |
+
gap: 20px;
|
75 |
+
margin-top: 40px;
|
76 |
+
}
|
77 |
+
.stat-box {
|
78 |
+
background: #fff;
|
79 |
+
padding: 20px;
|
80 |
+
border-radius: 10px;
|
81 |
+
text-align: center;
|
82 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
83 |
+
transition: transform 0.3s, box-shadow 0.3s;
|
84 |
+
}
|
85 |
+
.stat-box:hover {
|
86 |
+
transform: translateY(-10px);
|
87 |
+
box-shadow: 0 12px 24px rgba(0,0,0,0.1);
|
88 |
+
}
|
89 |
+
.stat-box h3 {
|
90 |
+
margin: 0;
|
91 |
+
font-size: 1.2em;
|
92 |
+
color: #1e90ff;
|
93 |
+
font-weight: 400;
|
94 |
+
}
|
95 |
+
.stat-box p {
|
96 |
+
margin: 10px 0 0;
|
97 |
+
font-size: 2.5em;
|
98 |
+
font-weight: bold;
|
99 |
+
color: #333;
|
100 |
+
}
|
101 |
+
.stat-box.full-width {
|
102 |
+
grid-column: span 2;
|
103 |
+
}
|
104 |
+
footer {
|
105 |
+
background: #1e90ff;
|
106 |
+
color: #fff;
|
107 |
+
text-align: center;
|
108 |
+
padding: 20px 0;
|
109 |
+
position: relative;
|
110 |
+
bottom: 0;
|
111 |
+
width: 100%;
|
112 |
+
margin-top: 40px;
|
113 |
+
box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
|
114 |
+
}
|
115 |
+
footer p {
|
116 |
+
margin: 0;
|
117 |
+
font-size: 0.9em;
|
118 |
+
}
|
119 |
+
</style>
|
120 |
+
</head>
|
121 |
+
<body>
|
122 |
+
|
123 |
+
<header>
|
124 |
+
<h1>Akeno AI</h1>
|
125 |
+
</header>
|
126 |
+
|
127 |
+
<div class="container">
|
128 |
+
<div class="main">
|
129 |
+
<h2>Introduction</h2>
|
130 |
+
<p>Dokumen ini menyediakan cara mudah untuk menggunakan klien Python untuk berinteraksi dengan API Akeno Dengan klien ini, kamu bisa mengirim permintaan dengan berbagai parameter dan menerima hasil dari API. Perlu diketahui, AkenoAi itu gratis, tanpa batasan, mendukung teks, gambar, data real-time, dan disupport oleh tim blackbox.ai. Jadi, kamu bisa menggunakannya dengan bebas dan fleksibel!</p>
|
131 |
+
|
132 |
+
<h2>Installation</h2>
|
133 |
+
<p>Pertama, pastikan Anda sudah menginstal Python Kemudian, instal dependensi yang diperlukan:</p>
|
134 |
+
<div class="code-block">
|
135 |
+
<pre><code>pip3 install requests</code></pre>
|
136 |
+
<pre><code>pip3 install git+https://github.com/TeamKillerX/RyuzakiLib</code></pre>
|
137 |
+
</div>
|
138 |
+
|
139 |
+
<h3>Basic Usage</h3>
|
140 |
+
<p>Mengirim permintaan ke API AkenoAi sangat sederhana. Pada dasarnya, yang Anda butuhkan hanyalah menyertakan content dalam setiap permintaan. ini kodenya:</p>
|
141 |
+
<div class="code-block">
|
142 |
+
<pre><code>import requests
|
143 |
+
|
144 |
+
url = "something"
|
145 |
+
payload = {}
|
146 |
+
response = requests.post(url, json=payload)
|
147 |
+
print(response.json())</code></pre>
|
148 |
+
</div>
|
149 |
+
|
150 |
+
<h3>TOANIME</h3>
|
151 |
+
<div class="code-block">
|
152 |
+
<pre><code>import requests
|
153 |
+
|
154 |
+
url = "https://randydev-ryuzaki-api.hf.space/akeno/toanime"
|
155 |
+
|
156 |
+
with open(file_path, "rb") as file:
|
157 |
+
files = {"file": file}
|
158 |
+
response = requests.post(url, files=files)
|
159 |
+
|
160 |
+
response_json = response.json()
|
161 |
+
print(response_json)</code></pre>
|
162 |
+
</div>
|
163 |
+
|
164 |
+
<h3>REMINI ENHANCER</h3>
|
165 |
+
<div class="code-block">
|
166 |
+
<pre><code>import requests
|
167 |
+
|
168 |
+
url = f"https://randydev-ryuzaki-api.hf.space/akeno/remini?remini_api_key={your_api_here}"
|
169 |
+
|
170 |
+
with open(file_path, "rb") as file:
|
171 |
+
files = {"file": file}
|
172 |
+
response = requests.post(url, files=files)
|
173 |
+
|
174 |
+
response_json = response.json()
|
175 |
+
print(response_json)</code></pre>
|
176 |
+
</div>
|
177 |
+
|
178 |
+
<h3>FLUX IMAGE GENERATE</h3>
|
179 |
+
<div class="code-block">
|
180 |
+
<pre><code>import requests
|
181 |
+
|
182 |
+
url = "https://randydev-ryuzaki-api.hf.space/api/v1/akeno/fluxai"
|
183 |
+
|
184 |
+
data = {
|
185 |
+
"user_id": 1191668125,
|
186 |
+
"args": "Generate an image of a futuristic city at sunset"
|
187 |
+
}
|
188 |
+
|
189 |
+
response = requests.post(url, json=data)
|
190 |
+
|
191 |
+
if response.status_code == 200:
|
192 |
+
with open('response_image.jpg', 'wb') as f:
|
193 |
+
f.write(response.content)
|
194 |
+
print("Image saved successfully.")
|
195 |
+
else:
|
196 |
+
print("Error:", response.status_code, response.text)</code></pre>
|
197 |
+
</div>
|
198 |
+
|
199 |
+
<h3>Cloudflare Meta</h3>
|
200 |
+
<div class="code-block">
|
201 |
+
<pre><code>from RyuzakiLib import CloudFlare
|
202 |
+
|
203 |
+
account_id = "your account id here"
|
204 |
+
api_token = "token here"
|
205 |
+
response = await CloudFlare.run(prompt="hello world", account_id=account_id, api_token=api_token)
|
206 |
+
|
207 |
+
print(response)</code></pre>
|
208 |
+
</div>
|
209 |
+
|
210 |
+
<h2>Closing</h2>
|
211 |
+
<p>Terima kasih kepada semua yang telah menggunakan AkenoAI. Kami berharap API ini terus memberikan manfaat positif bagi penggunanya. Jika Anda memiliki pertanyaan lebih lanjut, jangan ragu untuk menghubungi kami di Telegram: t.me/xtdevs.</p>
|
212 |
+
|
213 |
+
<h2>Special Thanks</h2>
|
214 |
+
<p>API ini didukung oleh platform Blackbox.ai, dan kami sangat berterima kasih kepada tim Blackbox.ai atas kontribusi luar biasa mereka. Terima kasih juga kepada kak habibie yang telah membantu membiayai hosting web API ini.</p>
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
|
218 |
+
<footer>
|
219 |
+
<p>AkenoAI API Client © 2024</p>
|
220 |
+
</footer>
|
221 |
+
</body>
|
222 |
+
</html>
|