API

Submit one manga image per request and receive a JSON payload containing the translated PNG as base64.

API Keys
Credits--
Loading
Examples
curl -X POST https://translatemanga.net/api/v1/translate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@page.png" \
  -F "targetLanguage=English" \
  -F "model=default" \
  -o response.json
API Reference

Endpoint

Field
method
Type
enum
Meaning
HTTP method used by the translate endpoint.
Values
POST
Field
url
Type
string
Meaning
Production endpoint for single-image translation.
Values
https://translatemanga.net/api/v1/translate
Field
request body
Type
format
Meaning
Request body format.
Values
multipart/form-data
Field
response body
Type
format
Meaning
Success and error responses both return JSON.
Values
application/json

Authentication

Field
Authorization
Type
string
Required
Yes
Meaning
Bearer token built from an API key generated on this page.
Values
Bearer YOUR_API_KEY

Request

Field
image
Type
File
Required
Yes
Meaning
Source manga image to translate. One image per request.
Values
image/*

Maximum file size: 5MB.

Field
targetLanguage
Type
string
Required
Yes
Meaning
Target language for translated text.
Values
English
Japanese
Chinese (simplified)
Chinese (traditional)
Korean
Spanish

Field
model
Type
string
Required
No
Meaning
Translation model. Defaults to default.
Values

Field
font
Type
string
Required
No
Meaning
Font used to render translated text. Defaults to CCWildWords.otf.
Values
CCWildWords.otf
Kalam.ttf
Bangers-Regular.ttf
KomikaJam.ttf
KomikaSlim.ttf
PatrickHand-Regular.ttf
VtcLettererPro.ttf

Response

Field
success
Type
boolean
Meaning
Always present. Whether the request succeeded.
Values
false
true
Field
translated_image
Type
string
Meaning
Present when success is true. Base64-encoded translated PNG without a data URL prefix.
Values
base64 PNG
Field
mimeType
Type
string
Meaning
Present when success is true. MIME type for the translated image.
Values
image/png
Field
traceId
Type
string
Meaning
Request trace ID for debugging. Present in both success and error responses.
Values
-
Field
creditCost
Type
number
Meaning
Present when success is true. Paid credits consumed by this request.
Values
-
Field
remainCredit
Type
number
Meaning
Present when success is true. Remaining paid credits after the request.
Values
-
Field
error
Type
string
Meaning
Present when success is false. Human-readable error message.
Values
-
Field
errorCode
Type
enum
Meaning
Present when success is false. Stable machine-readable error code.
Values
UNAUTHORIZED
MISSING_IMAGE
INVALID_IMAGE_TYPE
IMAGE_TOO_LARGE
UNSUPPORTED_TARGET_LANGUAGE
UNSUPPORTED_MODEL
UNSUPPORTED_FONT
NO_CREDITS_LEFT
TRANSLATION_FAILED