imagepeek: make a favicon set from an image
image_faviconGenerate a complete favicon set from one image, including favicon.ico and PNG icons, HTML link snippet, and web-manifest entries.
Instructions
imagepeek: Generate a favicon set from an image. For plain sizes use image_thumbnail. Returns a favicon set from one image: favicon.ico (16, 32, 48 px), favicon-32x32.png, apple-touch-icon.png (180 px, flattened on apple_background, white by default), icon-192.png and icon-512.png, plus the HTML snippet and the web-manifest icons; a source under 512 px is upscaled, with a note. The images come back in images. Reads PNG, JPEG, WebP, GIF, TIFF, BMP, ICO and AVIF; other formats and images over 40 megapixels are refused (not charged). Output: base64 data_base64, without EXIF, GPS, XMP or IPTC; over 15 MB or 50 megapixels is a 413 (not charged). Images are not logged; a result is kept only with output "url" (24 h). Typically 0.5-2 s. Price: USD 0.003. Free: 3 imagepeek calls per IP per UTC day. Docs: https://tanod.dev/learn/favicon-generator-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Squaring a non-square image: cover (default, centre crop) or contain (padded with background). | cover |
| url | No | Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64. | |
| output | No | base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window. | base64 |
| background | No | contain padding (default transparent). | |
| auto_orient | No | Apply the EXIF orientation first (default true). | |
| image_base64 | No | The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url. | |
| apple_background | No | apple-touch-icon fill (default #ffffff). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| input | No | ||
| notes | No | ||
| images | No | ||
| source | No | ||
| final_url | No | ||
| operation | No | ||
| source_url | No | ||
| total_bytes | No | ||
| manifest_icons | No |