Request
Contoh memakai apikey demo. Masuk untuk melihatnya dengan apikey kamu.
GET https://api.lolhuman.xyz/api/editor/flip?apikey=beta&img=https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpgEndpoint ini juga menerima metode POST.
Parameter
| Nama | Keterangan | Contoh |
|---|---|---|
apikey | Apikey kamu, dari halaman dashboard atau profil. | beta |
img | Link gambar yang diproses. | https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg |
Contoh kode
curl "https://api.lolhuman.xyz/api/editor/flip?apikey=beta&img=https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg"Respons
Endpoint data mengembalikan JSON dengan format di bawah. Endpoint pembuat gambar mengembalikan file gambarnya langsung.
{
"status": 200,
"message": "success",
"result": ...
}Kemungkinan error
Dicek sebelum endpoint berjalan. Formatnya sama, dengan result berisi "error".
- 400Parameter apikey tidak dikirim.
apikey parameter cannot be empty.- 404Apikey salah atau sudah diganti.
apikey <apikey> not found.- 429Kuota harian habis. Kuota direset tengah malam WIB.
requests limit exceeded (10 req / day), ...- 403IP pemanggil diblokir dari halaman profil.
your ip address get blocked by owner apikey (...)
Endpoint Image Processing lainnya
- Filter Xpro2
/api/filter/xpro2 - Fisheye
/api/editor/fisheye - Hitler
/api/creator1/hitler - Image Color
/api/imagecolor - Image Gray Scale
/api/editor/grayscale - Image Rotate
/api/editor/rotate - Image Rounded
/api/editor/roundimage - Image to Anime
/api/imagetoanime