# Wink AI — Zapi reference > Wink AI image enhancement (HD / Ultra HD upscale). **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/ai/wink-ai - Endpoint catalog: https://zpi.web.id/category/ai - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## Wink AI **Category:** ai · **Slug:** `wink-ai` **Detail page:** https://zpi.web.id/api/ai/wink-ai Wink AI image enhancement (HD / Ultra HD upscale). **Tags:** image, ai, enhance, upscale ### Enhance Upscale image to HD or Ultra HD. Input via URL or base64. - **Method:** `POST` - **Endpoint:** `https://api.zpi.web.id/v1/ai:wink-ai/enhance` **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `image` | file | form | yes | Upload source image (jpg/png/webp/bmp/gif). Max 20MB. | | `quality` | enum(hd|ultra) | form | no | Upscale level. hd = 2x upscale (e.g. 200x200 -> 400x400). ultra = 4x upscale (200x200 -> 800x800), sharper but slower. Default hd | **cURL:** ```bash curl -X POST "https://api.zpi.web.id/v1/ai:wink-ai/enhance" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "image": "photo.jpg", "quality": "hd" }' ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/ai:wink-ai/enhance", { method: "POST", headers: { "x-api-key": process.env.ZAPI_KEY, "Content-Type": "application/json" }, body: JSON.stringify({ "image": "photo.jpg", "quality": "hd" }) }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.post("https://api.zpi.web.id/v1/ai:wink-ai/enhance", headers={"x-api-key": "YOUR_API_KEY"}, json={ "image": "photo.jpg", "quality": "hd" }) data = r.json() ``` **Example response:** ```json { "images": [ { "url": "https:///temp/abc123.jpeg", "width": 400, "height": 400 } ], "quality": "hd", "provider": "wink-ai" } ``` --- _Generated: 2026-08-02T14:28:46.202Z_