Overview
- Category
- Image Tools
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/meme-generator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/meme-generator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
top_text· string · required- Enter top text.
bottom_text· string · required- Enter bottom text.
background· string · required- Enter background color.
{
"type": "object",
"properties": {
"top_text": {
"type": "string",
"description": "Enter top text."
},
"bottom_text": {
"type": "string",
"description": "Enter bottom text."
},
"background": {
"type": "string",
"description": "Enter background color."
}
},
"required": [
"top_text",
"bottom_text",
"background"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
result· string- Meme text produced by the tool.
colors· array- Canvas layers produced by the tool.
accessibility· array- Alt-text draft produced by the tool.
export_value· string- SVG export produced by the tool.
{
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "Meme text produced by the tool."
},
"colors": {
"type": "array",
"description": "Canvas layers produced by the tool."
},
"accessibility": {
"type": "array",
"description": "Alt-text draft produced by the tool."
},
"export_value": {
"type": "string",
"description": "SVG export produced by the tool."
}
},
"additionalProperties": false
}
Meme Generator worked example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/meme-generator/execute" \
-H "Content-Type: application/json" \
-d '{
"top_text": "WHEN THE CALCULATION WORKS",
"bottom_text": "ON THE FIRST TRY",
"background": "#15213D"
}'
{
"ok": true,
"data": {
"slug": "meme-generator",
"result": {
"values": {
"result": "WHEN THE CALCULATION WORKS / ON THE FIRST TRY",
"colors": [
{
"layer": "Background",
"value": "#15213D"
},
{
"layer": "Text",
"value": "#FFFFFF"
}
],
"accessibility": [
{
"check": "Alt text",
"value": "Meme reading: WHEN THE CALCULATION WORKS; ON THE FIRST TRY"
}
],
"export_value": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1200\" height=\"630\"><rect width=\"100%\" height=\"100%\" fill=\"#15213D\"/><text x=\"600\" y=\"100\" text-anchor=\"middle\" fill=\"white\" font-size=\"54\">WHEN THE CALCULATION WORKS</text><text x=\"600\" y=\"560\" text-anchor=\"middle\" fill=\"white\" font-size=\"54\">ON THE FIRST TRY</text></svg>"
},
"display": {
"display": "WHEN THE CALCULATION WORKS / ON THE FIRST TRY"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.