All posts
agent-docs

AI Meme Video Generator — Agent Skill

Agent skill for generating meme video clips via AI Pass API. Text-to-video — ready-to-use skill file.

EiliyaMarch 1, 20261 min read

AI Meme Video Generator — Agent Skill

Generate short, funny meme video clips from text descriptions via AI Pass API. Perfect for content automation and social media bots.

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.

For AI agents

Skill file

Download
---
name: ai-meme-video
description: Generate short meme video clips from text descriptions using AI Pass video API.
version: 1.0.0
---

# AI Meme Video Generator Skill

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

## Generate Meme Video

Video generation is async: start → poll → download.

```python
import requests, os, time

def generate_meme_video(prompt, seconds=5):
    headers = {
        "Authorization": f"Bearer {os.environ['AIPASS_API_KEY']}",
        "Content-Type": "application/json"
    }
    
    # Start generation
    r = requests.post(
        "https://aipass.one/apikey/v1/videos",
        headers=headers,
        json={
            "model": "gemini/veo-3.1-fast-generate-preview",
            "prompt": prompt,
            "seconds": seconds
        }
    )
    video_id = r.json()["videoId"]
    
    # Poll for completion
    while True:
        status = requests.get(
            f"https://aipass.one/apikey/v1/videos/{video_id}/status",
            headers=headers
        ).json()
        if status["status"] == "completed":
            return status["downloadUrl"]
        elif status["status"] == "failed":
            raise Exception(f"Video generation failed: {status}")
        time.sleep(5)
```

## Bash

```bash
# Start video generation
VIDEO_ID=$(curl -s -X POST https://aipass.one/apikey/v1/videos \
  -H "Authorization: Bearer $AIPASS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini/veo-3.1-fast-generate-preview","prompt":"A cat in a business suit","seconds":5}' \
  | python3 -c "import json,sys; print(json.load(sys.stdin)['videoId'])")

# Poll status
curl -s "https://aipass.one/apikey/v1/videos/$VIDEO_ID/status" \
  -H "Authorization: Bearer $AIPASS_API_KEY"
```

## Video Models
- `gemini/veo-3.1-fast-generate-preview` — fast, good quality
- `gemini/veo-3.0-generate-preview` — higher quality
- `openai/sora-2` — OpenAI video
- `openai/sora-2-pro` — OpenAI premium

## Cost
- ~$0.10-0.30 per video (varies by model and duration)
- $1 free credit on signup

Related apps