Repository navigation
Add --speaker-labels and --max-speakers to speech transcribe - #644
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
/speech/transcribecan label who is speaking, buttransloadit speech transcribehad no flag for it, and itsreplicatedefault would make the API reject speaker labels anyway. The speaker labels announcement post needs this to be one command. Closes #643.Changes
--speaker-labelssendsspeaker_labels: true. Without--provider, the CLI leavesproviderout so the API picks one that supports labels (aws, orgcpwith vocabulary). Thereplicatedefault still applies without the flag.--max-speakers <1–10>sendsmax_speakers.--speaker-labels --provider replicate,--max-speakerswithout--speaker-labels, and out-of-range values fail before an Assembly is created.transloadit speech transcribe --input interview.mp4 --speaker-labels --output interview.txt.sync:intent-docsregenerated the README anddocs/intent-commands.md. Besides the new rows, it picked up option descriptions that earlier Robot schema syncs had left stale.Text, SRT and WebVTT output starts showing the speakers once transloadit/api2#10812 is deployed. Until then, use
--format json.Verification
yarn checkinpackages/node: intent docs sync,tsc, Biome, and 1129 unit tests pass, including three new intent tests (provider left to the API, replicate rejected,--max-speakerswithout labels rejected).🤖 Claimed by kvz on
framework1/node-sdksince 2026-11-05 · resume:claude --resume e0b6ec91-9333-451d-94f2-93dea1b12f72