Apinoa Docs

Supported Fonts

The fonts and weights Translate accepts, the default font per target language, and the source-language codes it reads.

View raw .mdx
GET /v1/image-translate/supported-fonts

Returns the live list of values Translate accepts: which fonts cover each target language, the default font for each, every font_weight, every source_language, and the fonts you have uploaded. Call it at startup and cache the result: the list rarely changes, but fonts are added over time.

Request

curl "https://gateway.apinoa.com/v1/image-translate/supported-fonts" \
  -H "x-api-key: $APINOA_API_KEY"

Parameters

None. Send only your API key in the x-api-key header.

Response

A real response, shortened to four of its 36 languages:

{
  "success": true,
  "requestId": "547bebcbd167416c9d1097bc132e2194",
  "data": {
    "fontsByLanguage": {
      "ko": ["BMHANNAPro", "NotoSansKR", "Pretendard"],
      "zh-CN": ["NotoSansSC"],
      "ja": ["NotoSansKR", "NotoSansSC", "Pretendard"],
      "en": ["Pretendard", "NotoSansKR", "NotoSansSC"]
    },
    "defaultByLanguage": {
      "ko": "BMHANNAPro",
      "zh-CN": "NotoSansSC",
      "ja": "NotoSansKR",
      "en": "Pretendard"
    },
    "allFonts": ["BMHANNAPro", "NotoSansKR", "NotoSansSC", "Pretendard"],
    "allWeights": ["auto", "Thin", "Light", "Regular", "Medium", "SemiBold", "Bold", "ExtraBold", "Black"],
    "supportedSourceLanguages": ["auto", "ch", "zh", "zh-CN", "zh-TW", "chinese_cht", "ja", "japan", "en"],
    "userFonts": []
  }
}
FieldTypeMeaning
fontsByLanguageobjectFor each target language, the fonts that cover it. The first is its default. An empty list means no bundled font covers that script.
defaultByLanguageobjectTarget language → its default font (the first entry of fontsByLanguage).
allFontsstring[]Every value font accepts on Translate.
allWeightsstring[]Every value font_weight accepts on Translate.
supportedSourceLanguagesstring[]Every value source_language accepts on Translate and OCR. auto detects it.
userFontsarrayThe fonts you have uploaded; see Custom Fonts.

Errors

StatusCodeMeaning
401UNAUTHORIZEDThe x-api-key header is missing, or the key is invalid.

Every code is listed in Errors.

Pricing

Free. This call is not billed.

On this page