{"uid":"cap_yrfQ8PdA2e1X-sG6UitUI","slug":"webbersites-icon-generator-6fb27a63","name":"Webbersites Icon Generator","description":"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.","url":"https://api.webbersites.com/api/icon/generate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{"fg":{"type":"string","description":"Glyph hex color (default #ffffff)"},"icon":{"type":"string","description":"Exact Font Awesome icon name (skips search)"},"size":{"type":"number","description":"Pixel size 64-1024 (default 1024)"},"query":{"type":"string","description":"Search text — best match is used automatically"},"shape":{"type":"string","description":"squircle (default, iOS-style), rounded, circle, square"},"style":{"type":"string","description":"solid (default), regular, or brands"},"colors":{"type":"array","description":"1-2 background hex colors; 2 makes a diagonal gradient"},"padding":{"type":"number","description":"Glyph padding as fraction 0.05-0.35 (default 0.18)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"svg":{"type":"string"},"icon":{"type":"object"},"png_base64":{"type":"string"},"attribution":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"svg":"<svg …>","icon":{"name":"rocket","label":"Rocket","style":"solid"},"size":1024,"png_base64":"iVBOR…","attribution":"Icon from Font Awesome Free, CC BY 4.0."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_42zRZTOvvEhBH4mQLdtq7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates app-icon-ready SVG and PNG assets using a Font Awesome Free glyph on a customizable background shape and color","exampleAgentPrompt":"Generate me an iOS-ready app icon using a Font Awesome 'rocket' icon — white glyph on a purple-to-blue gradient squircle background, 1024px, with the solid style and default padding.","exampleUseCases":[{"title":"Dashboard icon for new feature","prompt":"I'm adding a new analytics section to our dashboard and need a quick icon for it — can you generate a chart-bar glyph icon with a teal background squircle shape, white glyph, 512px, so I can drop it straight into the UI?"},{"title":"iOS app store placeholder icon","prompt":"I need a placeholder app icon for my iOS project while we wait on the real design — make me a 1024x1024 squircle with a blue-to-indigo gradient background and a white 'star' glyph centered in it with solid style."},{"title":"Brand icon with gradient background","prompt":"Can you create a circle app icon for my fitness brand? I want an orange-to-red gradient background with a white 'dumbbell' Font Awesome icon in the center — 1024px and a bit of extra padding so it doesn't feel cramped."}],"resultDescription":"Returns an SVG string and a base64-encoded PNG (default 1024x1024) of the composed icon. When the icon is resolved via search query rather than exact name, the response also includes alternative icon matches. The asset is rendered as an opaque squircle (or chosen shape) with the specified glyph centered and padded.","failureModes":["No Font Awesome icon found matching the search query — returns empty or error","Invalid hex color format for fg or colors fields — may return 400 or default colors","Size outside 64–1024 range — rejected with validation error","Padding fraction outside 0.05–0.35 — rejected or clamped","More than 2 colors supplied — gradient not applied or error","Payment not included or insufficient — 402 Payment Required","Unknown style variant (not solid/regular/brands) — fallback or error"],"whenToPreferThis":"Use this endpoint when you need a polished, app-store-ready icon asset (SVG + PNG) built from Font Awesome glyphs without a design tool. Ideal for AI agents generating app branding, dashboard icons, or placeholder assets on the fly. Prefer over generic image generation when you need a clean, vector-based glyph icon at exact pixel sizes with predictable, configurable shapes — especially for iOS squircle format or gradient backgrounds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:52.082Z","isFirstParty":false}