Neidio i'r cynnwys

Isaac 0.1

Integreiddio

ID y model 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"

Y cais hwn: ≈$0.001 1 credyd API Ei redeg ar y dudalen hon

Cael allwedd API
Perceptron Gweledigaeth #multimodal#vision

Model gweledigaeth-iaith sy’n ateb am ddelwedd fel testun, blychau, pwyntiau neu bolygonau

Perceptron · Testun

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Anogiad a gymhwysir i'r ddelwedd.

•gofynnol image_url
Gollyngwch ffeil, neu

URL sy'n nodi'r ddelwedd i'w phrosesu.

Uwch response_style
response_style rhagosodedig text

Dewiswch fformat ymateb y ddelwedd: mae pob modd yn cynnwys testun, gyda box yn ychwanegu blychau terfyn, point yn ychwanegu pwyntiau, a polygon yn ychwanegu polygonau; mae text yn unig yn dychwelyd testun yn unig. Defnyddiwch polygon ar gyfer segmentu manwl neu box ar gyfer lleoleiddio. Ar gyfer disgrifiadau a chapsiynau, defnyddiwch text; ar gyfer cyfrif llawer o wrthrychau, defnyddiwch point.

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

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Isaac 0.1

Yn derbyn `image_url` a `prompt` ac yn dychwelyd ymateb yn y fformat a osodir gan `response_style`. Mae testun yn addas ar gyfer capsiynau a disgrifiadau, tra bod arddulliau box, point a polygon yn ychwanegu allbwn lleoli. Mae’r canlyniad yn cynnwys yr allbwn a gynhyrchwyd, baner allbwn rhannol, neges gwall os oes un, a gwybodaeth am ddefnydd.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
image_urlgofynnol image
Mathurl · image
URL sy'n nodi'r ddelwedd i'w phrosesu.
promptgofynnol
Mathstring
Anogiad a gymhwysir i'r ddelwedd.
response_styledewisol
Mathenum
Rhagosodedigtext
textboxpointpolygon
Dewiswch fformat ymateb y ddelwedd: mae pob modd yn cynnwys testun, gyda box yn ychwanegu blychau terfyn, point yn ychwanegu pwyntiau, a polygon yn ychwanegu polygonau; mae text yn unig yn dychwelyd testun yn unig. Defnyddiwch polygon ar gyfer segmentu manwl neu box ar gyfer lleoleiddio. Ar gyfer disgrifiadau a chapsiynau, defnyddiwch text; ar gyfer cyfrif llawer o wrthrychau, defnyddiwch point.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
output
stringCanlyniad a gynhyrchir gan y model.
partial
booleanYn nodi a yw'r allbwn yn anghyflawn.
error
string | nullNeges sy'n disgrifio gwall, os digwyddodd un.
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullManylion defnydd.

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/perceptron/isaac-01.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt