Logo Creator API
Generate unique, professional logo designs tailored to your brand identity.
GET/api/image/logo-creator-prompts
Retrieve a list of pre-defined logo styles and design concepts.
Example Request
curl -X GET 'https://codingmantra.com/api/image/logo-creator-prompts'Example Response
{
"data": [
{
"id": "minimalist-geometric",
"title": "Geometric Shapes",
"categoryId": "minimalist",
"categoryTitle": "Minimalist & Modern",
"description": "Minimalist geometric logo, clean lines..."
},
// ... more prompts
]
}POST/api/image/logo-creator
Generate a logo based on company details and style preferences.
Request Body
| Field | Type | Description |
|---|---|---|
| companyName | string | Required. The name of the brand or company. |
| stylePrompt | string | Required. Description of the desired visual style. |
| subtitle | string | Optional. Slogan or tagline. |
| industry | string | Optional. The industry of operation. |
| ideas | string | Optional. Keywords or concepts to include. |
| colors | string | Optional. Preferred color palette. |
| referenceImage | string | Optional. Data URI or URL of a style reference image. |
| model | string | Optional. `'standard'` (default) or `'pro'`. |
| outputResult | string | Optional. `'base64'` (default) or `'url'`. |
Example Request
curl -X POST 'https://codingmantra.com/api/image/logo-creator' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"companyName": "TechNova",
"subtitle": "Innovating Future",
"stylePrompt": "Futuristic minimalist geometric design",
"colors": "Neon blue and silver"
}'Example Response
{
"data": {
"photoDataUri": "data:image/png;base64,..."
}
}