# StableMemes Caption GIF

> StableMemes Caption GIF is a paid API for AI agents from stablememes.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Generates a captioned GIF meme from a specified Imgflip template ID using the StableMemes API.

## Facts

- Endpoint: POST https://stablememes.dev/api/caption_gif
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablememes-caption-gif-59a52b2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AlmK_XE4fGDf9FRuq36aT

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablememes-caption-gif-59a52b2d -d '<json body>'
```

Example prompt: Can you make me a captioned GIF meme using the Distracted Boyfriend template — top text 'new JavaScript frameworks', bottom text 'me forgetting how to code'?

## When to prefer this

Choose this endpoint when you need to generate animated GIF memes specifically, as opposed to static image memes. It is backed by Imgflip's large library of GIF templates and is ideal for social media posts, chat messages, or any context where animated meme content is desired.

## Known failure modes

- Invalid or unknown template_id returns an error
- Missing required template_id field causes 400 validation error
- Payment failure via x402 protocol results in 402 response
- Imgflip API upstream unavailability causes 503
- Caption text too long for template overlay may be truncated or rejected

## How this service works

Generate memes via the Imgflip API. Caption templates, search 1M+, auto-caption, and AI memes.

## Output

Returns a URL or binary of the captioned animated GIF meme generated from the specified Imgflip template, with the provided captions overlaid on the image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "font": {
   "type": "string"
  },
  "boxes": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "text"
    ],
    "properties": {
     "x": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991
     },
     "y": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991
     },
     "text": {
      "type": "string"
     },
     "color": {
      "type": "string"
     },
     "width": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991
     },
     "height": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991
     },
     "outline_color": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20,
   "minItems": 1
  },
  "watermark": {
   "type": "boolean",
   "default": true
  },
  "template_id": {
   "type": "string",
   "minLength": 1
  },
  "max_font_size": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablememes-caption-gif-59a52b2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablememes.dev](https://www.zero.xyz/host/stablememes.dev/llms.txt)
