Docs/Image Utils/GET /v1/favicon-generate

GET /v1/favicon-generateFavicon Generator

Image Utils lf-image-utils

Builds the little icon shown in a browser tab. Takes 1-3 characters plus optional bg_color, text_color, and shape (circle, square, or rounded). Returns SVG favicon markup and a data: URI.

Query Parameters

ParameterTypeRequiredDescription
textstringYes1-3 characters
bg_colorstringNoBackground hex color
text_colorstringNoText hex color
shapestringNocircle, square, or rounded

Response Schema

svg (string): SVG favicon markup
data_uri (string): data: URI for

cURL Example

curl 'https://lf-image-utils.laminarforge.dev/v1/favicon-generate?text=<text>' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-image-utils.laminarforge.dev/v1/favicon-generate'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'text': '<text>'}
response = requests.get(url, headers=headers, params=params)
print(response.json())