Léim chuig an ábhar

Isaac 0.1

Comhtháthú

Aitheantas na samhla 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"

An t-iarratas seo: ≈$0.001 1 chreidmheas API Rith ar an leathanach seo

Faigh eochair API
Perceptron Fís #multimodal#vision

Samhail fís-teanga a fhreagraíonn faoi íomhá mar théacs, boscaí, pointí nó pholagáin

Perceptron · Téacs

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach

Leid a chuirtear i bhfeidhm ar an íomhá.

•riachtanach image_url
Scaoil comhad, nó

URL a shainaithníonn an íomhá atá le próiseáil.

Ardleibhéal response_style
response_style réamhshocrú text

Roghnaigh formáid fhreagartha na híomhá: áirítear téacs i ngach mód, agus cuireann box boscaí teorannaithe leis, cuireann point pointí leis, agus cuireann polygon polagáin leis; ní thugann text amháin ach téacs. Úsáid polygon le haghaidh deighilt mhionsonraithe nó box le haghaidh logánaithe. Le haghaidh tuairiscí agus fotheidealaithe, úsáid text; chun go leor réad a chomhaireamh, úsáid point.

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

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Isaac 0.1

Glacann sé le `image_url` agus `prompt` agus filleann sé freagra san fhormáid atá socraithe ag `response_style`. Oireann téacs do fhotheidil agus do thuairiscí, agus cuireann stíleanna box, point agus polygon aschur logánaithe leis. Áirítear sa toradh an t-aschur ginte, bratach aschuir pháirtigh, teachtaireacht earráide más ann agus faisnéis úsáide.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
image_urlriachtanach image
Cineálurl · image
URL a shainaithníonn an íomhá atá le próiseáil.
promptriachtanach
Cineálstring
Leid a chuirtear i bhfeidhm ar an íomhá.
response_styleroghnach
Cineálenum
Réamhshocrútext
textboxpointpolygon
Roghnaigh formáid fhreagartha na híomhá: áirítear téacs i ngach mód, agus cuireann box boscaí teorannaithe leis, cuireann point pointí leis, agus cuireann polygon polagáin leis; ní thugann text amháin ach téacs. Úsáid polygon le haghaidh deighilt mhionsonraithe nó box le haghaidh logánaithe. Le haghaidh tuairiscí agus fotheidealaithe, úsáid text; chun go leor réad a chomhaireamh, úsáid point.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
output
stringToradh a tháirgeann an tsamhail.
partial
booleanLéiríonn sé an bhfuil an t-aschur neamhiomlán.
error
string | nullTeachtaireacht ina gcuirtear síos ar earráid, má tharla ceann.
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullSonraí úsáide.

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/perceptron/isaac-01.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt