Repository navigation
docs(asr): transcribe-2-pro - #456
Draft
liujiahua123123 wants to merge 1 commit into
Draft
liujiahua123123 wants to merge 1 commit into
liujiahua123123 wants to merge 1 commit into
Conversation
Add transcribe-2-pro beside transcribe-1-pro on POST /v1/asr. It takes the same fields and returns the same response format, and adds three request fields: text_format (written by default, or spoken), verbatim (true by default; false leaves out filler sounds, stutters, accidental repetitions and short false starts) and keyterms (up to 128 terms, each at most 50 characters and 8 words, all of them within 1024 tokens). Its language hint is passed to the model. The Speech to Text guide gains a "transcribe-2-pro options" section with Python, curl and Node.js examples and a section on language hints; the API reference gains the three fields, their validation and the key term rules. Statements that held for transcribe-1-pro alone (speaker turns, request_id, error shape, formats, the 60-minute limit) now name both Pro models, and the misspelled-header warning names transcribe-2 and transcribe-2pro. A recognized hint is reported as the response's language and language_code only where the transcript agrees with it; otherwise the detected language is reported (Chinese speech sent language=ja returns Chinese / zh). With key terms, text_format=spoken is not always followed and numbers can come back in digits (seen live on English clips), so the pages say so and the examples send a language hint and key terms without spoken. Pricing lists transcribe-2-pro at $0.06 per audio hour through December 31, 2026 (until January 1, 2027, 00:00 PT / 08:00 UTC), then $0.16, in the wording of the drama-3 launch price. The changelog entry is dated December 2, 2026, and the models overview, overview, deprecations, llms.txt, agent quickstart and both agent skills list the model. The guide no longer says that en-US or English as a language hint may be rejected with 400: any string is accepted. Open owner decisions are TODO comments: which ASR model the docs label recommended, whether key terms are labelled Beta, and the list of supported languages and its wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
leng-yue
added a commit
that referenced
this pull request
Dec 2, 2026
… the recommended speech-to-text models - New Transcribe 2 model card (Model Cards group): both models, endpoints, headers, launch and list prices, what transcribe-2-pro adds (language hints, text_format, verbatim, keyterms; 39 recommended languages), and what transcribe-stream-2 offers on the realtime endpoint. - Models Overview: the Choose a Model table, the speech-to-text diagram (transcribe-1-pro -> transcribe-2-pro, transcribe-stream-1 -> transcribe-stream-2) and the cards recommend Transcribe 2. - Transcribe 1 card: points new projects to Transcribe 2. - Pricing: transcribe-2-pro at $0.16 / audio hour, with the $0.06 launch price through December 31, 2026; recommended labels move to Transcribe 2. - Capabilities, Model Deprecations, changelog and llms.txt follow. Facts from #456, #403 and the STT launch owner.
This branch was successfully deployed
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.
Important
Draft: merge at the public launch (December 2, 2026, 09:00 PT / 17:00 UTC), after the owner decisions below.
transcribe-2-prois already served onPOST /v1/asrand billed at its launch price; the console price list does not show it until launch.What this adds
transcribe-2-prois a second Pro speech-to-text model onPOST /v1/asr, selected with themodel: transcribe-2-proheader. It takes the same fields and returns the same response format astranscribe-1-pro, and adds:text_format:written(default) orspokennumbers, dates, times, and amounts.verbatim:true(default) keeps filler words, stutters, repetitions, and false starts;falseleaves out filler sounds, stutters, accidental repetitions, and short false starts, and never rewords.keyterms: up to 128 terms, each at most 50 characters and 8 words, all of them within 1024 tokens, with the validation rules and error messages.languagehint is passed to the model (ISO 639-1/639-3 codes, English names, or locales such aspt-BR). A recognized hint is reported aslanguage/language_codeonly where the transcript agrees with it; otherwise the detected language is reported.Pages:
/v1/asr): the three fields in the fields table, validation, a curl example, Text format / Verbatim / Key terms sections, and the language behaviour.transcribe-2-proat $0.06 / audio hour through December 31, 2026, then $0.16, with a sentence in the wording of the drama-3 launch price (the launch price ends January 1, 2027, 00:00 PT / 08:00 UTC).request_id), agent quickstart,llms.txt, and both agent skills list the model. Statements that held fortranscribe-1-proalone (speaker turns,request_id, error shape, formats, the 60-minute limit) now name both Pro models.Remaining owner decisions (visible TODO comments)
transcribe-1-pro"recommended" and liststranscribe-2-probeside it without a label (features/speech-to-text.mdx,api-reference/endpoint/openapi-v1/speech-to-text.mdx).transcribe-2-prosupports and its exact wording, including which languages should always be sent withlanguage, which to steer totranscribe-1-pro, and what to say about Cantonese andzh-HK/zh-TW/zh-Hanthints (guide), and a link to it from the API reference.Also left as a TODO: if #403 (
transcribe-stream-2) merges first, add one sentence to the guide's Text format section about the realtimeresults.text_format(defaultspoken, case-sensitive).Tested against the live API
Every request went to
https://api.fish.audio/v1/asrwithmodel: transcribe-2-pro:text_format:spokenandSPOKENwrite numbers in words,writtenwrites digits, and any other value returns 400invalid_parameter. Withkeyterms,spokenwas not followed on 5 of 6 requests (numbers came back in digits; two English clips, one or two terms), so the pages now say so and the examples no longer combinespokenwith key terms.verbatim:falseandTRUEaccepted;1returns 400.invalid_parameterwith the documented message: 129 terms; an ASCII comma atkeyterms[3]; a 9-word term;ABCwithABC; 40 terms of 32 Chinese characters ("too long in total for the 1024-token limit (got 1200 tokens)").language=jareturnsChinese/zh; withlanguage=auto,Chinese/zh; English speech withpt-BRreturnsEnglish/en, and withazreturnsAzerbaijani/az(documented: a wrong hint in the same script is not always caught).The changed MDX files compile, and
mint broken-linksreports the same links asmain.Merge notes
transcribe-2-proand leave the lines docs: launch Fish Audio S3 Pro as the recommended model and retire s2.1-pro-free from the docs #453 edits unchanged. Thellms.txtguide line is left unchanged because docs(realtime-stt): document transcribe-stream-2 and results.text_format #403 edits the line after it.🤖 Generated with Claude Code