IsManga API
Translate manga, manhwa and manhua images via REST API.
The API translates one manga image per request. Most images finish in under 4 seconds, so one call usually returns the finished translation.
Translations are paid from your API balance, which is separate from the Premium subscription and Credits in the IsManga apps. A translation that fails is refunded. Top up your balance any time.
Questions? Email [email protected].
Create an API key
- Open your API settings.
- Enter a name for the key and select Create Key.
- Copy the key right away. It is shown only once.
The same page shows your balance and has a Recent Jobs tab with your 20 newest translations: which key made each one, how long it took, what it cost and the image it got.
Authentication
Send the key on every request, as a bearer token. Keys are for your own server. The API sends no CORS headers, so a page in a browser cannot call it with a key.
Authorization: Bearer $YOUR_ISMANGA_API_KEYQuick start
Create the translation with wait, and read result from the answer.
wait holds the call until the image is done, for up to 20 seconds.
Most images finish in under 4 seconds, so the answer is usually the finished job.
Request
curl -X POST "https://api.ismanga.com/v1/manga/translations?wait=20" \
-H "Authorization: Bearer $YOUR_ISMANGA_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: chapter-12-image-3-en" \
-d '{"imageUrl": "https://example.com/image.jpg", "sourceLang": "ja-JP", "targetLang": "en-US"}'If status is still "queued" or "processing", get the job with wait until it is "succeeded" or "failed".
Request
curl "https://api.ismanga.com/v1/manga/translations/<id>?wait=20" \
-H "Authorization: Bearer $YOUR_ISMANGA_API_KEY"If you can't keep a request open for 20 seconds, leave out wait and get the job again every few seconds until it is done.
Endpoints
Every path is relative to https://api.ismanga.com.
Create a translation
/v1/manga/translationsTranslates one manga image.
Headers
AuthorizationstringBearerand your API key.Content-Typestringapplication/json.Idempotency-KeystringOptional1 to 255 visible ASCII characters. A retry with the same key and body within 24 hours returns the original job and is not billed again.
Query parameters
waitintegerOptionalSeconds to hold the request until the job is done, from 0 to 20.
Body
imageUrlstringimagestringsourceLangstringThe language of the text in the image, such as ja-JP.targetLangstringThe language to translate into, such as en-US.
Responses
Other answers are in Errors.
Request
curl -X POST "https://api.ismanga.com/v1/manga/translations?wait=20" \
-H "Authorization: Bearer $YOUR_ISMANGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"imageUrl": "https://example.com/image.jpg", "sourceLang": "ja-JP", "targetLang": "en-US"}'Response
{
"id": "8c6b1d52-4f1e-4a53-9a0f-2c43f3c4f8a1",
"status": "succeeded",
"sourceLang": "ja-JP",
"targetLang": "en-US",
"createdAt": "2026-11-03T10:00:00.000Z",
"completedAt": "2026-11-03T10:00:03.412Z",
"charged": 0.001,
"result": {
"imageWidth": 800,
"imageHeight": 1200,
"regions": [
{
"x": 10,
"y": 20,
"width": 30,
"height": 40,
"detectedSourceLang": "ja-JP",
"sourceText": "こんにちは",
"translatedText": "Hello",
"inpaintedImageUrl": "https://example.com/region.jpg",
"textColor": "rgb(0, 0, 0)",
"backgroundColor": "rgb(255, 255, 255)"
}
]
},
"error": null
}Get a translation
/v1/manga/translations/{id}Returns one job from this account.
Headers
AuthorizationstringBearerand your API key.
Path parameters
idstringThe job'sid.
Query parameters
waitintegerOptionalSeconds to hold the request until the job is done, from 0 to 20.
Responses
Request
curl "https://api.ismanga.com/v1/manga/translations/8c6b1d52-4f1e-4a53-9a0f-2c43f3c4f8a1?wait=20" \
-H "Authorization: Bearer $YOUR_ISMANGA_API_KEY"Response
{
"id": "8c6b1d52-4f1e-4a53-9a0f-2c43f3c4f8a1",
"status": "succeeded",
"sourceLang": "ja-JP",
"targetLang": "en-US",
"createdAt": "2026-11-03T10:00:00.000Z",
"completedAt": "2026-11-03T10:00:03.412Z",
"charged": 0.001,
"result": {
"imageWidth": 800,
"imageHeight": 1200,
"regions": [
{
"x": 10,
"y": 20,
"width": 30,
"height": 40,
"detectedSourceLang": "ja-JP",
"sourceText": "こんにちは",
"translatedText": "Hello",
"inpaintedImageUrl": "https://example.com/region.jpg",
"textColor": "rgb(0, 0, 0)",
"backgroundColor": "rgb(255, 255, 255)"
}
]
},
"error": null
}Balance
/v1/manga/balanceReturns your API balance.
Headers
AuthorizationstringBearerand your API key.
Responses
balancenumberYour API balance, in US dollars.translationPricenumberThe price of one translation, in US dollars.
When the balance is lower than translationPrice, creating a translation answers 402 until you top up.
Request
curl "https://api.ismanga.com/v1/manga/balance" \
-H "Authorization: Bearer $YOUR_ISMANGA_API_KEY"Response
{
"balance": 12.4975,
"translationPrice": 0.001
}Languages
/v1/manga/languagesLists the language codes the API accepts.
Headers
AuthorizationstringBearerand your API key.
Responses
sourceLangsarrayThe codes you can send assourceLang.targetLangsarrayThe codes you can send astargetLang.
Request
curl "https://api.ismanga.com/v1/manga/languages" \
-H "Authorization: Bearer $YOUR_ISMANGA_API_KEY"Response
{
"sourceLangs": ["ja-JP", "ko-KR", "zh-CN", "en-US"],
"targetLangs": ["en-US", "es-ES", "fr-FR", "de-DE", "pt-PT"]
}Objects
Job
idstringThe job's ID.statusstring"queued", "processing", "succeeded" or "failed".sourceLangandtargetLangstringThe languages you sent.createdAtandcompletedAtstringISO 8601 times.completedAtis null until the job is done.chargednumberWhat the job cost from your balance, in US dollars. Null once the job failed.errorobjectSet once the job failed. Getting the job still returns 200, so this is not a request error. A failed job is refunded.Show child fieldsHide child fields
codestring"invalid_image" if the image can't be used, or "translation_failed" if you can try again.messagestringWhat went wrong.
resultobjectSet once the job succeeded.Show child fieldsHide child fields
imageWidthandimageHeightintegerThe size of the original image.regionsarrayOne item per text region. Empty when the image has no text, which is still charged.Show child fieldsHide child fields
x,y,widthandheightintegerThe region in the original image, in pixels.sourceTextandtranslatedTextstringThe text found and its translation.detectedSourceLangstringThesourceLangyou sent.inpaintedImageUrlstringThe region with its text removed. Place it over the region, then fittranslatedTextinto it. Anyone with the URL can open it until it is deleted.textColorandbackgroundColorstringCSSrgb()colors.
Any field of result can be null, for example inpaintedImageUrl when that image could not be saved.
IsManga does not keep your image.
Response
{
"id": "8c6b1d52-4f1e-4a53-9a0f-2c43f3c4f8a1",
"status": "succeeded",
"sourceLang": "ja-JP",
"targetLang": "en-US",
"createdAt": "2026-11-03T10:00:00.000Z",
"completedAt": "2026-11-03T10:00:03.412Z",
"charged": 0.001,
"result": {
"imageWidth": 800,
"imageHeight": 1200,
"regions": [
{
"x": 10,
"y": 20,
"width": 30,
"height": 40,
"detectedSourceLang": "ja-JP",
"sourceText": "こんにちは",
"translatedText": "Hello",
"inpaintedImageUrl": "https://example.com/region.jpg",
"textColor": "rgb(0, 0, 0)",
"backgroundColor": "rgb(255, 255, 255)"
}
]
},
"error": null
}Request error
A request that fails answers with a 4xx or 5xx status and one error object.
This is not the error of a failed job, which comes back with a 200.
codestringOne of the codes in Errors.messagestringWhat went wrong. When the body is not valid, it names every field that failed, separated by "; ".requestIdstringThe same value as theX-Request-Idheader, which is on every response. Include it when you contact support.
Response
{
"error": {
"code": "insufficient_balance",
"message": "Your API balance is too low for this translation. Top up your balance to keep translating.",
"requestId": "req_3f9a1c2b7d4e4b8a9c0d1e2f3a4b5c6d"
}
}Errors
When a request fails, its request error has one of these codes.
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | The body, a query parameter or the Idempotency-Key header is not acceptable, or imageUrl is not a public http or https URL. |
| 400 | invalid_image | The image is not a PNG, JPEG or WebP of at most 5 MB and 2,000 pixels on each side. |
| 400 | image_unavailable | The image at imageUrl could not be fetched. Check that the URL works without signing in. |
| 401 | unauthorized | The API key is missing or not valid. |
| 402 | insufficient_balance | Your API balance is lower than the price of a translation, or the balance is below zero. Top up, then try again. |
| 404 | not_found | That translation does not exist on this account, or the path is unknown. |
| 409 | idempotency_conflict | This Idempotency-Key was already used for a different request. |
| 413 | payload_too_large | The request body is over 8 MB. |
| 429 | rate_limited | Too many requests. Wait for the time in Retry-After. |
| 429 | too_many_concurrent_jobs | This account already has 8 translations in progress. Wait for one to finish. |
| 500 | internal_error | The server failed while handling the request. The request id is in the body. |
| 503 | service_unavailable | The translation service did not accept the job, or API pricing is not available. It was not billed. |
Limits
Limits are for your whole account, shared by all its API keys.
Translation limits
| Limit | Value |
|---|---|
| Translations in progress at once | 8 |
| Longest wait on one request | 20 seconds |
Data retention
| Data | Kept for |
|---|---|
| Jobs and results | 24 hours |
| Inpainted region images | 1 to 2 days |
Image limits
| Limit | Value |
|---|---|
| Format | PNG, JPEG or WebP |
| File size | 5 MB |
| Width and height | 2,000 pixels on each side |
| Image URL | Public http or https on port 80 or 443, up to 2048 characters, 3 redirects and 10 seconds |
| Request body | 8 MB |
Request limits
Every request counts against the IP address limit. Creating a translation is also limited by how many translations can be in progress at once.
| Limit | Counts | Per minute |
|---|---|---|
| IP address | Every request from that IP address, across all accounts and keys, even with a wrong API key | 300 |
A request over the limit gets a 429 rate_limited error with a Retry-After header, the number of seconds to wait before trying again.