POST
/api/v1/generate-logo$0.40/callGenerate Logo
AI logo generation from a text description. Returns clean vector SVG logos. Billed per variant: $0.40 with the default v3 model, $0.25 with model "v2".
Request
curl -X POST https://vectosolve.com/api/v1/generate-logo \-H "Authorization: Bearer YOUR_API_KEY" \-H "Content-Type: application/json" \-d '{"prompt": "modern tech startup logo for CloudSync, blue gradient"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| prompt | string | required | Description of the logo to generate. Include brand name, style preferences, and colors. Min 3, max 500 characters. |
| style | string | optional | Logo style. With model "v3": "vector_illustration", "vector_illustration/line_art", "vector_illustration/engraving", "vector_illustration/linocut". With model "v2": "vector_illustration", "vector_illustration/line_art", "vector_illustration/linocut", "icon", "digital_illustration/pixel_art", "digital_illustration/hand_drawn", "realistic_image/b_and_w" (no "engraving" on v2). Values not valid for the selected model fall back to "vector_illustration". Default: "vector_illustration". |
| model | string | optional | Generation model: "v3" ($0.40 per variant) or "v2" ($0.25 per variant). Default: "v3". |
| num_variants | number | optional | Number of logo variants to generate: 1, 2, or 4 (other values fall back to 1). Each variant is billed. Default: 1. |
| colors | array | optional | Up to 5 brand colors, as hex strings ("#0090ff") or RGB objects ({"r":0,"g":144,"b":255}). Invalid entries are ignored. |
Send parameters as a JSON body with Content-Type: application/json.
Response
200 OK
{"success": true,"data": {"logos": [{"svg_url": "https://...","svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" ...>...</svg>"}],"processing_time_ms": 5200},"credits": {"used": 0.40,"remaining": 9.60}}
Authentication Required
Include Authorization: Bearer vs_xxx in all requests. Rate limit: 60 requests/minute.