# Meta SAM 3 3D Objects API

> Sam 3 3d Objects by Meta - convert 2D images into 3D models with AI. Generate textured 3D assets from single photos for games, AR/VR, e-commerce, and digital content creation.

Source: https://www.sandbase.ai/models/meta/sam-3/3d-objects
API reference: https://www.sandbase.ai/models/meta/sam-3/3d-objects/docs

## Facts

- Provider: Meta
- Type: Image model
- Model ID: `meta/sam-3/3d-objects`
- Price: From $0.02 per run
- Capabilities: image to 3d
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "meta/sam-3/3d-objects",
  "image": "https://static.sandbase.ai/examples/meta/sam-3/3d-objects/input_image_0.jpeg",
  "prompt": "car",
  "box_prompts": [],
  "point_prompts": [],
  "export_textured_glb": false
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Meta SAM 3 3D Objects through SandBase?

Create a SandBase API key, then send requests with the model ID "meta/sam-3/3d-objects" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Meta account?

No. One SandBase API key and balance gives you access to Meta SAM 3 3D Objects and the other models in the catalog; you do not need to sign up with Meta separately.

## README

### SAM 3 3D Objects

SAM 3D Objects reconstructs a segmented object from a single image as a 3D model.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | `car` | What to reconstruct. |
| `image` | image URL, required | — | Image containing the object. JPEG, PNG, or WebP URL. |
| `point_prompts` | object[] | `[]` | Point prompts for auto-segmentation when no masks provided |
| `detection_threshold` | number 0.1–1 | — | Detection confidence threshold (0.1-1.0). |
| `box_prompts` | object[] | `[]` | Box prompts for auto-segmentation when no masks provided. |
| `pointmap_url` | string | — | Optional URL to external pointmap/depth data (NPY or NPZ format) for improved 3D reconstruction depth estimation |
| `export_textured_glb` | boolean | false | Export a textured GLB. |
| `mask_urls` | image URL[] | — | Optional list of mask URLs (one per object). |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

$0.024 per object.

| Request | Price |
|---|---|
| One object | $0.024 |

Failed runs are not charged.

#### Also on SandBase

Related: `meta/sam-3/image`.
