---
title: "Logo generator"
method: POST
path: "/api/logo/generate"
tags: ["Design & Assets"]
---

# Logo generator

`POST /api/logo/generate`

## Request

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

Logo generator: POST a company name (+ optional tagline), an icon (search query or exact Font Awesome name), 1-3 brand colors (hex or CSS names), a mark shape (squircle/rounded/circle/square/transparent) and a layout — icon above/below the name (square logo) or beside it (wide lockup) — and get a finished logo as SVG + PNG. Text set in one of six curated open-license fonts (named or randomly rotated), rendered as vector paths.

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

## Request body

- object
  - `name` string, required: Company/product wordmark text (required, max 40 chars)
  - `tagline` string: Optional tagline under the name (max 60 chars)
  - `query` string: Icon search text — best Font Awesome match becomes the mark
  - `icon` string: Exact Font Awesome icon name (skips search)
  - `style` string: Icon style: solid (default), regular, or brands
  - `layout` string: Mark position vs text: bottom (mark above name, square — default), top (name above mark, square), right or left (side-by-side wide lockup)
  - `shape` string: Mark background: squircle (default), rounded, circle, square, transparent
  - `colors` unknown[]: 1-3 colors, hex or CSS names: [0] brand (mark bg, or glyph if transparent), [1] gradient partner, [2] text color (default: brand)
    - unknown
  - `font` string: montserrat, playfair, space-grotesk, bebas, poppins, dm-serif — omit for random
  - `fg` string: Glyph color override (default white on filled shapes)
  - `bg` string: Canvas background color (default transparent)

## Response `200`

Success

- object
  - `name` string
  - `icon` object
  - `font` object
  - `width` number
  - `height` number
  - `svg` string
  - `png_base64` string

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
