Image Translator
Playground
Try it on WavespeedAI!AI Image Translator that extracts text from images and translates it into 30+ languages while perfectly preserving font, style, spacing, and layout. The output image retains the original look and feel with extremely high visual fidelity. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
WaveSpeedAI Image Translator
Turn any image into a multilingual asset in seconds. WaveSpeedAI Image Translator detects on-image text, translates it into your target language, and regenerates a clean image while preserving layout, fonts, and graphics.
What is it?
WaveSpeedAI Image Translator is an end-to-end image translation tool:
- Input: an image (upload or URL)
- Output: a translated image in JPEG, PNG, or WEBP format
- Workflow: OCR → translation → layout-aware text rendering
It is ideal for localizing posters, flyers, infographics, game UI, social posts, and product screenshots.
Why it stands out
-
Multilingual support Translate on-image text into many languages, including English, Spanish, French, Arabic, Hindi, Bengali, Portuguese, Russian, Japanese, Korean, German, and more.
-
Layout-aware rendering Replaces text while keeping the original composition, spacing, and overall visual style as intact as possible.
-
Image format flexibility Choose your preferred output_format: JPEG and PNG, matching your downstream pipeline or platform requirements.
-
Simple “upload and choose language” UX Just provide the image, select target_language from the dropdown, and click run—no manual masking or Photoshop skills required.
-
API-friendly Designed for batch localization and integration into design, marketing, or product tooling.
Limits and Performance
- Input: standard web image formats (JPEG, PNG, WEBP)
- Output: JPEG / PNG / WEBP (selectable in the interface)
- Typical processing time: a few seconds per image, depending on image size and queue load
- Best results with clear, non-blurred text and good contrast between text and background
Pricing
Every translated image costs only $0.15.
| Item type | Cost |
|---|---|
| 1 translated image | $0.15 |
How to Use
- Upload an image or paste a publicly accessible image URL.
- Choose the target_language from the dropdown list.
- Select your preferred output_format (JPEG, PNG, or WEBP).
- Submit the job.
- Download the translated image once processing finishes.
Pro Tips for Best Quality
- Use high-resolution images where text is sharp and not heavily compressed.
- Avoid very decorative or highly distorted fonts if you need precise readability.
- Keep important text away from extremely busy backgrounds for cleaner rendering.
- For multi-language campaigns, reuse the same source image and only change target_language to keep layout consistent across markets.
Notes
- If you provide an image URL instead of uploading, make sure it is publicly accessible; otherwise the preview and translation will fail.
- Extremely small text or heavily stylized lettering may not be recognized perfectly—consider simplifying those elements or increasing resolution before upload.
Multiple text support tools
- Qwen-Image-Translator: Alibaba Qwen Vision is a multimodal AI model that integrates OCR (optical character recognition) and multilingual translation. Built on Alibaba Cloud’s DashScope, it can extract text from images and translate it into multiple languages quickly and accurately.
- Seedream: A text-to-image model from ByteDance, optimized for multi-panel/tiled posters, concept designs with copy, series KV, and social media assets. It excels at grid-based layouts, whitespace planning, and type readability.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-translator" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"target_language": "english",
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| image | string | Yes | - | The URL of the image to generate an image from. | |
| target_language | string | Yes | english | english, chinese-simplified, chinese-traditional, spanish, french, arabic, hindi, bengali, portuguese, russian, japanese, korean, german, italian, dutch, polish, turkish, vietnamese, thai, indonesian, malay, filipino, urdu, persian, hebrew, swedish, danish, norwegian, finnish, greek, czech, hungarian, romanian, ukrainian | The target language to translate the text in the image to. |
| output_format | string | No | jpeg | jpeg, png, webp | The format of the output image. |
| enable_base64_output | boolean | No | false | - | If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API. |
| enable_sync_mode | boolean | No | false | - | If set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content (empty when status is not completed). |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |