Anssol
Back to Skills
Media & Content

deAPI Media Toolkit

Generate images, TTS, transcripts, OCR, and video via deAPI.

mediaimageai

deAPI Skills - AI Media Generation for Claude Code

[!NOTE] A newer, portable successor to this skill lives in deapi-ai/skills. The new deapi skill targets the current deAPI v2 API, discovers models live (no hardcoded slugs), adds music/video generation, and follows the agentskills.io open standard — so it runs unchanged in Hermes Agent, Claude Code, Cursor, Goose, OpenCode, Codex and 40+ other agents. This repository (v1 API, Claude Code commands) remains available but is no longer actively developed.

Skill for Claude Code that adds AI media generation capabilities. Install once, then just describe what you want - transcribe videos, generate images, text-to-speech, OCR. Claude automatically picks the right tool. Also works with Cursor, Windsurf & Continue.dev. Up to 20x cheaper inference via deAPI. Free $5 credit on signup, no credit card required.

License: MIT

Table of Contents

Why deAPI Skills?

Install once, just talk to Claude.

After installation, Claude automatically knows how to:

  • Transcribe YouTube videos
  • Generate images from text
  • Convert text to speech
  • Extract text from images (OCR)
  • And more...

Just describe what you want in natural language. Claude picks the right tool. You can also use commands directly if you prefer.

Bonus: Up to 20x cheaper than big clouds like OpenAI.

Quick Start

1. Get your API key from deapi.ai (free $5 credit)

2. Set environment variable:

export DEAPI_API_KEY="your_key_here"

3. Install skill:

git clone https://github.com/deapi-ai/claude-code-skills.git
cp -r claude-code-skills/deapi ~/.claude/skills/

4. Restart Claude Code (new session or reopen terminal)

5. Try it:

"Transcribe this YouTube video: https://youtube.com/watch?v=dQw4w9WgXcQ"

Or use command directly: /transcribe https://youtube.com/watch?v=...

Done! Claude automatically picks the right tool based on your request.

Use Cases

Transcribe YouTube videos

Just tell Claude what you want:

"Transcribe this YouTube video and summarize key points"

Claude automatically uses /transcribe and processes the result.

Generate AI images

"Create a hero image for my landing page - minimalist, tech startup vibe"

Claude generates the image using Flux model via /generate-image.

Text-to-speech / AI voice

"Read this blog post aloud with a professional male voice"

Claude converts text to natural speech with /generate-audio.

Extract text from images (OCR)

"Extract all text from this screenshot"

Claude uses /ocr to pull text from any image.

Generate video from text

"Create a short video of a cat walking through a garden"

Claude generates video with /generate-video.

Configure webhooks for production

"Set up webhooks for my server to receive results"

Claude configures delivery with /deapi-setup.

Command Reference

You don't need to memorize these. Claude automatically picks the right command based on your request. This is just for reference.

CommandWhat it doesExample
/transcribeTranscribe YouTube, audio, video/transcribe https://youtube.com/watch?v=...
/generate-imageAI image generation from text/generate-image a sunset over mountains
/generate-audioText-to-speech conversion/generate-audio "Hello world" --voice am_adam
/generate-videoText/image to video/generate-video a cat walking through garden
/ocrExtract text from images/ocr https://example.com/document.png
/remove-bgRemove image background/remove-bg https://example.com/photo.jpg
/upscaleUpscale image resolution/upscale https://example.com/small.jpg --scale 4
/transform-imageStyle transfer/transform-image https://... watercolor style
/embedGenerate text embeddings/embed "text to embed"
/deapi-setupConfigure webhooks/websockets/deapi-setup
/deapi-balanceCheck account balance/deapi-balance

Installation

Skill vs Commands - What's the difference?

ApproachLocationWhat happens
Skill (recommended)~/.claude/skills/Claude knows about all deAPI commands and suggests them automatically when relevant
Commands only~/.claude/commands/Only specific commands you install, no auto-suggestions

Example: With skill installed, you say "transcribe this YouTube video" and Claude automatically knows to use /transcribe. With commands only, you must explicitly type /transcribe.

How it works

Claude Code automatically discovers skills in ~/.claude/skills/. No configuration needed - just copy the folder and start chatting.

~/.claude/skills/
└── deapi/
    ├── SKILL.md              ← Skill metadata + command routing
    └── commands/             ← Full command documentation (loaded on-demand)
        ├── transcribe.md
        ├── generate-image.md
        └── ...

Prerequisites

  1. Get your API key from deapi.ai
  2. Set environment variable:
    # Add to ~/.bashrc or ~/.zshrc
    export DEAPI_API_KEY="your_key_here"
    

Full Skill Installation (Recommended)

git clone https://github.com/deapi-ai/claude-code-skills.git
cp -r claude-code-skills/deapi ~/.claude/skills/

Then restart Claude Code (start a new session or reopen terminal).

Individual Command Installation

Install only specific commands if you prefer:

# Create commands directory if needed
mkdir -p ~/.claude/commands

# Just transcription
cp claude-code-skills/deapi/commands/transcribe.md ~/.claude/commands/

# Just image generation
cp claude-code-skills/deapi/commands/generate-image.md ~/.claude/commands/

Then restart Claude Code to load the new commands.

Compatibility

deAPI Skills work with multiple AI coding assistants:

Claude Code (Primary)

# Full skill installation (recommended)
cp -r claude-code-skills/deapi ~/.claude/skills/

# Or just commands
cp claude-code-skills/deapi/commands/*.md ~/.claude/commands/

Cursor IDE

mkdir -p .cursor/commands
cp claude-code-skills/deapi/commands/*.md .cursor/commands/

Windsurf

mkdir -p .windsurf/workflows
cp claude-code-skills/deapi/commands/*.md .windsurf/workflows/

Platform Support Matrix

PlatformStatusFormatLocation
Claude CodeFully supportedMarkdown~/.claude/skills/
Cursor IDECompatibleMarkdown.cursor/commands/
WindsurfCompatibleMarkdown.windsurf/workflows/

Pricing

Up to 20x more cost effective than proprietary APIs.

Example prices:

  • Transcription: $0.021/hour
  • Image generation: from $0.002/image

Free $5 credit on signup, no credit card required.

deapi.ai

Documentation

Available models: Query GET https://api.deapi.ai/api/v1/client/models for up-to-date model list.

Repository Structure

claude-code-skills/
├── deapi/                        ← Copy this to ~/.claude/skills/
│   ├── SKILL.md                  ← Skill metadata + routing
│   └── commands/                 ← Command documentation (on-demand)
│       ├── transcribe.md
│       ├── generate-image.md
│       ├── generate-audio.md
│       ├── generate-video.md
│       ├── ocr.md
│       ├── remove-bg.md
│       ├── upscale.md
│       ├── transform-image.md
│       ├── embed.md
│       ├── deapi-setup.md
│       └── deapi-balance.md
├── docs/
│   ├── api-reference.md
│   └── troubleshooting.md
├── .env.example                  ← Environment variable template
├── LICENSE
└── README.md

Requirements

  • Claude Code CLI, Cursor IDE, Windsurf, or Continue.dev
  • deAPI account with API key
  • Internet connection

License

MIT License - see LICENSE

Links

Want something like this for your team?

We build custom MCPs and Claude skills tailored to private workflows. Get in touch.

Start a Conversation

Ready to Ship Something?

Tell us about your project. We respond within one business day with honest scoping — not a sales pitch.

Get Started