MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Transloadit-Media-Processing

Transloadit-Media-Processing是一款data方向的AI技能,核心价值是Process media files (video, audio, images, documents) using Transloadit,可用于解决开发者在data领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Process media files (video, audio, images, documents) using Transloadit. Use when asked to encode video to HLS/MP4, generate thumbnails, resize or watermark images, extract audio, concatenate clips, a

Last verified on: 2026-05-30
mkdir -p ./skills/transloadit-media-processing && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/transloadit-media-processing/SKILL.md -o ./skills/transloadit-media-processing/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Transloadit Media Processing


Process, transform, and encode media files using Transloadit's cloud infrastructure.

Supports video, audio, images, and documents with 86+ specialized processing robots.


When to Use This Skill


Use this skill when you need to:


- Encode video to HLS, MP4, WebM, or other formats

- Generate thumbnails or animated GIFs from video

- Resize, crop, watermark, or optimize images

- Convert between image formats (JPEG, PNG, WebP, AVIF, HEIF)

- Extract or transcode audio (MP3, AAC, FLAC, WAV)

- Concatenate video or audio clips

- Add subtitles or overlay text on video

- OCR documents (PDF, scanned images)

- Run speech-to-text or text-to-speech

- Apply AI-based content moderation or object detection

- Build multi-step media pipelines that chain operations together


Setup


Option A: MCP Server (recommended for Copilot)


Add the Transloadit MCP server to your IDE config. This gives the agent direct access

to Transloadit tools (`create_template`, `create_assembly`, `list_assembly_notifications`, etc.).


**VS Code / GitHub Copilot** (`.vscode/mcp.json` or user settings):


json
{
  "servers": {
    "transloadit": {
      "command": "npx",
      "args": ["-y", "@transloadit/mcp-server", "stdio"],
      "env": {
        "TRANSLOADIT_KEY": "YOUR_AUTH_KEY",
        "TRANSLOADIT_SECRET": "YOUR_AUTH_SECRET"
      }
    }
  }
}

Get your API credentials at https://transloadit.com/c/-/api-credentials


Option B: CLI


If you prefer running commands directly:


bash
npx -y @transloadit/node assemblies create \
  --steps '{"encoded": {"robot": "/video/encode", "use": ":original", "preset": "hls-1080p"}}' \
  --wait \
  --input ./my-video.mp4

Core Workflows


Encode Video to HLS (Adaptive Streaming)


json
{
  "steps": {
    "encoded": {
      "robot": "/video/encode",
      "use": ":original",
      "preset": "hls-1080p"
    }
  }
}

Generate Thumbnails from Video


json
{
  "steps": {
    "thumbnails": {
      "robot": "/video/thumbs",
      "use": ":original",
      "count": 8,
      "width": 320,
      "height": 240
    }
  }
}

Resize and Watermark Images


json
{
  "steps": {
    "resized": {
      "robot": "/image/resize",
      "use": ":original",
      "width": 1200,
      "height": 800,
      "resize_strategy": "fit"
    },
    "watermarked": {
      "robot": "/image/resize",
      "use": "resized",
      "watermark_url": "https://example.com/logo.png",
      "watermark_position": "bottom-right",
      "watermark_size": "15%"
    }
  }
}

OCR a Document


json
{
  "steps": {
    "recognized": {
      "robot": "/document/ocr",
      "use": ":original",
      "provider": "aws",
      "format": "text"
    }
  }
}

Concatenate Audio Clips


json
{
  "steps": {
    "imported": {
      "robot": "/http/import",
      "url": ["https://example.com/clip1.mp3", "https://example.com/clip2.mp3"]
    },
    "concatenated": {
      "robot": "/audio/concat",
      "use": "imported",
      "preset": "mp3"
    }
  }
}

Multi-Step Pipelines


Steps can be chained using the `"use"` field. Each step references a previous step's output:


json
{
  "steps": {
    "resized": {
      "robot": "/image/resize",
      "use": ":original",
      "width": 1920
    },
    "optimized": {
      "robot": "/image/optimize",
      "use": "resized"
    },
    "exported": {
      "robot": "/s3/store",
      "use": "optimized",
      "bucket": "my-bucket",
      "path": "processed/${file.name}"
    }
  }
}

Key Concepts


- **Assembly**: A single processing job. Created via `create_assembly` (MCP) or `assemblies create` (CLI).

- **Template**: A reusable set of steps stored on Transloadit. Created via `create_template` (MCP) or `templates create` (CLI).

- **Robot**: A processing unit (e.g., `/video/encode`, `/image/resize`). See full list at https://transloadit.com/docs/transcoding/

- **Steps**: JSON object defining the pipeline. Each key is a step name, each value

🎯 Best For

  • Technical writers
  • API documentation teams
  • Developers scaffolding new projects
  • Prototype builders
  • Claude users

💡 Use Cases

  • Generating JSDoc/TSDoc comments
  • Writing README files for new projects
  • Bootstrapping React components
  • Creating API route handlers

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Transloadit-Media-Processing to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Does it follow my documentation style?

Most documentation skills respect existing style. Provide a style guide or example in your prompt.

Can I customize the generated output?

Yes — modify the skill's prompt instructions to match your project conventions and coding style.

How do I install Transloadit-Media-Processing?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/transloadit-media-processing/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Auto-generating without reviewing

AI documentation can contain inaccuracies. Always verify technical accuracy.

Using generated code without understanding

Understand what generated code does before shipping it to production.

Ignoring data quality

AI analysis inherits all data quality issues — profile your data first.

🔗 Related Skills