Developer API
Call İlanyap image operations from your own app (CRM, website, automation).
1. Get a key
My Account page. Generate an API key there. The key starts with ily_.
2. Endpoints
POST /api/v1/enhance— photo enhancementPOST /api/v1/sky— turn the sky bluePOST /api/v1/blur— face/plate blurring
Each successful call spends 1 credit.
3. Authentication & input
Authorization: Bearer <API_KEY> header — send the request. In the body provide imageBase64 or imageUrl.
4. Example request
curl -X POST https://ilanyap.com/api/v1/enhance \
-H "Authorization: Bearer ily_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"imageUrl": "https://ornek.com/oda.jpg"}'5. Example response
{
"imageBase64": "/9j/4AAQSk...",
"mimeType": "image/jpeg",
"demo": false,
"credits": 99
}demo: true means no AI key is configured on the server (a sample output is returned).