Icon generation API
AI Icon preview generation
Create stunning previews icons in different styles and formats (png, svg) from text prompts using our advanced AI models.
POST
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Body
application/json
The prompt to generate the icon
Example:
"A cute cat icon"
The webhook URL to receive the result
Example:
"https://example.com/webhook"
The style to use for the icon
Available options:
solid, outline, color, flat, sticker Example:
"solid"
The number of inference steps to use for the generation
Required range:
10 <= x <= 50Example:
10
The guidance scale to use for the generation
Required range:
0 <= x <= 10Example:
7
Response
Success - The request has succeeded and the Text to Icon process has started.
Example:
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED",
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
]
}