Description
Generate an icon from a text prompt.Authorizations
Your Freepik 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 format of the icon
Available options:
png
, svg
Example:
"svg"
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 <= 50
Example:
10
The guidance scale to use for the generation
Required range:
0 <= x <= 10
Example:
7
Response
Success - The request has succeeded and the Text to Icon process has started.
Example:
{
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}