Logo Proofread

Proofread

Tổ chức
sonilo-ai
proofread

Dùng Sonilo để chép lời video và dịch bản chép lời thành các tệp .srt có thể chỉnh sửa — mỗi ngôn ngữ đích một tệp, cùng với ngôn ngữ nguồn được nhận diện — để người dùng có thể đọc và sửa câu chữ trước khi lồng tiếng. Tác vụ này không tạo giọng nói hay video; đây là bước thực hiện trước khi lồng tiếng, và các tệp đã chỉnh sửa sẽ được đưa lại vào công cụ lồng tiếng dưới dạng phụ đề để bản lồng tiếng đọc chính xác những câu đã duyệt. Dùng khi người dùng muốn xem lại, duyệt hoặc sửa bản dịch trước khi lồng tiếng, cần phụ đề có thể chỉnh sửa hoặc bản chép lời video, hay muốn bản lồng tiếng nói đúng nguyên văn. Tính phí theo từng ngôn ngữ đích (một lần chỉ chép lời cũng được tính là một ngôn ngữ); tài khoản tự phục vụ có 2 lượt dùng thử miễn phí — hãy xác nhận danh sách ngôn ngữ với người dùng trước khi gọi.

Add to TypingMind

Tổng quan

Nhà phát hànhsonilo-ai
Kho mãskills
Tên kỹ năngproofread
Sao
117
Bản fork
9
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được sonilo-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Proofread trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/sonilo-ai/skills/tree/main/proofread
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sonilo-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/proofread .claude/skills/proofread
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Proofread trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Proofread ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Proofread với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Sonilo Proofread

Transcribe a video and translate the transcript into the target languages, returning one editable .srt per language plus the source-language transcript. Nothing is voiced, nothing is re-rendered, no video comes back.

This is the step before auto-dubbing: the user reads and corrects the translated scripts, and the corrected files then go to dubbing as subtitles, so the dub speaks exactly the approved wording instead of the pipeline's own translation.

Setup: See the setup-api-key skill.

⚠️ Cost — read before calling: this is billed per target language — video seconds × the number of target languages, at $0.001/sec with a 10-second billing floor. A transcript-only request (no languages) counts as one. Self-serve accounts get 2 free-trial runs; after that it bills normally. Confirm the exact language list with the user before calling; do not guess a long list "to be helpful."

When to reach for this

Use it when:

  • The user wants to see or fix the translation before it is spoken. "Let me check the Spanish first", "our team has to approve the copy", "the product name keeps getting mangled" — all of it is this call, not a dub followed by a re-dub.
  • The user wants editable subtitles or a plain transcript of a video, with no dubbing in sight. Omit languages for the source-language transcript alone.
  • A previous dub said the wrong thing. Proofread, correct the script, then dub with subtitles. Re-dubbing without a script just pays for the same translation twice.

Do not use it when the user just wants the video dubbed and has no interest in the wording — that is one dubbing call, and inserting a proofread in front of it is an extra charge they did not ask for.

Transport: MCP or CLI

Pick one at the start of the session and stay on it. Do not mix the two inside a single job, and do not announce the choice.

  1. Sonilo MCP tools visible in this session (proofread and friends) — use them. This is the preferred path: it needs no shell, and it is the only one that survives a very long generation. If a call fails to authenticate — rather than failing on its inputs — this transport is not usable in this session: go to 2 instead of retrying it.
  2. No usable Sonilo MCP tools, but sonilo account exits 0 — use the CLI commands below. Same API, same account, same credential file. Probe with sonilo account, not sonilo whoami: whoami exits 0 even when signed out, so it cannot tell the two states apart.
  3. Neither — stop and run the setup-api-key skill. Do not call api.sonilo.com with curl to work around it; both transports handle uploads, polling and retries that a bare request does not.

One difference between the two MCP servers

proofread takes a local file only on the local server. The hosted (OAuth plugin) server is URL-only: it exposes video_url, languages and source_language and nothing else — no video_path to read a file from, and no output_directory, because it has no filesystem. There the .srt URLs come back on the task and you fetch them yourself. If the user's video is a local file and you are on the hosted server, do not try video_path — it is not a parameter there. Upload the file with the hosted server's create_upload_url tool and pass the file_url it returns as video_url (steps in preflight, Step 4), or use the CLI or an SDK.

Unlike dubbing, this call is quick: a few-minute clip with a handful of languages typically finishes in well under a minute, so the ordinary timeout is enough and there is no submit-and-poll dance to plan for.

Quick Start

MCP tool call (recommended)

proofread(
    video_path="~/Desktop/product-demo.mp4",
    languages=["es", "fr"]
)

On the hosted server, pass a URL instead — it is the only input there:

proofread(video_url="https://example.com/product-demo.mp4", languages=["es", "fr"])

The transcript alone, with no translation, is the same call with languages left out:

proofread(video_path="~/Desktop/product-demo.mp4")

A hint for the spoken language, for short or noisy audio:

proofread(video_path="~/Desktop/product-demo.mp4", languages=["es"], source_language="en")

On the local server the files are saved for you (see Output Files); output_directory says where.

Python (pip install sonilo)

python
from sonilo import Sonilo

client = Sonilo()  # reads SONILO_API_KEY

result = client.proofread.generate(
    video="product-demo.mp4",
    languages=["es", "fr"],
    # Optional hint; omit to have the spoken language detected.
    source_language="en",
)
print(result.source_language, result.cue_count)

# Writes scripts/proofread.<language>.srt — including the source language.
for language, path in result.save_all("./scripts").items():
    print(language, path)

for language, issues in result.warnings.items():
    for issue in issues:
        print(language, issue.cue, issue.code, issue.severity)

JavaScript / TypeScript (npm install sonilo)

ts
import { SoniloClient } from "sonilo";
import type { ProofreadResult } from "sonilo";

const client = new SoniloClient(); // reads SONILO_API_KEY

const result: ProofreadResult = await client.proofread.generate({
  video: "./product-demo.mp4",
  languages: ["es", "fr"],
  sourceLanguage: "en", // optional hint
});
console.log(result.source_language, result.cue_count);

// Presigned .srt URLs — they expire, so fetch them promptly. There are no
// download helpers on this result; use download()/fetch() as elsewhere.
for (const [language, url] of Object.entries(result.subtitles ?? {})) {
  console.log(language, url);
}

CLI (npm install -g sonilo-cli or pip install sonilo-cli)

bash
sonilo proofread --video clip.mp4 --languages es,fr --output scripts/clip.srt
# writes scripts/clip.en.srt (the detected source), scripts/clip.es.srt, scripts/clip.fr.srt

--output is a filename template, not one destination, exactly as it is on sonilo dubbing: the language code is spliced in before the extension, and missing directories are created. It defaults to proofread.srt. After the files, the command prints the detected source language, the cue count, and one line per non-blocking warning.

bash
# Transcript only, from a URL, with a hint for the spoken language.
sonilo proofread --video-url https://example.com/clip.mp4 --source-language en

# --timeout is the CLI's own wait (default 2700 seconds). If it does expire, the
# task keeps running server-side.
sonilo proofread --video clip.mp4 --languages ja --timeout 300
sonilo tasks wait <task-id>

cURL (raw REST API, no MCP host)

bash
curl -X POST "https://api.sonilo.com/v1/proofread" \
  -H "Authorization: Bearer $SONILO_API_KEY" \
  -F "video=@product-demo.mp4" \
  -F 'languages=["es","fr"]' \
  -F "source_language=en"
# -> 202 {"task_id": "...", "status": "processing"}

curl "https://api.sonilo.com/v1/tasks/<task_id>" -H "Authorization: Bearer $SONILO_API_KEY"

languages is a JSON array string, the same wire shape as dubbing's. video_url is accepted instead of an uploaded file and must be https — the backend fetches the source itself and rejects plain http. Pass one or the other, never both.

Tool

ToolDescription
proofread(video_path? | video_url?, languages?, source_language?, output_directory?)Transcribe a video and translate the transcript into the requested languages; one editable .srt per language plus the source-language transcript. Voices nothing and produces no video. video_path and output_directory exist on the local server only — the hosted server is video_url-only.

Parameters

ParameterTypeDefaultNotes
video_pathstring—Local server only. Absolute path, or relative to SONILO_MCP_BASE_PATH. Max 300s (5 min), max 300 MB, and the video must have an audio track — there is nothing to transcribe without one, so a video lacking one is rejected rather than transcribed.
video_urlstring—Must be https (not just http). Exactly one of video_path/video_url. The only input the hosted server accepts. Same 300s / 300 MB / audio-track rules.
languageslist[str]— (transcript only)Target languages to translate the transcript into, e.g. ["es", "fr"]. The same codes as dubbing — see the auto-dubbing skill's languages row for the list and for what pt_br, es_419, pa_in and sd_in mean — so a proofread script can go straight into a dub. Omit it, or pass [], for the source-language transcript alone. An unsupported code is a 422 before anything is charged. Billed per language, so this list is the price.
source_languagestring— (detected)A hint telling transcription which language to expect, one of the same codes. It helps on short, noisy or mixed-language audio. Omit it to have the language detected; either way the result reports the language the transcript is actually in, and that detected code keys the source-language file. Free — it is a hint, not an extra language.
output_directorystringSONILO_MCP_BASE_PATHLocal server only. Absolute, or relative to the base path.

What comes back

json
{
  "task_id": "…",
  "status": "succeeded",
  "source_language": "en",
  "subtitles": {
    "en": "https://…/en.srt",
    "es": "https://…/es.srt",
    "fr": "https://…/fr.srt"
  },
  "cue_count": 65,
  "warnings": {
    "fr": [
      {"cue": 33, "code": "high_text_speed", "severity": "warning", "characters_per_second": 26.92}
    ]
  },
  "duration_seconds": 206.32
}
  • subtitles maps a language code to a downloadable .srt URL, and always includes the detected source language on top of every requested target — so a one-language request comes back with two files, and a request with no languages at all still comes back with one. The URLs are presigned and expire: save the files rather than handing the user a link.
  • source_language is the language the transcript is in, whatever hint was sent. It is the key the source-language file appears under.
  • cue_count is the number of subtitle cues in the source script. Every language has the same count.
  • warnings maps a language to non-blocking issues in its script, and is empty when there are none. Each issue carries cue (1-based), code, severity, plus whatever measurement that code brought with it (e.g. characters_per_second on high_text_speed). A warning never withholds a file or fails the task — surface it as something the user may want to tighten while editing, not as an error.

Proofread → Edit → Dub

The two calls are halves of one workflow. Run them in this order:

  1. Proofread the video into the target languages.

  2. Hand the .srt files to the user to read and correct. That is the whole point of the call — do not silently pass them straight through. Rewriting them yourself is a translation the user never approved.

  3. Dub with subtitles, keyed by language, so the dub speaks those lines verbatim:

    dubbing(
        video_path="~/Desktop/product-demo.mp4",
        languages=["es", "fr"],
        subtitles={"es": "./scripts/clip.es.srt", "fr": "./scripts/clip.fr.srt"}
    )
    bash
    sonilo dubbing --video clip.mp4 --languages es,fr \
      --subtitle es=scripts/clip.es.srt --subtitle fr=scripts/clip.fr.srt

Drop the source-language file. Proofread always returns it; dubbing's subtitles keys must equal its languages exactly, so passing the source language through is an extra key and a 422. The same goes the other way: every language being dubbed needs a script, so if the user only corrected two of three files, ask for the third rather than dropping subtitles — a bare languages list would silently deliver the pipeline's own translation instead.

See the auto-dubbing skill for the rest of the script rules (.srt/.vtt only, 1 MiB each, target-language text, and export_srt to get each language's lines re-timed against the delivered audio).

Workflow Tips

  • Always ask which language(s) before calling — the list is what you are billed for, and unlike dubbing there is no server-side default here: omit languages and you get the transcript alone, charged as one language.
  • Proofread is cheap next to a wrong dub. It is per second at $0.001 with a 10-second floor, while a dub the user rejects is a full per-language charge thrown away. If the user cares about the wording at all, proofread first.
  • Use source_language when the audio is hard. Short clips, background noise, or a speaker switching languages are exactly where detection slips, and a hint costs nothing.
  • It transcribes speech. A video with no audio track is rejected outright, and one whose audio has no speech comes back failed with TRANSCRIPTION_EMPTY — a caller-input verdict, not a backend fault. Check the clip before re-running it.
  • This is not the music or SFX skills (text-to-music, video-to-music, text-to-sfx, video-to-sfx) and it is not video-analysis, which briefs the sound of a video. This one only reads out the words.
  • Check get_account_services (see the account skill) if you are unsure whether the account's 2 free runs remain before calling.

Recovering a Timed-Out Call

proofread is async: the backend accepts and charges the task, then a worker runs it. If the call's own wait is interrupted, the error message — or the task id printed at submission — gives you a task_id. Call get_sfx_task(task_id) — get_generation_task(task_id) on the hosted server — to check status and download the finished .srt files; see task-recovery. On the CLI, sonilo tasks wait <task-id> resumes the wait.

Do not re-run proofread after a timeout. That is a second charge for scripts you already own.

Output Files

On the local MCP server, one .srt per language lands in output_directory, named proofread-<first 8 chars of the task id>.<language>.srt — there is no prompt to name files after, so the task id is the only stable name. The set always includes the detected source language. After the files, the tool reports the detected source_language and cue_count, then one note per warning; a language whose .srt could not be downloaded is a note carrying the task id, not a failure.

On the CLI, the files follow the --output template (--output scripts/clip.srt writes scripts/clip.en.srt, scripts/clip.es.srt, …), so --output names the template, not one file.

The hosted server and the raw API return the URLs instead; fetch them before they expire.

Error Handling

Common errors: 401 invalid key, 402 insufficient balance / trial exhausted, 413 file too large, 422 invalid parameters (an unsupported language code, both or neither of video_path/video_url, a non-https video_url), 429 rate limit. An unsupported language code is a 422 before anything is charged.

A video over the 300s cap, over 300 MB, or with no audio track is rejected rather than transcribed. Both MCP servers check the duration before the request is made, and the hosted server also checks for an audio track, so those reach you as a tool error rather than as an HTTP status; the local server leaves the audio-track check to the API.

A failed task carries an error.code of SOURCE_DOWNLOAD_FAILED, SOURCE_PROCESSING_FAILED, TRANSCRIPTION_EMPTY, TRANSCRIPTION_FAILED, TRANSLATION_FAILED, PREFLIGHT_BLOCKED, PREFLIGHT_UNAVAILABLE or TRANSFER_FAILED, and is refunded. TRANSCRIPTION_EMPTY means the audio had no speech in it — re-running the same clip cannot fix that.

A 503 means proofread is temporarily disabled server-side; it is not a key or balance problem and no retry loop will fix it. See the account skill to check trial/usage before a call.

Câu hỏi thường gặp

Kỹ năng AI Proofread làm được gì?

Dùng Sonilo để chép lời video và dịch bản chép lời thành các tệp .srt có thể chỉnh sửa — mỗi ngôn ngữ đích một tệp, cùng với ngôn ngữ nguồn được nhận diện — để người dùng có thể đọc và sửa câu chữ trước khi lồng tiếng. Tác vụ này không tạo giọng nói hay video; đây là bước thực hiện trước khi lồng tiếng, và các tệp đã chỉnh sửa sẽ được đưa lại vào công cụ lồng tiếng dưới dạng phụ đề để bản lồng tiếng đọc chính xác những câu đã duyệt. Dùng khi người dùng muốn xem lại, duyệt hoặc sửa bản dịch trước khi lồng tiếng, cần phụ đề có thể chỉnh sửa hoặc bản chép lời video, hay muốn bản lồng tiếng nói...

Vì sao nên dùng Proofread trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Proofread là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Proofread trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/sonilo-ai/skills/tree/main/proofread. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Proofread?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Proofread với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Proofread với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Proofread có miễn phí không?

Có. Kỹ năng này được sonilo-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇