MagicMemeCreate

get_template

get_template

get_template returns the MagicMeme row for one slug or public URL param (title-slug-id). Use it when you need box count, geometry, or the caption formula before you write.

It does not crawl the web. It does not invent a template we do not have.

Call get_template on drake-hotline-bling and tell me box count, formula, and example captions.

Arguments

  • slug (string, required): catalog slug or public URL param.

Request

{
  "slug": "drake-hotline-bling"
}

Response

{
  "slug": "drake-hotline-bling",
  "title": "Drake Hotline Bling",
  "format": "reject-vs-approve",
  "formula": "two short parallel noun phrases",
  "textBoxes": [
    { "id": "0", "x": 50, "y": 10, "width": 90 }
  ],
  "exampleCaptions": ["Writing ASCII memes", "Calling render_meme_still"],
  "imageUrl": "https://cdn.magicmeme.com/templates/drake-hotline-bling.png",
  "about": "…",
  "keywords": [],
  "useCases": []
}

Write captions in textBoxes order. Fit length to the box. A missing slug throws Template not found.

HTTP equivalent for the full catalog dump: GET /api/memes (hundreds of records). Don't paste the catalog into chat.

What to explore next

Command Palette

Search for a command to run...