Skip to content
Agentmart
Submit a tool

removing-subtitles

Removes hardcoded subtitles from videos using AI inpainting.

Skill by Yusufkotavom

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yusufkotavom-removing-subtitles

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Removes hardcoded subtitles from videos using AI inpainting. Use when user wants to remove subtitles, erase text from video, clean video from captions, delete burned-in subtitles, remove video watermarks, clean hardcoded text, or strip embedded subtitles. 去字幕、去除字幕、删除字幕、清除字幕、去硬字幕、去水印、擦除字幕、移除字幕。

Use cases: backend, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/removing-subtitles

What's inside

Skill name
removing-subtitles
Description
Removes hardcoded subtitles from videos using AI inpainting. Use when user wants to remove subtitles, erase text from video, clean video from captions, delete burned-in subtitles, remove video watermarks, clean hardcoded text, or strip embedded subtitles. 去字幕、去除字幕、删除字幕、清除字幕、去硬字幕、去水印、擦除字幕、移除字幕。
License
MIT
Instructions
92 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Subtitle Removal

Removes hardcoded/burned-in subtitles from videos using OCR detection and AI inpainting.

## When to Use

Use this skill when:

- Removing hardcoded subtitles from videos
- Cleaning up videos with burned-in text
- Preparing videos for re-subtitling
- Removing unwanted text overlays
- Cleaning videos for repurposing

## How It Works

1. **OCR Detection**: AI detects subtitle regions using optical character recognition
2. **Region Masking**: Identifies areas containing text
3. **AI Inpainting**: Fills removed areas with reconstructed background content
4. **Output Generation**: Produces clean video without subtitles

## Workflow

### Step 1: Get Source Video

Obtain the video URL with hardcoded subtitles.

### Step 2: Submit Removal Task

Call `submitAideoTask` with:

- **prompt**: Request subtitle removal
- **multiInputs**: Array containing source video URL

### Step 3: Poll for Results

1. First check: Wait **210 seconds** after submission
2. Subsequent checks: Wait **30 seconds** between polls
3. Call `getAideoTaskStatus` to check progress

### Step 4: Timeout Handling

**Maximum wait time: 20 minutes**

If task exceeds 20 minutes, report as timeout failure.

### Step 5: Return Results

On completion, return the clean video URL.

## Examples

### Example 1: Remove Subtitles

**User request**: "Remove the subtitles from this video"

```
submitAideoTask:
  prompt: "Remove all hardcoded subtitles from this video"
  multiInputs: ["video_with_subtitles.mp4"]
```

### Example 2: Clean Video for Re-subtitling

**User request**: "I want to add my own subtitles, please remove the existing ones"

```
submitAideoTask:
  prompt: "Erase all burned-in subtitles from this video to prepare for new subtitles"
  multiInputs: ["original_video.mp4"]
```

### Example 3: Remove Text Overlays

**User request**: "Clean up this video by removing the text at the bottom"

```
submitAideoTask:
  prompt: "Remove the hardcoded text overlay at the bottom of this video"
  multiInputs: ["video_with_text.mp4"]
```

## Important Notes

- Uses OCR to detect subtitle regions automatically
- AI inpainting fills removed areas naturally
- Works best with subtitles on solid or simple backgrounds
- Complex backgrounds may have some artifacts
- Maximum wait time is 20 minutes
- Processing time: ~10 minutes per 1-minute video

From Yusufkotavom/AiToEarn, MIT.

More from Yusufkotavom/AiToEarn

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 17, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Yusufkotavom

Cite this page

removing-subtitles skill. Agent Mart. https://agentmart.dev/skills/yusufkotavom-removing-subtitles (last updated 2026-10-24)