ข้ามไปยังเนื้อหา

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"

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ 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 จะเพิ่มกรอบล้อมรอบ, point จะเพิ่มจุด และ polygon จะเพิ่มรูปหลายเหลี่ยม ส่วน text เพียงอย่างเดียวจะแสดงเฉพาะข้อความ ใช้ polygon สำหรับการแบ่งส่วนอย่างละเอียด หรือใช้ box เพื่อระบุตำแหน่ง สำหรับคำอธิบายและคำบรรยายให้ใช้ text และสำหรับการนับวัตถุจำนวนมากให้ใช้ point
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

พารามิเตอร์ไฟล์รับ URL https:// สาธารณะ, 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/th/developers/models/perceptron/isaac-01.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt