zf-kbot/manga-translator
Public
11
runs
Run zf-kbot/manga-translator with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| source_lan |
None
|
ja
|
源语言 (自动路由OCR引擎): 'ja'(日), 'ko'(韩), 'zh'(中), 'en'(英), 'fr'(法), 'de'(德)
|
| image |
string
|
上传图片
|
|
| target_lan |
string
|
en
|
目标翻译语言代码 (如: 'en', 'zh-CN', 'ja', 'fr', 'ko')
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"description": "\u4e0a\u4f20\u56fe\u7247"
},
"source_lan": {
"enum": [
"ja",
"ko",
"zh",
"en",
"fr",
"de"
],
"type": "string",
"title": "source_lan",
"description": "\u6e90\u8bed\u8a00 (\u81ea\u52a8\u8def\u7531OCR\u5f15\u64ce): 'ja'(\u65e5), 'ko'(\u97e9), 'zh'(\u4e2d), 'en'(\u82f1), 'fr'(\u6cd5), 'de'(\u5fb7)",
"default": "ja",
"x-order": 1
},
"target_lan": {
"type": "string",
"title": "Target Lan",
"default": "en",
"description": "\u76ee\u6807\u7ffb\u8bd1\u8bed\u8a00\u4ee3\u7801 (\u5982: 'en', 'zh-CN', 'ja', 'fr', 'ko')"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}