Design & Assets

Icon generator

Icon generator: pick a Font Awesome Free icon (by search query or exact name) plus background color(s) and get an app-icon-ready asset — SVG source + PNG base64, default 1024x1024 opaque squircle (iOS-ready). Options: 1-2 background colors (2 = gradient), fg glyph color, shape (squircle/rounded/circle/square/transparent), size 64-1024, padding. Returns alternatives when resolved via search.

Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/api/icon/generate

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/icon/generate
  • Auth: API key in header X-PAYMENT

Request body

querystring

Search text — best match is used automatically

iconstring

Exact Font Awesome icon name (skips search)

stylestring

solid (default), regular, or brands

fgstring

Glyph hex color (default #ffffff)

shapestring

squircle (default, iOS-style), rounded, circle, square

sizenumber

Pixel size 64-1024 (default 1024)

paddingnumber

Glyph padding as fraction 0.05-0.35 (default 0.18)

Response

Success

iconobject
svgstring
png_base64string
attributionstring

Changes

No recorded changes to this operation across all 1 revision of this API.