# StableMemes AI Meme Generator

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

Generates an AI-powered meme using a specified Imgflip template ID, automatically creating captions via AI.

## Facts

- Endpoint: POST https://stablememes.dev/api/memelord/ai_meme
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablememes-ai-meme-generator-4660bdae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pN7bovuRT7Qec3dpojmCz

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-ai-meme-generator-4660bdae -d '<json body>'
```

Example prompt: Can you generate an AI meme using the 'Drake Pointing' template (template ID 181913649) — let the AI come up with the captions automatically?

## When to prefer this

Choose this endpoint when you want to fully automate meme creation — just supply a template ID and let AI generate the captions. Ideal when you don't want to write captions manually. For custom text captions or searching templates, use sibling endpoints instead.

## Known failure modes

- Invalid or missing template_id returns a 400 error
- Template ID not found in Imgflip database returns not found error
- Imgflip API downstream failure causes 502 or 503 response
- Payment not included or insufficient USDC causes 402 payment required error
- Rate limiting or quota exceeded returns 429 too many requests

## How this service works

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

## Output

Returns an AI-generated meme based on the specified template, including a URL to the generated meme image and AI-written captions applied to the template.

## Example request

```json
{
 "prompt": "Generate a funny meme about AI"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "integer",
   "default": 3,
   "maximum": 10,
   "minimum": 1
  },
  "prompt": {
   "type": "string",
   "maxLength": 500,
   "minLength": 1
  },
  "category": {
   "enum": [
    "trending",
    "classic"
   ],
   "type": "string"
  },
  "include_nsfw": {
   "type": "boolean",
   "default": true
  },
  "caption_style": {
   "enum": [
    "top",
    "tiktok",
    "snapchat"
   ],
   "type": "string"
  },
  "clientRequestId": {
   "type": "string",
   "maxLength": 128,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablememes-ai-meme-generator-4660bdae/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)
