A multilingual audio upload form can accidentally promise more than its backend route documents. If that backend is CometAPI’s POST /v1/audio/translations, make the output English text, not a selectable destination language.
The CometAPI Create translation documentation describes this route as translating spoken audio into English text. Its “Read the response” section likewise says the default response includes translated English text. That is a useful boundary for the feature: audio in, English text out—not arbitrary-language translation or generated speech.
Three controls that should not become a language selector
The documented multipart body requires file and model. It also lists prompt, response_format, and temperature, but no target_language field.
promptis guidance, not a documented target-language override. The page describes it as optional text for style or continuation of a previous audio segment, and says it should be in English. Sending “translate to French” here would not be an implementation of the documented contract.response_formatchanges the output format. The listed choices arejson,text,srt,verbose_json, andvtt. A subtitle-format option is not a destination-language option.- An extra request field is not a supported feature just because your client can send it. This page does not establish what the server would do with an unknown
target_languageparameter—reject it, ignore it, or something else. Do not build a user-facing promise on that uncertainty.
A small implementation boundary
For a form backed only by this CometAPI route, my recommendation is to label the action “Translate audio to English text” and show English as a fixed output language. Keep output-format selection separate. If the product needs another target language, treat that as a separate routing or translation-stage requirement with its own documented contract and validation; this page does not supply that stage.
Before exposing the feature, try a short non-English sample, check upload handling, parse the chosen response format, and inspect whether the returned text is English. Also test that the application prevents unsupported destination-language choices rather than silently forwarding them. These are proposed acceptance checks, not reported test results or a guarantee of translation accuracy.
Source basis: CometAPI’s official route documentation, fetched September 10, 2026. This is a reading of that route’s documented contract, not a claim about every CometAPI audio model or endpoint.