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

    1. Open your API settings.
    2. Enter a name for the key and select Create Key.
    3. 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_KEY

    Quick 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

    POST/v1/manga/translations

    Translates one manga image.

    Headers

    • Authorizationstring
      Bearer and your API key.
    • Content-Typestring
      application/json.
    • Idempotency-KeystringOptional
      1 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

    • waitintegerOptional
      Seconds to hold the request until the job is done, from 0 to 20.

    Body

    • imageUrlstring
      A public http or https URL of the image, within the image limits. Send imageUrl or image.
    • imagestring
      The image as raw base64 or a data URL, within the image limits. Send image or imageUrl.
    • sourceLangstring
      The language of the text in the image, such as ja-JP.
    • targetLangstring
      The language to translate into, such as en-US.

    Responses

    A job object with status "succeeded" or "failed". The job finished within wait seconds.

    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

    GET/v1/manga/translations/{id}

    Returns one job from this account.

    Headers

    • Authorizationstring
      Bearer and your API key.

    Path parameters

    • idstring
      The job's id.

    Query parameters

    • waitintegerOptional
      Seconds to hold the request until the job is done, from 0 to 20.

    Responses

    A job object. With wait, it comes once the job is done or after wait seconds.

    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

    GET/v1/manga/balance

    Returns your API balance.

    Headers

    • Authorizationstring
      Bearer and your API key.

    Responses

    Your balance.
    • balancenumber
      Your API balance, in US dollars.
    • translationPricenumber
      The 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

    GET/v1/manga/languages

    Lists the language codes the API accepts.

    Headers

    • Authorizationstring
      Bearer and your API key.

    Responses

    The language codes.
    • sourceLangsarray
      The codes you can send as sourceLang.
    • targetLangsarray
      The codes you can send as targetLang.

    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

    • idstring
      The job's ID.
    • statusstring
      "queued", "processing", "succeeded" or "failed".
    • sourceLang and targetLangstring
      The languages you sent.
    • createdAt and completedAtstring
      ISO 8601 times. completedAt is null until the job is done.
    • chargednumber
      What the job cost from your balance, in US dollars. Null once the job failed.
    • errorobject
      Set 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.
      • messagestring
        What went wrong.
    • resultobject
      Set once the job succeeded.
      Show child fieldsHide child fields
      • imageWidth and imageHeightinteger
        The size of the original image.
      • regionsarray
        One item per text region. Empty when the image has no text, which is still charged.
        Show child fieldsHide child fields
        • x, y, width and heightinteger
          The region in the original image, in pixels.
        • sourceText and translatedTextstring
          The text found and its translation.
        • detectedSourceLangstring
          The sourceLang you sent.
        • inpaintedImageUrlstring
          The region with its text removed. Place it over the region, then fit translatedText into it. Anyone with the URL can open it until it is deleted.
        • textColor and backgroundColorstring
          CSS rgb() 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.

    • codestring
      One of the codes in Errors.
    • messagestring
      What went wrong. When the body is not valid, it names every field that failed, separated by "; ".
    • requestIdstring
      The same value as the X-Request-Id header, 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.

    StatusCodeMeaning
    400invalid_requestThe body, a query parameter or the Idempotency-Key header is not acceptable, or imageUrl is not a public http or https URL.
    400invalid_imageThe image is not a PNG, JPEG or WebP of at most 5 MB and 2,000 pixels on each side.
    400image_unavailableThe image at imageUrl could not be fetched. Check that the URL works without signing in.
    401unauthorizedThe API key is missing or not valid.
    402insufficient_balanceYour API balance is lower than the price of a translation, or the balance is below zero. Top up, then try again.
    404not_foundThat translation does not exist on this account, or the path is unknown.
    409idempotency_conflictThis Idempotency-Key was already used for a different request.
    413payload_too_largeThe request body is over 8 MB.
    429rate_limitedToo many requests. Wait for the time in Retry-After.
    429too_many_concurrent_jobsThis account already has 8 translations in progress. Wait for one to finish.
    500internal_errorThe server failed while handling the request. The request id is in the body.
    503service_unavailableThe 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

    LimitValue
    Translations in progress at once8
    Longest wait on one request20 seconds

    Data retention

    DataKept for
    Jobs and results24 hours
    Inpainted region images1 to 2 days

    Image limits

    LimitValue
    FormatPNG, JPEG or WebP
    File size5 MB
    Width and height2,000 pixels on each side
    Image URLPublic http or https on port 80 or 443, up to 2048 characters, 3 redirects and 10 seconds
    Request body8 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.

    LimitCountsPer minute
    IP addressEvery request from that IP address, across all accounts and keys, even with a wrong API key300

    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.