Meme API

A meme API that returns finished memes, not blank templates

Send a line of text, get back hosted images and videos built on 2,000+ viral templates with captions already written. One endpoint, one credit per meme.

Free account to start. Generation needs a paid plan.

What makes it different

Most meme APIs hand you a blank template and expect you to supply the caption, the font size and the text placement. You end up building a layout engine.

This one does the whole job. You describe the situation; it picks templates that fit, writes the taglines, renders the files and hosts them. What comes back is a URL you can post.

Everything is camelCase JSON, the responses tell you exactly what the batch cost, and the same credits work across the API, the MCP server and the website.

Generate memes

One POST. Cost is one credit per returned meme; count must be between 1 and 12 and defaults to 6.

bash
curl -X POST "https://backend.insidermemes.com/v1/generate/" \
  -H "Authorization: Token <api-token>" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "When the deploy fails on Friday afternoon",
    "mediaType": "images",
    "count": 3
  }'

What comes back

Each meme carries a hosted file URL, the tagline that was written for it, and the template it was built on. Video memes return a jobInfo block while they finish rendering.

json
{
  "memes": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "tagline": "Me pretending everything is fine",
      "description": "When the deploy fails on Friday afternoon",
      "file": "https://example.com/meme.png",
      "template": "6ba7b811-9dad-11d1-80b4-00c04fd430c8",
      "type": "image",
      "templateFileUrl": "https://example.com/template.jpg",
      "createdAt": "2026-06-05T10:47:46.445474Z",
      "fontSize": 25,
      "textAlign": "center"
    }
  ],
  "requestedCount": 3,
  "returnedCount": 3,
  "creditsUsed": 3,
  "creditsRemaining": 47.0,
  "creditCostPerMeme": 1
}

Authentication in three steps

V1 uses a two-step flow: log in with JWT to mint an API token, then use that token on every /v1/ request.

  1. 1Create an account and open profile settings, then click Reveal API Key. That is the fast path.
  2. 2Or do it programmatically: POST to the login endpoint with your email and password to get a JWT access token.
  3. 3POST that JWT to /v1/api/token/ to mint your API token. Each account has one — calling POST again returns the same token.
  4. 4Send Authorization: Token <api-token> on every /v1/ request from then on.

Keep the token server-side. Anyone who has it can spend your credits. DELETE /v1/api/token/ revokes it immediately.

Endpoints

All paths are relative to https://backend.insidermemes.com/v1/

MethodPathAuthWhat it does
POST/v1/api/token/JWT (Bearer)Create or retrieve your API token
DELETE/v1/api/token/JWT (Bearer)Revoke your API token
GET/v1/templates/Token or JWTList templates with filters and cursor pagination
GET/v1/categories/Token or JWTList template categories for filter UI
POST/v1/generate/Token or JWTGenerate memes from a prompt

Generate parameters

FieldTypeNotes
textstringRequired. What the meme is about. Alias: description.
mediaTypestringimage, images, video, videos or all. Omit or use "all" for a roughly even mix.
countinteger1–12. Defaults to 6. Aliases: memesCount, memes_count.

Browse the library

Filter by type, category and sort order. Paid plans unlock search, filters and cursor pagination.

bash
curl "https://backend.insidermemes.com/v1/templates/?type=images&categories=happy,sports&option=trending&limit=24" \
  -H "Authorization: Token <api-token>"

Credits by plan

API usage draws on the same balance as the website. One credit equals one returned meme, image or video.

PlanCreditsAPI access
FreeLimited trial creditsFirst page of templates only
LibraryNoneFull template browsing, no generation
Basic300 / monthImage and video generation
Pro1,000 / monthImage and video generation
Business3,000 / monthImage and video generation

What your requests are drawing from

Live from the library right now. Every template here is one the generator can build on.

Start with a free account

Create an account, reveal your key in profile settings, and make your first call in a couple of minutes.

Frequently asked questions

Finished memes. Each one comes back with a hosted file URL, the AI-written tagline, the template it used, and the type (image or video). You do not have to render or host anything yourself.