Get upload URLs
One upload URL per file, in the order of files. Then send each file with PUT uploadUrl, the body is the file itself, exactly size bytes (the size is part of the signature). Files can go in any order and in parallel. Then pass the uploadIds to POST /ext/v1/chapters/from-uploads.
A file that is cut off or crawls costs only that file: abort it and send it again over a new connection, to the same URL while it is valid. If uploadUrl cannot be reached at all (its port is closed in your network), use fallbackUploadUrl.
URLs are valid for 1 hour; files not used by an operation are deleted after 3 hours — for files that did not make it in time, ask for new URLs. Free.
apiKeyAuthorizationBearer <nlk_… (team API key)>application/json- body
files?array<>1 <= items <= 500Upload URLs, in the order of files.
application/json- response
[index: integer]?curl -X POST 'https://api.neurolate.com/ext/v1/uploads' \ -H 'Content-Type: application/json' \ -d '{}'[ { "uploadId": "ef523ba8-509e-47af-8e2c-5fa751596497", "uploadUrl": "string", "fallbackUploadUrl": "string", "expiresAt": "2019-08-24T14:15:22Z" }]Find text color and effects POST
Main text color and effects (stroke, glow, shadow, gradient) of every text block. **Color webtoons only**: on black-and-white manga the results are unreliable, and still charged. Blocks — your `masks`; for an image without masks we find them: on a BLOCK — the text inside it, on a PAGE — OCR blocks where text was read. Billing per block without `error`: `api_styles`. A block we found adds `api_ocr_mask`: 1 on a BLOCK image, 2 on a PAGE. Before the work a hold is charged, after it the actual cost (see Billing).
Цены
Сколько стоит каждая операция API и как она оплачивается.