Image Proxy
Proxy manga images to bypass CORS and hotlink protection. Use this endpoint to display manga images in your application.
Route Schema (URL)
https://api.consumet.org/manga/mangakakalot/proxy?url={imageUrl}Query Parameters
| Parameter | Type | Description | Required? | Default |
|---|---|---|---|---|
| url | string | The image URL to proxy | Yes |
Request Samples
import axios from "axios";
const imageUrl = "https://example.com/manga-image.jpg";
const proxyUrl = `https://api.consumet.org/manga/mangakakalot/proxy?url=${encodeURIComponent(imageUrl)}`;
// Use in img tag or fetch as blob
const img = document.createElement('img');
img.src = proxyUrl;Response Schema
MIME Type: image/jpeg or image/png or image/webp
Returns the binary image data with appropriate content-type header.
Headers:
Content-Type: The MIME type of the imageCache-Control:public, max-age=86400Access-Control-Allow-Origin:*