שפּרינגען צו אינהאַלט

Isaac 0.1

אינטעגרירן

מאָדעל־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"

דער דאָזיקער ריקוועסט: ≈⁨$ 0.001⁩ 1 API־קרעדיט לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Perceptron וויזיע #multimodal#vision

וויזיע־שפּראַך־מאָדעל וואָס ענטפֿערט וועגן אַ בילד ווי טעקסט, קעסטלעך, פּונקטן אָדער פּאָליגאָנען

Perceptron · טעקסט

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט

פּראָמפּט געווענדט צום בילד.

•פארלאנגט image_url
לייגט אַרײַן אַ טעקע, אָדער

URL וואָס אידענטיפֿיצירט דאָס בילד פֿאַר פּראַסעסינג.

פֿאָרגעשריטן response_style
response_style סטאַנדאַרט text

קלײַבט דעם בילד־רעאַקציע־פֿאָרמאַט: אַלע מאָדעס אַנטהאַלטן טעקסט, מיט box וואָס צוגעבט באַונדינג־קעסטלעך, point וואָס צוגעבט פּונקטן, און polygon וואָס צוגעבט פּאָליגאָנען; text אַליין גיט צוריק בלויז טעקסט. ניצט polygon פֿאַר פּינקטלעכער סעגמענטאַציע אָדער box פֿאַר לאָקאַליזאַציע. פֿאַר באַשרײַבונגען און קאַפּשאַנינג, ניצט text; פֿאַר ציילן אַ סך אָביעקטן, ניצט point.

POST /run/perceptron/isaac-01?wait=20 פּרײַז → ⁨$ 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"

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Isaac 0.1

נעמט אַן `image_url` און אַ `prompt` און גיט צוריק אַן ענטפֿער אין דעם פֿאָרמאַט באַשטימט דורך `response_style`. טעקסט פּאַסט פֿאַר קאַפּשאַנז און באַשרײַבונגען, בשעת box, point און polygon סטילן לייגן צו לאָקאַליזאַציע־רעזולטאַטן. דער רעזולטאַט אַנטהאַלט דעם גענערירטן רעזולטאַט, אַ partial-output פֿאָן, אַן טעות־מעלדונג אויב ס׳איזאָ, און באַניץ־אינפֿאָרמאַציע.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
image_urlפארלאנגט image
טיפּurl · image
URL וואָס אידענטיפֿיצירט דאָס בילד פֿאַר פּראַסעסינג.
promptפארלאנגט
טיפּstring
פּראָמפּט געווענדט צום בילד.
response_styleאָפּציאָנעל
טיפּenum
סטאַנדאַרטtext
textboxpointpolygon
קלײַבט דעם בילד־רעאַקציע־פֿאָרמאַט: אַלע מאָדעס אַנטהאַלטן טעקסט, מיט box וואָס צוגעבט באַונדינג־קעסטלעך, point וואָס צוגעבט פּונקטן, און polygon וואָס צוגעבט פּאָליגאָנען; text אַליין גיט צוריק בלויז טעקסט. ניצט polygon פֿאַר פּינקטלעכער סעגמענטאַציע אָדער box פֿאַר לאָקאַליזאַציע. פֿאַר באַשרײַבונגען און קאַפּשאַנינג, ניצט text; פֿאַר ציילן אַ סך אָביעקטן, ניצט point.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

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"
  }
}
אייער טעקעס, אייער ברירהיעדער outputs[].url איז אַ קאַפּיע אין אונדזער סטאָרידזש: געהאַלטן אויף אייביק (באַצאָלט פּער GB־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
output
stringרעזולטאַט געשאַפֿן דורך דעם מאָדעל.
partial
booleanווײַזט צי דער רעזולטאַט איז נישט גאַנץ.
error
string | nullמעסעדזש וואָס באַשרײַבט אַן טעות, אויב איינער איז פֿאָרגעקומען.
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullבאַניץ־דעטאַלן.

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/perceptron/isaac-01.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt