API Reference
Get template detail
Full template record with box_positions, alt names, and example captions. Free.
Authorization
bearerAuth AuthorizationBearer <token>
Before clicking 'Try it' or copying the curl example, paste your API key into the Authorization input field on this page. Format: cam_live_xxxxxxxxxxxxxxxxxxxx (the playground will prepend Bearer for you). Get a free key at the dashboard — 20 generations per month, no card required.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
curl -X GET "https://api.createa.meme/v1/templates/tmpl_drake"{
"success": true,
"data": {
"id": "tmpl_drake",
"name": "Drake Hotline Bling",
"slug": "drake-hotline-bling",
"tags": [
"string"
],
"category": "reactions",
"box_count": 0,
"image_url": "http://example.com",
"width": 0,
"height": 0,
"caption_count_30d": 0,
"box_positions": [
{
"x": 0,
"y": 0,
"width": 0,
"height": 0,
"default_font": "string"
}
],
"alt_names": [
"string"
],
"example_captions": [
{}
]
},
"meta": {
"request_id": "req_abc123",
"credits_used": 0,
"credits_remaining": 50,
"processing_time_ms": 432
}
}{
"success": false,
"error": {
"code": "INVALID_API_KEY",
"message": "string",
"doc_url": "http://example.com"
}
}