Documentation Index
Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt
Use this file to discover all available pages before exploring further.
概要
/v1/translations はテキストからテキストへの翻訳に使用します。
この endpoint は 音声翻訳 とは異なります。音声ファイルを受け取り、常に英語テキストを出力します。
/v1/translations に明示的に送信します。
recommended_for=translation はテキスト翻訳(POST /v1/translations)にのみ適用され、音声翻訳 には適用されません。リクエストボディ
/v1/models?recommended_for=translation が返す翻訳 model ID。翻訳する元のテキスト。
対象言語コードまたは言語名。model の対応状況によって異なります。
任意の元言語ヒント。
元テキストの形式。サポート値は
text/plain と text/html です。abuse monitoring と request tracing のための任意の end-user 識別子。
レスポンス
翻訳後のテキスト。
翻訳を生成した model。
model が検出または受理した元言語。
リクエストで使用した対象言語。