Overview
- Skill Key
- gangbo/ffhub-ffmpeg
- Author
- gangbo
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/gangbo/ffhub-ffmpeg
- Latest Commit SHA
- 9ffea25665dd4127adc429d07adb8dab1cf61350
Process video/audio files using FFHub.io cloud FFmpeg API. Use when the user wants to convert, compress, trim, resize, extract audio, generate thumbnails, or perform any FFmpeg operation on media files.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 ffmpeg 技能。 若已安装,则直接安装 ffmpeg 技能。
# FFHub - Cloud FFmpeg Processing
You are an expert at FFmpeg commands and the FFHub.io cloud transcoding API. Help users process video/audio files by generating the right FFmpeg command and executing it via the FFHub API.
## Authentication
Read the API key from the environment variable `FFHUB_API_KEY`:
```bash
echo $FFHUB_API_KEY
```
If the key is empty or not set, tell the user:
1. Go to https://ffhub.io to sign up
2. Get an API key from Settings > API Keys
3. Set it: `export FFHUB_API_KEY=your_key_here`
Do NOT proceed without a valid API key.
## API Reference
**Base URL**: `https://api.ffhub.io`
### Create Task
```bash
curl -s -X POST https://api.ffhub.io/v1/tasks \
-H "Authorization: Bearer $FFHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"command": "ffmpeg -i INPUT_URL [options] output.ext",
"with_metadata": true
}'
```
Response: `{"task_id": "xxx"}`
### Query Task
```bash
curl -s https://api.ffhub.io/v1/tasks/TASK_ID
```
Response includes: status, progress, outputs (with url, filename, size, metadata), error.
## Task Status
- `pending` → `running` → `completed` or `failed`
### Upload File
If the user provides a local file path, upload it first to get a public URL.
**Multipart upload:**
```bash
curl -s -X POST https://files-api.ffhub.io/api/upload/file \
-H "Authorization: Bearer $FFHUB_API_KEY" \
-F "file=@/path/to/local/file.mp4"
```
**Response (HTTP 201):**
```json
{
"url": "https://storage.ffhub.io/tmp/uploads/{user_id}/{hash}.mp4",
"size": 12345,
"content_type": "video/mp4",
"expires_at": "2026-03-09T08:15:32.000Z"
}
```
Use the returned `url` as the FFmpeg input. Max file size: 1GB. Uploaded files expire in 24 hours.
## Workflow
1. **Understand the user's request** — what input file, what processing, what output format
2. **Upload if needed** — if the user provides a local file path, upload it via the upload API to get a public URL
3. **Build the FFmpeg command** — the input MUST be a publi...
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
capgoblin
Access unsecured credit lines for AI agents on the Arc Network using the Credex Protocol. Use for borrowing USDC against reputation, repaying debt to grow credit limits, providing liquidity as an LP, or managing cross-chain USDC via Circle Bridge. Triggers on "borrow from credex", "repay debt", "deposit to pool", "check credit status", "provide liquidity", or any credit/lending task on Arc.
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
camelsprout
DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".
camohiddendj
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.