- #0"auto"
- #1"left"
- #2"center"
- #3"right"
0.1.0
OAS 3.1
Name | Description |
---|---|
X-Nonce * string (header) |
{
"ip": "string",
"port": 0,
"busy": false
}
Code | Description | Links |
200 | no response Media typeControls Accept header.
| No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | json strucure inspired by the ichigo translator extension Media typeControls Accept header.
| No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | custom byte structure for decoding look at examples in 'examples/response.*' | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | the result image | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | json strucure inspired by the ichigo translator extension Media typeControls Accept header.
| No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | custom byte structure for decoding look at examples in 'examples/response.*' | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | the result image | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
Code | Description | Links |
200 | Successful Response Media typeControls Accept header.
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | json strucure inspired by the ichigo translator extension Media typeControls Accept header.
| No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | custom byte structure for decoding look at examples in 'examples/response.*' | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | the result image | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
{
"image": "string",
"config": {
"render": {
"alignment": "auto",
"direction": "auto",
"disable_font_border": false,
"font_size_minimum": -1,
"font_size_offset": 0,
"gimp_font": "Sans-serif",
"lowercase": false,
"no_hyphenation": false,
"renderer": "default",
"uppercase": false
},
"upscale": {
"revert_upscaling": false,
"upscaler": "esrgan"
},
"translator": {
"no_text_lang_skip": false,
"target_lang": "ENG",
"translator": "sugoi"
},
"detector": {
"box_threshold": 0.7,
"det_auto_rotate": false,
"det_gamma_correct": false,
"det_invert": false,
"det_rotate": false,
"detection_size": 2048,
"detector": "default",
"text_threshold": 0.5,
"unclip_ratio": 2.3
},
"colorizer": {
"colorization_size": 576,
"colorizer": "none",
"denoise_sigma": 30
},
"inpainter": {
"inpainter": "lama_large",
"inpainting_precision": "bf16",
"inpainting_size": 2048
},
"ocr": {
"ignore_bubble": 0,
"min_text_length": 0,
"ocr": "48px",
"use_mocr_merge": false
},
"kernel_size": 3,
"mask_dilation_offset": 0
}
}
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
Code | Description | Links |
200 | Successful Response Media typeControls Accept header.
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | json strucure inspired by the ichigo translator extension Media typeControls Accept header.
| No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | custom byte structure for decoding look at examples in 'examples/response.*' | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | the result image | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
image * string($binary) | |
config string |
Code | Description | Links |
200 | A stream over elements with strucure(1byte status, 4 byte size, n byte data) status code are 0,1,2,3,4 0 is result data, 1 is progress report, 2 is error, 3 is waiting queue position, 4 is waiting for translator instance | No links |
422 | Validation Error Media type
| No links |
No parameters
Code | Description | Links |
200 | Successful Response Media typeControls Accept header.
| No links |
No parameters
Code | Description | Links |
200 | Successful Response Media typeControls Accept header.
| No links |
This request can be a multipart or a json request
Background image encoded as a base64 string
Background image encoded as a base64 string