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

Sam 3 · 3D Align

ஒருங்கிணை

மாடல் id sam-3/3d-align
# 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/sam-3/3d-align?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",
    "body_mesh_url": "https://example.com/your-file.glb"
  }'

# 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.02 20 API கிரெடிட்கள் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக
Meta 3D #align#3d

மூலப் புகைப்படத்தின் காட்சியுடன் SAM 3D உடல் வலைப்பின்னலைச் சீரமைத்து, விருப்பமாக பொருள் வலைப்பின்னலுடன் இணைக்கிறது

Meta · 3D

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

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

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

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

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

MoGe மூலம் ஆழ மதிப்பீட்டுக்கான மூலப் பட URL.

•தேவை

சீரமைப்புக்கான Mesh URL; .ply அல்லது .glb வடிவிலான SAM-3D Body கோப்பை ஏற்கும்.

மேம்பட்டவை body_mask_url · object_mesh_url · focal_length
கோப்பை விடுங்கள் அல்லது

மனித முகமூடிப் பட URL; இதை விடுத்தால் முழுப் படமும் பயன்படுத்தப்படும்.

ஒருங்கிணைந்த காட்சியை உருவாக்கப் பயன்படுத்தப்படும் SAM-3D Object-க்கான விருப்ப Mesh URL, .glb வடிவில்.

SAM-3D Body மெட்டாடேட்டாவிலிருந்து பெறப்படும் குவிய நீள மாற்றீடு; மதிப்பு வழங்கப்படாவிட்டால் MoGe மதிப்பீடு பயன்படுத்தப்படும்.

POST /run/sam-3/3d-align?wait=20 விலை → $0.02
# 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/sam-3/3d-align?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",
    "body_mesh_url": "https://example.com/your-file.glb"
  }'

# 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 விசையைப் பெறுங்கள்

Sam 3 · 3D Align பற்றி

`image_url`-இலிருந்து ஆழ மதிப்பீட்டைப் பயன்படுத்தி, மனித உடல் வலைப்பின்னலை (.ply அல்லது .glb) அசல் புகைப்படத்தின் ஒருங்கிணைப்பு இடத்தில் வைக்கிறது. விருப்ப உள்ளீடுகள் மனித மறைப்பு, குவியநீள மதிப்பு மற்றும் ஒருங்கிணைந்த காட்சிக் கோப்பை உருவாக்கும் பொருள் வலைப்பின்னல் (.glb) ஆகியவை. வெளியீடுகளில் PLY மற்றும் GLB வடிவிலான சீரமைக்கப்பட்ட வலைப்பின்னல்கள், சீரமைப்பு மெட்டாடேட்டா மற்றும் மேலடுக்குக் காட்சிப்படுத்தல் ஆகியவை அடங்கும்.

அளவுருக்கள்

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

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
image_urlதேவை image
வகைurl · image
MoGe மூலம் ஆழ மதிப்பீட்டுக்கான மூலப் பட URL.
body_mesh_urlதேவை
வகைstring
சீரமைப்புக்கான Mesh URL; .ply அல்லது .glb வடிவிலான SAM-3D Body கோப்பை ஏற்கும்.
body_mask_urlவிருப்பத்தேர்வு
வகைurl · image
மனித முகமூடிப் பட URL; இதை விடுத்தால் முழுப் படமும் பயன்படுத்தப்படும்.
object_mesh_urlவிருப்பத்தேர்வு
வகைstring | null
ஒருங்கிணைந்த காட்சியை உருவாக்கப் பயன்படுத்தப்படும் SAM-3D Object-க்கான விருப்ப Mesh URL, .glb வடிவில்.
focal_lengthவிருப்பத்தேர்வு
வகைnumber | null
SAM-3D Body மெட்டாடேட்டாவிலிருந்து பெறப்படும் குவிய நீள மாற்றீடு; மதிப்பு வழங்கப்படாவிட்டால் MoGe மதிப்பீடு பயன்படுத்தப்படும்.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

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

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "sam-3/3d-align",
  "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": 20,
    "usd": "0.02",
    "charged": 20,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "body_mesh_url": "https://example.com/your-file.glb"
  },
  "output": {
    "body_mesh_ply": {
      "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
    },
    "model_glb": {
      "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
    },
    "visualization": {
      "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
    },
    "metadata": {
      "person_id": 1,
      "scale_factor": 1.0,
      "translation": [
        1.0
      ],
      "focal_length": 1.0,
      "target_points_count": 1,
      "cropped_vertices_count": 1
    },
    "scene_glb": {
      "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
    }
  },
  "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-மாதத்திற்கு கட்டணம்) அல்லது உங்கள் கணக்கு அமைப்பு அல்லது ?storage= மூலம் இலவசமாக 7 நாட்கள் வைக்கப்படும்.
ஒவ்வொரு மாடலிலும் ஒரே வடிவம்படங்கள், வீடியோ மற்றும் ஆடியோ ஆகிய அனைத்திற்குமான type, url, content_type, width, height மற்றும் duration. output என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
body_mesh_ply
object {url, content_type, file_name, file_size}சீரமைக்கப்பட்ட உடல் Mesh கொண்ட PLY கோப்பு.
model_glb
object {url, content_type, file_name, file_size}3D முன்னோட்டத்திற்கான சீரமைக்கப்பட்ட உடல் Mesh கொண்ட GLB கோப்பு.
visualization
object {url, content_type, file_name, file_size}சீரமைக்கப்பட்ட Mesh மேலிடப்பட்ட உள்ளீட்டுப் படக் காட்சிப்படுத்தல்.
metadata
object {person_id, scale_factor, translation, focal_length, target_points_count, cropped_vertices_count}அளவு மற்றும் இடமாற்றம் போன்ற சீரமைப்பு விவரங்கள்.
scene_glb
object {url, content_type, file_name, file_size} | nullobject_mesh_url வழங்கப்பட்டால் மட்டுமே கிடைக்கும் GLB வெளியீடு; ஒரே காட்சியில் உடல் மற்றும் பொருள் Mesh இரண்டையும் ஒன்றாகக் கொண்டிருக்கும்.

மேலும் மாதிரிகள்: 3D

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