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
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | 1-3 characters |
bg_color | string | No | Background hex color |
text_color | string | No | Text hex color |
shape | string | No | circle, 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())