مواد پر جائیں

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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست: ≈⁨$0.001⁩ 1 API کریڈٹ · ≈ ⁨₽0.10⁩ اس صفحے پر چلائیں

API کلید حاصل کریں
Perceptron بصارت #multimodal#vision

Vision-language ماڈل جو تصویر کے بارے میں متن، باکسز، نقاط یا کثیر الاضلاع کی صورت میں جواب دیتا ہے

Perceptron · متن

آپ کا پہلا نتیجہ یہاں آئے گا

ذیل میں درخواست بنائیں اور اپنی API کلید کے ساتھ چلائیں۔ آؤٹ پٹس ہمارے اسٹوریج میں کاپی ہو جاتے ہیں، ہمیشہ کے لیے یا مفت میں 7 دن تک محفوظ رہتے ہیں۔

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی

تصویر پر لاگو کیا جانے والا پرامپٹ۔

•لازمی image_url
فائل ڈراپ کریں، یا

پروسیسنگ کے لیے تصویر کی شناخت کرنے والا URL۔

ایڈوانسڈ response_style
response_style ڈیفالٹ text

تصویر کے جواب کا فارمیٹ منتخب کریں: تمام موڈز میں متن شامل ہوتا ہے، box میں bounding boxes، point میں points، اور polygon میں polygons شامل ہوتے ہیں؛ صرف text صرف متن لوٹاتا ہے۔ باریک segmentation کے لیے polygon یا localization کے لیے box استعمال کریں۔ وضاحتوں اور captioning کے لیے 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست چلائیں

آپ کی key اسی براؤزر میں رہتی ہے: یہ صرف Doitong API کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ API کلید حاصل کریں

Isaac 0.1 کے بارے میں

ایک `image_url` اور `prompt` لیتا ہے اور `response_style` میں متعین فارمیٹ میں جواب لوٹاتا ہے۔ متن کیپشنز اور وضاحتوں کے لیے موزوں ہے، جبکہ box، point اور polygon انداز لوکلائزیشن آؤٹ پٹ شامل کرتے ہیں۔ نتیجے میں تخلیق شدہ آؤٹ پٹ، جزوی آؤٹ پٹ فلیگ، کوئی بھی خرابی کا پیغام اور استعمال کی معلومات شامل ہوتی ہیں۔

پیرامیٹرز

معیاری نام یا مقامی نام میں سے صرف ایک بھیجیں، دونوں نہیں۔ معیاری نام

نامقسم ڈیفالٹمجاز تفصیل
image_urlلازمی image
قسمurl · image
پروسیسنگ کے لیے تصویر کی شناخت کرنے والا URL۔
promptلازمی
قسمstring
تصویر پر لاگو کیا جانے والا پرامپٹ۔
response_styleاختیاری
قسمenum
ڈیفالٹtext
textboxpointpolygon
تصویر کے جواب کا فارمیٹ منتخب کریں: تمام موڈز میں متن شامل ہوتا ہے، box میں bounding boxes، point میں points، اور polygon میں polygons شامل ہوتے ہیں؛ صرف text صرف متن لوٹاتا ہے۔ باریک segmentation کے لیے polygon یا localization کے لیے box استعمال کریں۔ وضاحتوں اور captioning کے لیے text، اور بہت سی اشیا گننے کے لیے point استعمال کریں۔
لازمی معیاری نام، یہ بھی قبول ہے

فائل پیرامیٹرز عوامی https:// URL، 10 MB تک کی data: URI، یا اپ لوڈ کے 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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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اگر error واقع ہوئی ہو تو اسے بیان کرنے والا پیغام۔
usage
object {completion_tokens, prompt_tokens, total_tokens} | nullاستعمال کی تفصیلات۔

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/perceptron/isaac-01.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt