Dža ko lil

GOT OCR 2.0

Integriruj

Modelosko id got-ocr/v2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/got-ocr/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: ≈$0.05 50 API krediti Phir les kate

Lel API klidin
StepFun Dikhipen #optical-character-recognition#high-res#utility

OCR modelo savo ginel tekstos andar jekh vaj but fotografijengo URL, opcionalne formatirime rezultatosaha thaj bute-paginengo jekhipnasa

StepFun · Dada (JSON)

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

Lučhe input_image_urls · do_format · multi_page
standardno []
Čhiv jekh fajl, vaj

URL-ura savo sikaven kipa.

POST /run/got-ocr/v2?wait=20 hesab → $0.05
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/got-ocr/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal GOT OCR 2.0

Ekstrakcinel tekstos andar fotografije dine sar lista ande `input_image_urls`. Šaj kerel dokumentosko tekstos, scenako tekstos, tabele, grafikona, formule thaj aver specijalizirime kontent. Aktivi `do_format` formatirime rezultatoske, thaj `multi_page` te jekhinel savore dine fotografije ande jekh rezultato. Anel lista rezultatoske.

Parametra

NavTip standardnoMuklo Vakeripe
input_image_urlsopcionalno
Tipurl[] · image
standardno[]
URL-ura savo sikaven kipa.
do_formatopcionalno
Tipboolean
standardnofalse
Te kerel pes formatime rezultato.
multi_pageopcionalno
Tipboolean
standardnofalse
Te phandel pes le dinde kipa ande jekh rezultato.
trubul

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "got-ocr/v2",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 50,
    "usd": "0.05",
    "charged": 50,
    "refunded": 0
  },
  "input": {},
  "output": {
    "outputs": [
      "string"
    ]
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
outputs
array of stringRezultato kerdo le modelostar.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/got-ocr/v2.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt