Peke ki ngā ihirangi

Isaac 0.1

Whakauru

id tauira 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"

Tēnei tono: ≈$ 0.001 1 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Perceptron Matakite #multimodal#vision

He tauira reo-kanohi e whakautu ana mō tētahi whakaahua hei kuputuhi, pouaka, ira, polygon rānei

Perceptron · Kuputuhi

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Tohutohu i whakamahia ki te atahanga.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL e tautuhi ana i te atahanga mō te tukatuka.

Arā atu response_style
response_style taunoa text

Kōwhiria te hōputu whakautu atahanga: kei roto i ngā aratau katoa he tuhinga, ā, ka tāpirihia e box ngā pouaka here, e point ngā ira, e polygon ngā taparau; ko text anake ka whakahoki tuhinga anake. Whakamahia polygon mō te wehewehenga taipitopito, box rānei mō te kimi wāhi. Mō ngā whakaahuatanga me ngā tapanga, whakamahia text; mō te tatau i ngā mea maha, whakamahia point.

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Isaac 0.1

Ka whiwhi i tētahi `image_url` me tētahi `prompt`, ā, ka whakahoki whakautu i te hōputu kua whakaritea e `response_style`. He pai te kuputuhi mō ngā tapanga me ngā whakaahuatanga, ko ngā momo box, point me polygon ka tāpiri putanga tauwāhi. Kei roto i te hua te putanga i hangaia, he haki putanga-wāhanga, he karere hapa mēnā kei reira, me ngā pārongo whakamahinga.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urle hiahiatia ana image
Momourl · image
URL e tautuhi ana i te atahanga mō te tukatuka.
prompte hiahiatia ana
Momostring
Tohutohu i whakamahia ki te atahanga.
response_stylekōwhiringa
Momoenum
Taunoatext
textboxpointpolygon
Kōwhiria te hōputu whakautu atahanga: kei roto i ngā aratau katoa he tuhinga, ā, ka tāpirihia e box ngā pouaka here, e point ngā ira, e polygon ngā taparau; ko text anake ka whakahoki tuhinga anake. Whakamahia polygon mō te wehewehenga taipitopito, box rānei mō te kimi wāhi. Mō ngā whakaahuatanga me ngā tapanga, whakamahia text; mō te tatau i ngā mea maha, whakamahia point.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
output
stringHua nā te tauira i whakaputa.
partial
booleanKa tohu mēnā kāore i oti te putanga.
error
string | nullTe karere e whakaahua ana i tētahi hapa, mēnā i puta.
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullNgā taipitopito whakamahinga.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/perceptron/isaac-01.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt