Generate Infographics
This endpoint allows the user to generate infographics based on given content.
Authentication is required using the x-api-key header.
Your API key for authentication. This header is mandatory to authorize requests.
Example: 12345-abcde-67890-fghij.
your-api-key-hereThe content type of the request. Set as application/json.
application/jsonThe input prompt to generate infographics.
Example: "Generate an infographic from the blog at https://example.com/blog"
The output language for the infographic. Default: English.
Example: "French".
EnglishThe aspect ratio for the infographic.
Supported ratios: vertical (9:16), square (1:1), horizontal (16:9), portrait (4:5).
Default: vertical.
verticalPossible values: Successfully generated infographic URLs.
The request was invalid due to improper inputs.
Unauthorized access due to missing/invalid API key.
Internal server error.
POST /api/generate HTTP/1.1
Host: app.infography.in
x-api-key: your-api-key-here
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"prompt": "text",
"language": "English",
"ratio": "vertical"
}{
"imageUrls": [
"https://example.com/infographic.png"
]
}Last updated