Pencil API
Make pencil art from image url. Bagian dari API Edit Foto dan Filter Gambar.
GETPOSTAktifGratis
Request
Contoh memakai apikey demo. Masuk untuk melihatnya dengan apikey kamu.
Endpoint 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.ibb.co/Xb2pZ88/test.jpg |
Contoh kode
curl "https://api.lolhuman.xyz/api/editor/pencil?apikey=beta&img=https://i.ibb.co/Xb2pZ88/test.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 (...)