உள்ளடக்கத்திற்குச் செல்க

MoonDreamNext Detection

ஒருங்கிணை

மாடல் id moondream-next/detection
# 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/moondream-next/detection?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",
    "task_type": "bbox_detection",
    "detection_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.002 2 API கிரெடிட்கள் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக

ஒரு படத்தில் எல்லைப் பெட்டி, புள்ளி அல்லது பார்வை கண்டறிதலைச் செய்து முடிவை வரைகிறது

Moondream · படம்

உங்கள் முதல் முடிவு இங்கே வரும்

கீழே ஒரு கோரிக்கையை உருவாக்கி, உங்கள் API விசையுடன் இயக்குங்கள். வெளியீடுகள் எங்கள் சேமிப்பகத்தில் நகலெடுக்கப்பட்டு, நிரந்தரமாக அல்லது இலவசமாக 7 நாட்கள் வைக்கப்படும்.

கோரிக்கையை உருவாக்கு

மாடல் ஸ்கீமாவிலிருந்து கட்டுப்பாடுகள் உருவாக்கப்படுகின்றன. அவற்றை மாற்றும்போது குறியீடும் விலையும் புதுப்பிக்கப்படும்.

•தேவை

கண்டறிய வேண்டிய இலக்கை விவரிக்கும் உரை.

•தேவை image_url
கோப்பை விடுங்கள் அல்லது

செயலாக்க வேண்டிய படத்தை அடையாளப்படுத்தும் URL.

task_type •தேவை

இயக்க வேண்டிய கண்டறிதல் பணி.

மேம்பட்டவை use_ensemble · combine_points · show_visualization
POST /run/moondream-next/detection?wait=20 விலை → $0.002
# 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/moondream-next/detection?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",
    "task_type": "bbox_detection",
    "detection_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-க்கு மட்டும் அனுப்பப்படும்; Remember-ஐத் தேர்ந்தெடுத்தால் மட்டுமே (localStorage)-ல் சேமிக்கப்படும். API விசையைப் பெறுங்கள்

MoonDreamNext Detection பற்றி

`task_type`-ஐ bbox_detection, point_detection அல்லது gaze_detection எனத் தேர்ந்தெடுத்து, இலக்கை `detection_prompt`-ல் விவரிக்கவும். gaze detection-க்கு `use_ensemble` மற்றும் point detection-க்கு `combine_points` ஆகிய விருப்பங்கள் உள்ளன. காட்சிப்படுத்தலைக் காட்டும் ஒரு படத்தையும் (`show_visualization` மூலம் மாற்றலாம்), முடிவுகளை உரையாகவும் திருப்பி அளிக்கிறது.

அளவுருக்கள்

நியமப் பெயர் அல்லது நேட்டிவ் பெயர் இரண்டில் ஒன்றை மட்டும் அனுப்பவும். நியமப் பெயர்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
image_urlதேவை image
வகைurl · image
செயலாக்க வேண்டிய படத்தை அடையாளப்படுத்தும் URL.
task_typeதேவை
வகைenum
bbox_detectionpoint_detectiongaze_detection
இயக்க வேண்டிய கண்டறிதல் பணி.
detection_promptதேவை
வகைstring
கண்டறிய வேண்டிய இலக்கை விவரிக்கும் உரை.
use_ensembleவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைfalse
பார்வைத் திசை கண்டறிதலுக்கு ensemble பயன்பாட்டைக் கட்டுப்படுத்தும்.
combine_pointsவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைfalse
புள்ளிக் கண்டறிதல், கண்டறியப்பட்ட புள்ளிகளை ஒரு புள்ளியாக இணைக்க வேண்டுமா என்பதைக் குறிக்கும். இந்த அமைப்பு bbox அல்லது gaze கண்டறிதலைப் பாதிக்காது.
show_visualizationவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைtrue
கண்டறிதல் முடிவுகள் காட்சிப்படுத்தப்பட வேண்டுமா என்பதைக் கட்டுப்படுத்தும்.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

கோப்பு அளவுருக்கள் பொதுவான https:// URL, 10 MB வரையிலான data: URI அல்லது பதிவேற்றத்தின் file_url-ஐ ஏற்கும். கோப்புகள்

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "moondream-next/detection",
  "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": 2,
    "usd": "0.002",
    "charged": 2,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "task_type": "bbox_detection",
    "detection_prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768
    },
    "text_output": "string"
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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-மாதத்திற்கு கட்டணம்) அல்லது உங்கள் கணக்கு அமைப்பு அல்லது ?storage= மூலம் இலவசமாக 7 நாட்கள் வைக்கப்படும்.
ஒவ்வொரு மாடலிலும் ஒரே வடிவம்படங்கள், வீடியோ மற்றும் ஆடியோ ஆகிய அனைத்திற்குமான type, url, content_type, width, height மற்றும் duration. output என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
image
object {url, content_type, file_name, file_size, width, height} | nullகண்டறிதல் முடிவுகளைக் காட்டும் வெளியீட்டுப் படம்.
text_output
stringகண்டறிதல் முடிவுகளின் உரைப் பிரதிநிதித்துவம்.

மேலும் மாதிரிகள்: படத் திருத்தம்

AI ஏஜெண்டுகளுக்கு: இந்தப் பக்கம் Markdown வடிவில் இங்கே உள்ளது https://doitong.com/ta/developers/models/moondream-next/detection.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt