Pāriet uz saturu

Isaac 0.1

Integrēt

Modeļa id perceptron/isaac-01
# 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/perceptron/isaac-01?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

Šis pieprasījums: ≈0,001 $ 1 API kredīts Izpildīt šajā lapā

Iegūt API atslēgu
Perceptron Datorredze #multimodal#vision

Redzes un valodas modelis, kas atbild par attēlu ar tekstu, rāmjiem, punktiem vai daudzstūriem

Perceptron · Teksts

Šeit būs jūsu pirmais rezultāts

Izveidojiet pieprasījumu tālāk un izpildiet to ar savu API atslēgu. Izvades tiek kopētas mūsu krātuvē un glabātas mūžīgi vai 7 dienas bez maksas.

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts

Attēlam piemērotā uzvedne.

•obligāts image_url
Nometiet failu vai

URL, kas identificē apstrādājamo attēlu.

Papildu response_style
response_style noklusējums text

Izvēlieties attēla atbildes formātu: visi režīmi ietver tekstu, bet box pievieno ierobežojošos taisnstūrus, point pievieno punktus un polygon pievieno daudzstūrus; tikai text atgriež tekstu. Izmantojiet polygon detalizētai segmentēšanai vai box lokalizācijai. Aprakstiem un parakstiem izmantojiet text; daudzu objektu skaitīšanai izmantojiet point.

POST /run/perceptron/isaac-01?wait=20 cena → 0,001 $
# 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/perceptron/isaac-01?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par Isaac 0.1

Pieņem `image_url` un `prompt` un atgriež atbildi formātā, ko nosaka `response_style`. Teksts piemērots parakstiem un aprakstiem, bet rāmju, punktu un daudzstūru stili pievieno lokalizācijas izvadi. Rezultātā ir ģenerētā izvade, daļējas izvades karodziņš, kļūdas ziņojums, ja tāds ir, un lietojuma informācija.

Parametri

Nosūti vai nu kanonisko nosaukumu, vai vietējo nosaukumu, bet ne abus. Kan啤niskie nosaukumi

NosaukumsTips NoklusējumsAtļauts Apraksts
image_urlobligāts image
Tipsurl · image
URL, kas identificē apstrādājamo attēlu.
promptobligāts
Tipsstring
Attēlam piemērotā uzvedne.
response_styleneobligāts
Tipsenum
Noklusējumstext
textboxpointpolygon
Izvēlieties attēla atbildes formātu: visi režīmi ietver tekstu, bet box pievieno ierobežojošos taisnstūrus, point pievieno punktus un polygon pievieno daudzstūrus; tikai text atgriež tekstu. Izmantojiet polygon detalizētai segmentēšanai vai box lokalizācijai. Aprakstiem un parakstiem izmantojiet text; daudzu objektu skaitīšanai izmantojiet point.
obligāts Kan啤niskais nosaukums, arī pieņemts

Failu parametriem nepieciešams publisks https:// URL, data: URI līdz 10 MB vai augšupielādes file_url. Faili

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "perceptron/isaac-01",
  "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": 1,
    "usd": "0.001",
    "charged": 1,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "output": "To determine which car is trying to park into the garage, we need to carefully observe the positions and movements of the vehicles in the image.\n\n1. **Identify the Vehicles**: \n   - There are three vehicles visible: a green truck, an orange car, and a brown car.\n   - The green truck is positioned in front of the garage entrance.\n   - The orange car is parked to the left of the green truck.\n   - The brown car is parked to the right of the green truck.\n\n2. **Analyze the Positions**:\n   - The green truck is directly in front of the garage entrance, suggesting it is in the process of moving towards the entrance.\n   - The orange car is parked parallel to the garage but is not in the path of the green truck.\n   - The brown car is also parked parallel to the garage but is not in the path of the green truck.\n\n3. **Determine the Action**:\n   - Given the position of the green truck directly in front of the garage entrance, it is most likely that the green truck is trying to park into the garage.\n   - The orange and brown cars are already parked and do not appear to be in motion or attempting to park.\n\nTherefore, the car that is trying to park into the garage is the green truck.",
    "partial": false,
    "error": "string",
    "usage": {
      "completion_tokens": 1,
      "prompt_tokens": 1,
      "total_tokens": 1
    }
  },
  "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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
output
stringModeļa izveidotais rezultāts.
partial
booleanNorāda, vai izvade ir nepilnīga.
error
string | nullZiņojums, kurā aprakstīta kļūda, ja tāda radusies.
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullLietojuma informācija.

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/perceptron/isaac-01.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt