Ruka hadi kwenye maudhui

Isaac 0.1

Unganisha

Kitambulisho cha modeli 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"

Ombi hili: ≈$ 0.001 salio la API 1 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
Perceptron Maono #multimodal#vision

Modeli ya kuona na lugha inayojibu kuhusu picha kama maandishi, visanduku, nukta au poligoni

Perceptron · Maandishi

Tokeo lako la kwanza linaonekana hapa

Unda ombi hapa chini na uliendeshe kwa ufunguo wako wa API. Matokeo yanakiliwa kwenye hifadhi yetu, yakihifadhiwa milele au 7 siku bila malipo.

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

•inahitajika

Kidokezo kilichotumika kwenye picha.

•inahitajika image_url
Dondosha faili, au

URL inayotambulisha picha ya kuchakatwa.

Ya kina response_style
response_style chaguomsingi text

Chagua muundo wa jibu la picha: hali zote zinajumuisha maandishi, huku box ikiongeza visanduku vya mipaka, point ikiongeza pointi, na polygon ikiongeza poligoni; text pekee hurudisha maandishi tu. Tumia polygon kwa segmentation ya kina au box kwa kutambua eneo. Kwa maelezo na captioning, tumia text; kwa kuhesabu vitu vingi, tumia point.

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

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Kuhusu Isaac 0.1

Hupokea `image_url` na `prompt` na kurejesha jibu katika muundo uliowekwa na `response_style`. Maandishi yanafaa kwa maelezo mafupi na maelezo ya picha, huku mitindo ya box, point na polygon ikiongeza matokeo ya ujanibishaji. Matokeo yanajumuisha yaliyotengenezwa, bendera ya partial-output, ujumbe wa hitilafu ikiwa upo, na maelezo ya matumizi.

Vigezo

Tuma jina rasmi au jina asilia, si yote mawili. Majina rasmi

JinaAina ChaguomsingiInaruhusiwa Maelezo
image_urlinahitajika image
Ainaurl · image
URL inayotambulisha picha ya kuchakatwa.
promptinahitajika
Ainastring
Kidokezo kilichotumika kwenye picha.
response_stylesi lazima
Ainaenum
Chaguomsingitext
textboxpointpolygon
Chagua muundo wa jibu la picha: hali zote zinajumuisha maandishi, huku box ikiongeza visanduku vya mipaka, point ikiongeza pointi, na polygon ikiongeza poligoni; text pekee hurudisha maandishi tu. Tumia polygon kwa segmentation ya kina au box kwa kutambua eneo. Kwa maelezo na captioning, tumia text; kwa kuhesabu vitu vingi, tumia point.
inahitajika Jina rasmi, pia linakubalika

Vigezo vya faili vinakubali URL ya umma ya https://, data: URI ya hadi 10 MB, au file_url ya upakiaji. Faili

Tokeo

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"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
output
stringTokeo lililotengenezwa na modeli.
partial
booleanHuonyesha ikiwa tokeo halijakamilika.
error
string | nullUjumbe unaoeleza hitilafu, ikiwa ilitokea.
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullMaelezo ya matumizi.

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/perceptron/isaac-01.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt