ユニバーサル画像翻訳 API
リクエストのパラメーター、認証、レスポンスの項目、コード例を確認できます。
REST API ドキュメント
画像翻訳をアプリケーションに統合
エンドポイント
/api/translate元のレイアウトとスタイルを保持しながら画像内のテキストを翻訳
スコープ
translateクレジット
10Content-Type
multipart/form-dataレスポンス
application/json (API key or signed-in session required)リクエストボディ (FormData)
| パラメータ | タイプ | 必須 | 説明 |
|---|---|---|---|
image | File | 必須 | Image file to translate (JPG, PNG, WebP, GIF) |
config | JSON string | オプション | Translation configuration options |
設定オプション (JSON)
| オプション | タイプ | 必須 | 説明 |
|---|---|---|---|
target_lang | string | 必須 | Target language code for translationenjazhkoes+5 moreDefault: |
source_lang | string | オプション | Optional source-language metadata saved with the generation. The translation engine detects the source automatically. |
translator | string | 必須 | AI model to use for translationgrok-4-fastgemini-2.5-flashdeepseekkimi-k2gemini-3-flash+1 more |
font | string | オプション | Font for rendered textNotoSansWildWordsBadComicMaShanZhengBangersDefault: |
text_align | string | オプション | Alignment of rendered translation textautoleftcenterright |
stroke_disabled | boolean | オプション | Disable the outline around rendered text |
min_font_size | number | オプション | Minimum rendered font size forwarded to the translation engine |
mode | string | オプション | Optional generation metadata. This field does not change rendering; use text_align, stroke_disabled, and font for rendering controls.generalmangadocumentDefault: |
レスポンススキーマ
| フィールド | タイプ | 説明 |
|---|---|---|
success | boolean | Whether translation succeeded |
generationId | string | Unique ID for this generation |
resultImage | string | Base64 data URL of translated image |
inpaintedImage | string | Base64 data URL of text-removed image |
textRegions | array | Text regions with originalText, translated text in text, and x/y/width/height coordinates |
upload | object | Presigned URLs for uploading original/result images |
{
"success": true,
"generationId": "550e8400-e29b-41d4-a716-446655440000",
"resultImage": "data:image/png;base64,iVBORw0KGgo...",
"inpaintedImage": "data:image/png;base64,iVBORw0KGgo...",
"textRegions": [
{
"originalText": "こんにちは",
"text": "Hello",
"x": 100,
"y": 50,
"width": 200,
"height": 40
}
]
}コード例
curl --fail -X POST https://translateimage.io/api/translate \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "[email protected]" \
-F 'config={"target_lang":"ja","translator":"gemini-2.5-flash"}'3 ステップで統合
- 1
登録して API キーを取得
プランに登録し、ダッシュボードから安全な API キーを生成します。API アクセスにはアクティブなサブスクリプションが必要です。
- 2
API リクエストを送信
ターゲット言語とモデル設定を指定して、画像を /translate エンドポイントに POST します。
- 3
ローカライズされたアセットを受信
完全に翻訳された画像 URL または base64 データを即座に取得し、すぐに使用できます。
開発者のために構築
無限のスケーラビリティ
大量処理向けに設計された自動スケーリングクラウドインフラで、数千の画像を同時に処理します。
99.9% アップタイム SLA
重要な本番アプリケーション向けのエンタープライズグレードの安定性とパフォーマンス保証に依存できます。
柔軟なデータフォーマット
JSON レスポンス、Base64 エンコーディング、すべての主要な画像フォーマット(JPG、PNG、WebP)を完全サポート。
API 機能
包括的なエンドポイント
翻訳、OCR 抽出、修復、レイアウト分析のための専用エンドポイントで、あらゆるユースケースに対応。
大量バッチ処理
数千のアセットを効率的に処理するように設計された非同期バッチエンドポイントでスループットを最適化。
エンタープライズグレードセキュリティ
エンドツーエンド暗号化と厳格なデータプライバシー管理を備えた SOC2 準拠インフラ。
今日から構築を始めましょう
プランに登録して API キーを取得し、画像翻訳をアプリに統合しましょう。
API FAQ
REST API に関するよくある質問
その他の AI ツール
画像翻訳、文字抽出、文字除去、画像圧縮のための専用ツール。
