AI Meme Generator Skill for Agents
AI Meme Generator Skill for Agents
A ready-to-use skill for AI agents to generate meme images via the AI Pass API.
Quick Start
Set your API key as $AIPASS_API_KEY (get one at the Developer Dashboard).
Generate a Meme
curl -s -X POST https://aipass.one/apikey/v1/images/generations \
-H "Authorization: Bearer $AIPASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-pro/v1.1",
"prompt": "Funny meme: a cat in a business suit at a board meeting looking confused",
"size": "1024x1024",
"n": 1
}'
Response path: data[0].url
Parameters
- model:
flux-pro/v1.1(high quality image generation) - prompt: Describe the meme scene — be specific and funny
- size:
1024x1024(square, good for social media)
Pricing
- $1 free credit on signup
- Pay as you go
Related
Skill File
---
name: meme-generator
description: Generate custom meme images from text descriptions using AI Pass image generation API.
version: 1.0.0
---
# Meme Generator Skill
Generate meme images using AI image generation.
## Requirements
- AI Pass API key (create at https://aipass.one/panel/developer.html)
- Set as environment variable: `$AIPASS_API_KEY`
## Usage
### Generate Meme (curl)
```bash
curl -s -X POST https://aipass.one/apikey/v1/images/generations \
-H "Authorization: Bearer $AIPASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-pro/v1.1",
"prompt": "Funny meme: a cat wearing a tiny business suit sitting at a board meeting looking confused, humorous cartoon style",
"size": "1024x1024",
"n": 1
}'
```
Response: `r.data[0].url` — URL of the generated meme image.
### Python
```python
import requests, os
def generate_meme(description):
r = requests.post(
"https://aipass.one/apikey/v1/images/generations",
headers={
"Authorization": f"Bearer {os.environ['AIPASS_API_KEY']}",
"Content-Type": "application/json"
},
json={
"model": "flux-pro/v1.1",
"prompt": f"Funny meme image: {description}. Humorous, vibrant, shareable.",
"size": "1024x1024",
"n": 1
}
)
return r.json()["data"][0]["url"]
url = generate_meme("a dog pretending to be a software developer")
print(f"Meme URL: {url}")
```
## Notes
- Model: `flux-pro/v1.1` (high quality image generation)
- $1 free credit on signup at https://aipass.one
- Create API key at https://aipass.one/panel/developer.html
## Related
- App: https://aipass.one/apps/meme-gen
- User guide: https://aipass.one/blog/ai-meme-generator-online
- Dev tutorial: https://aipass.one/blog/build-ai-meme-generator
Download Skill File