Image & Media APIs
OG image generation, QR codes, placeholders, avatars, favicons, and barcode generation APIs.
15 endpoints available. All free to try without an API key.
/v1/og/generate Generate an Open Graph image with custom title, description, and colors.
Generate Open Graph images on the fly with custom titles, descriptions, themes, and brand colors. Returns PNG. Free tier available with no signup required.
/v1/qr/generate Generate a QR code from any text or URL.
Generate QR codes from any text or URL. Returns crisp SVG output with configurable size, error correction, and margin. Free tier available.
/v1/placeholder Generate a placeholder image with custom dimensions and text.
Generate placeholder images with custom width, height, background color, text, and format. Returns SVG or PNG. Free tier, no signup.
/v1/avatar Generate an identicon avatar from a string seed.
Generate unique identicon avatars from any string seed. Returns SVG or PNG at configurable sizes. Free tier, no signup required.
/v1/favicon Extract favicon URLs from any domain.
Extract all favicon URLs, sizes, and types from any domain. Returns structured JSON with icon metadata. Free tier, no signup required.
/v1/barcode Generate a Code128B barcode from any printable ASCII string.
Generate barcodes in Code128, EAN-13, EAN-8, UPC-A, ITF-14, and MSI formats. Returns SVG you can embed or download. Free barcode API, no signup.
/v1/image/convert Check whether an image format conversion is supported.
Check whether a format conversion (jpeg to png, png to webp, etc.) is supported and get guidance for your image pipeline. Free image format API.
/v1/image/resize Inspect an image and return CSS resize rules for target dimensions.
Inspect image dimensions and get CSS resize rules for any URL or base64 image. Returns content type, size, and ready-to-paste CSS for client-side scaling.
/v1/minify/css Minify CSS by removing comments and collapsing whitespace.
Minify CSS by stripping comments, collapsing whitespace, and trimming semicolons before braces. Returns minified output with original, minified sizes and savings percentage.
/v1/minify/html Minify HTML by stripping comments and collapsing whitespace.
Minify HTML by removing comments, collapsing whitespace between tags, and removing blank lines. Returns minified output with byte counts and savings percent.
/v1/minify/js Minify JavaScript safely (comments + whitespace, no mangling).
Minify JavaScript by stripping comments and collapsing whitespace while preserving keyword boundaries. Returns minified code with byte counts and savings percent.
/v1/pdf/from-html Wrap HTML in a print-ready document for PDF rendering.
Wrap any HTML in a print-ready page with @page size rules, headings, and table styles. Use with headless Chromium to generate production PDFs from HTML.
/v1/pdf/from-markdown Render Markdown to print-ready HTML for PDF export.
Convert Markdown to styled, print-ready HTML. Wraps in A4 or letter @page CSS; use with headless Chromium to produce PDFs.
/v1/screenshot/capture Wrap HTML for a fixed-size headless-browser screenshot.
Wrap HTML in a fixed-dimension document ready for headless-browser screenshot capture. Supports PNG or JPEG output up to 4096x4096.
/v1/svg/optimize Strip metadata and whitespace from SVG files.
Optimize SVG files by stripping Inkscape and Adobe metadata, comments, doctype, empty groups, and whitespace. Returns optimized SVG with size savings.
Start building with Botoi APIs
Free tier, no credit card required. Get your API key and start making requests in seconds.