AI
Pass

AI Roast Generator — Agent Skill

AI Roast Generator — Agent Skill

Generate savage, funny roasts via the AI Pass API. Perfect for chatbot integrations, Discord bots, or any agent that needs comedic relief.

Setup

  1. Create an account at aipass.one
  2. Go to Developer DashboardAPI Keys
  3. Create and copy your API key
  4. Set it as $AIPASS_API_KEY in your environment

Usage

See the skill file below for complete API integration details.

Skill File

---
name: ai-roast-generator
description: Generate savage, funny roasts based on a person description using AI Pass API.
version: 1.0.0
---

# AI Roast Generator Skill

## Auth
- **API Key:** `$AIPASS_API_KEY`
- Get your key: https://aipass.one/panel/developer.html → API Keys

## Generate Roasts

```bash
curl -s -X POST https://aipass.one/apikey/v1/chat/completions \
  -H "Authorization: Bearer $AIPASS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-mini",
    "messages": [
      {"role": "system", "content": "Generate 3 savage but funny roasts based on the person description. Be clever and witty, not mean-spirited. Format each roast on its own line with a fire emoji."},
      {"role": "user", "content": "I work in tech, mass coffee drinker, think I am funny"}
    ]
  }'
```

**Response:** `response.choices[0].message.content`

## Python

```python
import requests, os

def generate_roast(description, intensity="savage", count=3):
    r = requests.post(
        "https://aipass.one/apikey/v1/chat/completions",
        headers={
            "Authorization": f"Bearer {os.environ['AIPASS_API_KEY']}",
            "Content-Type": "application/json"
        },
        json={
            "model": "gpt-5-mini",
            "messages": [
                {"role": "system", "content": f"Generate {count} {intensity} but funny roasts. Clever and witty, not mean."},
                {"role": "user", "content": description}
            ]
        }
    )
    return r.json()["choices"][0]["message"]["content"]
```

## Cost
- ~$0.001 per generation
- $1 free credit on signup
Download Skill File