deapi

$npx mdskill add eric861129/SKILLS_All-in-one/deapi

Generate and transcribe media using decentralized AI APIs.

  • Transcribes YouTube, audio, and video files into text.
  • Depends on deAPI platform and DEAPI_API_KEY environment variable.
  • Selects command based on user request: transcribe, generate, OCR, etc.
  • Returns generated media or transcription directly to the user.

SKILL.md

.github/skills/deapiView on GitHub ↗
---
name: deapi
description: AI media generation via deAPI. Transcribe YouTube/audio/video, generate images from text, text-to-speech, OCR, remove backgrounds, upscale images, create videos, generate embeddings. 10-20x cheaper than OpenAI/Replicate.
user-invocable: true
disable-model-invocation: false
---

# deAPI Media Generation

AI-powered media tools via decentralized GPU network.

## Available Commands

| Command | Use when user wants to... |
|---------|---------------------------|
| `/transcribe` | Transcribe YouTube, Twitch, Kick, X videos, or audio files |
| `/generate-image` | Generate images from text descriptions |
| `/generate-audio` | Convert text to speech (TTS) |
| `/generate-video` | Create video from text or animate images |
| `/ocr` | Extract text from images (OCR) |
| `/remove-bg` | Remove background from images |
| `/upscale` | Upscale image resolution (2x/4x) |
| `/transform-image` | Apply style transfer to images |
| `/embed` | Generate text embeddings for semantic search |
| `/deapi-setup` | Configure result delivery (webhooks/websockets) for server apps |
| `/deapi-balance` | Check account balance and remaining credits |

## Quick Examples

```
/transcribe https://youtube.com/watch?v=...
/generate-image a sunset over mountains
/generate-audio "Hello world" --voice am_adam
```

## Setup

Requires `DEAPI_API_KEY` environment variable:

```bash
export DEAPI_API_KEY=your_key
```

Get your API key at [deapi.ai](https://deapi.ai) (free $5 credit).

## API Pattern

All deAPI requests are async:
1. Submit job → get `request_id`
2. Poll status every 10s
3. When `done` → fetch from `result_url`

For detailed API parameters, see [docs/api-reference.md](../docs/api-reference.md).

More from eric861129/SKILLS_All-in-one

SkillDescription
agnixUse when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'. Validates agent configuration files against 231 rules across 10+ AI tools.
anthropic-expertExpert on Anthropic Claude API, models, prompt engineering, function calling, vision, and best practices. Triggers on anthropic, claude, api, prompt, function calling, vision, messages api, embeddings
aptos-cliExpert in Aptos CLI for account management, contract deployment, transaction submission, and node operations. Use when using the Aptos CLI to initialize profiles, deploy Move contracts, submit transactions, manage accounts, or operate Aptos nodes.
aptos-coreExpert in Aptos blockchain core architecture: consensus (AptosBFT), execution (Block-STM), and networking. Use when analyzing Aptos protocol design, the Rust codebase, validator operations, or understanding how Block-STM parallel execution works.
aptos-dapp-integrationExpert on building Aptos dApps with frontend integration. Covers wallet connectivity (Petra, Martian, Pontem), wallet adapter patterns, TypeScript SDK, transaction building and submission, account management, and React/Next.js integration.
aptos-frameworkExpert on Aptos Framework (0x1 standard library) modules including account, coin, fungible_asset, object, timestamp, table, smart_table, event, randomness, aggregator, and resource_account. Essential for all Aptos development.
aptos-gas-optimizationAptos gas optimization expert for Move smart contracts. Covers storage costs, execution efficiency, inline functions, aggregators for parallel execution, Table vs SmartTable vs vector tradeoffs, event optimization, struct packing, and gas profiling tools.
aptos-indexerExpert in Aptos Indexer architecture and GraphQL API for querying blockchain data. Use when querying NFTs, coin balances, or transaction history via GraphQL, designing custom processors, or optimizing data retrieval from the Aptos blockchain.
aptos-move-languageExpert on Move programming language fundamentals including abilities (copy/drop/store/key), generics, phantom types, references, global storage operations (move_to/move_from/borrow_global), signer pattern, visibility modifiers, and advanced type system features.
aptos-move-testingExpert on testing Move smart contracts including unit tests, integration tests, Move Prover formal verification, debugging strategies, test coverage, and CI/CD integration for Aptos development.