Repository navigation
sonilo-cli@0.20.0
Minor Changes
-
81fab6f: Proofread: transcribe a video and translate the transcript into editable
subtitle files.client.proofread.submit()/.generate()postPOST /v1/proofreadwith
exactly one ofvideo/videoUrl(videoUrlmust behttps://, as on
dubbing), optionallanguages— the same codesDubbingParams.languages
takes, sent as one JSON-array form field and omitted entirely when unset,
which is what asks for the source-language transcript alone — and optional
sourceLanguage, a hint for the spoken language. Codes are not validated
client-side: the server owns that list, exactly as it does for dubbing.A finished task is a
ProofreadResult:subtitles, a map of language code to
.srtURL that always includes the detectedsource_languagealongside
the requested targets, pluscue_countandwarnings, a map of language to
non-blockingProofreadIssues (cue,code,severity, and whatever
measurement that code brought with it). Nothing inwarningsfails the task or
withholds a file.Nothing is dubbed and nothing is spoken: this is the step before
client.dubbing. Correct the returned scripts, then pass them to
client.dubbingassubtitles[<language>]so the dub speaks exactly the
approved wording.In the CLI:
sonilo proofread --video <path>/--video-url,--languages,
--source-languageand--output(a filename template, default
proofread.srt, one.srtper language with the code inserted before the
extension —scripts/clip.srt→scripts/clip.en.srt; missing directories are
created). It then prints the detected source language, the cue count and one
line per warning, and waits with the usual default timeout rather than
dubbing's two hours.
Patch Changes
- Updated dependencies [81fab6f]
- sonilo@0.21.0