Aqbeż għall-kontenut

Isaac 0.1

Integra

Id tal-mudell 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"

Din it-talba: ≈$0.001 1 kreditu tal-API Ħaddmu f’din il-paġna

Ikseb ċavetta API
Perceptron Viżjoni #multimodal#vision

Mudell vision-language li jwieġeb dwar immaġni bħala test, boxes, punti jew poligoni

Perceptron · Test

L-ewwel riżultat tiegħek jidher hawn

Ibni talba hawn taħt u ħaddimha biċ-ċavetta API tiegħek. L-outputs jiġu kkupjati fil-ħażna tagħna, miżmuma għal dejjem jew 7 ijiem b’xejn.

Ibni talba

Il-kontrolli jiġu ġġenerati mill-iskema tal-mudell. Il-kodiċi u l-prezz jaġġornaw hekk kif tibdilhom.

•meħtieġ

Prompt applikat għall-immaġni.

•meħtieġ image_url
Waqqa’ fajl, jew

URL li jidentifika l-immaġni għall-ipproċessar.

Avvanzat response_style
response_style prestabbilit text

Agħżel il-format tar-rispons tal-immaġni: il-modi kollha jinkludu test, b’box iżżid kaxxi delimitaturi, point iżżid punti, u polygon iżżid poligoni; text waħdu jirritorna biss it-test. Uża polygon għal segmentazzjoni dettaljata jew box għal lokalizzazzjoni. Għad-deskrizzjonijiet u l-captioning, uża text; għall-għadd ta’ ħafna oġġetti, uża point.

POST /run/perceptron/isaac-01?wait=20 kwotazzjoni → $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"

Ħaddem din it-talba

Iċ-ċavetta tiegħek tibqa’ f’dan il-browser: tintbagħat biss lid-Doitong API u tiġi ssejvjata (localStorage) biss jekk timmarka Ftakar. Ikseb ċavetta API

Dwar Isaac 0.1

Jieħu `image_url` u `prompt` u jirritorna tweġiba fil-format stabbilit minn `response_style`. It-test huwa adattat għal deskrizzjoni u deskrizzjonijiet, filwaqt li l-istili box, point u polygon iżidu output ta’ lokalizzazzjoni. Ir-riżultat jinkludi l-output iġġenerat, flag ta’ output parzjali, messaġġ ta’ żball jekk ikun hemm, u informazzjoni dwar l-użu.

Parametri

Ibgħat jew l-isem kanoniku jew l-isem nattiv, mhux it-tnejn. Ismijiet kanoniċi

IsemTip PrestabbilitPermess Deskrizzjoni
image_urlmeħtieġ image
Tipurl · image
URL li jidentifika l-immaġni għall-ipproċessar.
promptmeħtieġ
Tipstring
Prompt applikat għall-immaġni.
response_stylemhux obbligatorju
Tipenum
Prestabbilittext
textboxpointpolygon
Agħżel il-format tar-rispons tal-immaġni: il-modi kollha jinkludu test, b’box iżżid kaxxi delimitaturi, point iżżid punti, u polygon iżżid poligoni; text waħdu jirritorna biss it-test. Uża polygon għal segmentazzjoni dettaljata jew box għal lokalizzazzjoni. Għad-deskrizzjonijiet u l-captioning, uża text; għall-għadd ta’ ħafna oġġetti, uża point.
meħtieġ Isem kanoniku, aċċettat ukoll

Il-parametri tal-fajls jaċċettaw URL pubbliku https://, URI data: sa 10 MB, jew file_url ta’ upload. Fajls

Output

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"
  }
}
Il-fajls tiegħek, l-għażla tiegħekKull outputs[].url huwa kopja fil-ħażna tagħna: miżmuma għal dejjem (imħallsa għal kull GB-xahar) jew 7 ijiem b’xejn, skont l-issettjar tal-kont tiegħek jew ?storage=.
L-istess struttura fuq kull mudelltype, url, content_type, width, height u duration, kemm għall-immaġnijiet kif ukoll għall-vidjo u l-awdjo. output huwa l-oġġett tar-riżultat tal-mudell innifsu.
Oqsma tal-output
output
stringRiżultat prodott mill-mudell.
partial
booleanJindika jekk l-output huwiex inkomplet.
error
string | nullMessaġġ li jiddeskrivi żball, jekk seħħ.
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullDettalji dwar l-użu.

Għall-aġenti tal-AI: din il-paġna bħala Markdown tinsab fuq https://doitong.com/mt/developers/models/perceptron/isaac-01.md. Il-mudelli u l-gwidi kollha: https://doitong.com/developers/llms.txt