---
title: SAM 3D Objects | Runware Docs
url: https://runware.ai/docs/models/meta-sam-3d-objects
description: Single-image 3D reconstruction for objects and scenes
---
# SAM 3D Objects

![SAM 3D Objects](https://assets.runware.ai/covers/meta-sam-3d-objects.jpg)

SAM 3D Objects is a foundation 3D model from Meta that reconstructs full 3D shape geometry, realistic texture, and scene layout of objects from a single RGB image. It produces high-fidelity 3D meshes robustly even in cluttered, occluded real-world scenes, and significantly outperforms prior single-image 3D methods. SAM 3D Objects is part of the broader SAM 3D family, enabling 2D-to-3D reconstruction workflows for visualization, AR/VR, robotics, and digital content creation.

- **Status**: live
- **ID**: `meta:sam@3d`
- Try in Playground
- **Creator**: Meta
- **Release Date**: November 19, 2025
- **Zero Data Retention**: Yes
- **Capabilities**: Image to 3D, Checkpoint

## Pricing

$0.006 from, per run · ~1m 11s per request

**Measured runs**

- 1024×1024 input: `$0.006` (~43s)

**4 example generations**

- [image-to-3d](https://runware.ai/docs/models/meta-sam-3d-objects/examples#example-vampire-squid-exhibit-creature-model): `$0.0051` (~50s)
- [image-to-3d](https://runware.ai/docs/models/meta-sam-3d-objects/examples#example-polar-clinic-set-digital-twin): `$0.0051` (~1m 11s)
- [image-to-3d](https://runware.ai/docs/models/meta-sam-3d-objects/examples#example-stop-motion-laundromat-set-maquette): `$0.0051` (~1m 43s)
- [image-to-3d](https://runware.ai/docs/models/meta-sam-3d-objects/examples#example-demining-detection-rat-vr-model): `$0.009` (~1m 44s)

billed by compute time, so a request costs what it took · times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/meta-sam-3d-objects#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `3dInference`

Identifier for the type of task being performed.

### [taskUUID](https://runware.ai/docs/models/meta-sam-3d-objects#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/meta-sam-3d-objects#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

3D output type.

**Allowed values**: `URL`

### [outputFormat](https://runware.ai/docs/models/meta-sam-3d-objects#request-outputformat)

- **Type**: `string`
- **Default**: `GLB`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`GLB\`: Binary glTF format for 3D models, including geometry, textures, and PBR materials.

**Allowed values**: `GLB`

### [webhookURL](https://runware.ai/docs/models/meta-sam-3d-objects#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/models-api/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/meta-sam-3d-objects#request-deliverymethod)

- **Type**: `string`
- **Default**: `async`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/models-api/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/meta-sam-3d-objects#request-uploadendpoint)

- **Type**: `string`
- **Format**: `uri`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [ttl](https://runware.ai/docs/models/meta-sam-3d-objects#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/meta-sam-3d-objects#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/meta-sam-3d-objects#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `4`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [image](https://runware.ai/docs/models/meta-sam-3d-objects#request-inputs-image)

- **Path**: `inputs.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

### [mask](https://runware.ai/docs/models/meta-sam-3d-objects#request-inputs-mask)

- **Path**: `inputs.mask`
- **Type**: `string`
- **Required**: true

Image used to specify which areas of the input image should be edited (UUID, URL, Data URI, or Base64). White marks the area to edit, black is preserved.

**Learn more** (1 resource):

- [Image Inpainting: Seed And Mask Image The Foundation](https://runware.ai/docs/learn/image-inpainting#seed-and-mask-image-the-foundation) (learn)

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/meta-sam-3d-objects#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `meta:sam@3d`

Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [positivePrompt](https://runware.ai/docs/models/meta-sam-3d-objects#request-positiveprompt)

- **Type**: `string`
- **Required**: true

Text prompt describing elements to include in the generated output.

**Learn more** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

### [seed](https://runware.ai/docs/models/meta-sam-3d-objects#request-seed)

- **Type**: `integer`
- **Min**: `0`
- **Max**: `9223372036854776000`

Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.

**Learn more** (1 resource):

- [Seed](https://runware.ai/docs/learn/seed) (learn)

## Response Parameters

### [taskType](https://runware.ai/docs/models/meta-sam-3d-objects#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `3dInference`

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/meta-sam-3d-objects#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [seed](https://runware.ai/docs/models/meta-sam-3d-objects#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [cost](https://runware.ai/docs/models/meta-sam-3d-objects#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

### [outputs](https://runware.ai/docs/models/meta-sam-3d-objects#response-outputs)

- **Path**: `outputs.files`
- **Type**: `object (3 properties)`
- **Required**: true

Generated output artifacts.

#### [files](https://runware.ai/docs/models/meta-sam-3d-objects#response-outputs-files)

- **Path**: `outputs.files`
- **Type**: `array of objects (2 properties)`
- **Required**: true
- **Min items**: `1`

Generated output files.

##### [uuid](https://runware.ai/docs/models/meta-sam-3d-objects#response-outputs-files-uuid)

- **Path**: `outputs.files.uuid`
- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output file.

##### [url](https://runware.ai/docs/models/meta-sam-3d-objects#response-outputs-files-url)

- **Path**: `outputs.files.url`
- **Type**: `string`
- **Required**: true
- **Format**: `uri`

URL of the output file.

## Examples

### image-to-3d (image-to-3d)

[View 3D model](https://assets.runware.ai/examples/meta-sam-3d-objects/7e349490-d096-43bf-8ed3-b274b6c0800a.glb)

```json
{
  "taskType": "3dInference",
  "taskUUID": "8b676b7f-ae0d-4b57-80a4-536e9907b937",
  "model": "meta:sam@3d",
  "positivePrompt": "Reconstruct the complete vampire squid as a high-fidelity textured 3D creature model, preserving the rounded mantle, paired fins, large eyes, webbed arm crown, curled filament tips, subtle skin folds, suction-cup details, and dark burgundy coloration visible in the reference.",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/3f044502-43bd-465a-8ddf-b6d5f13e9854.jpg",
    "mask": "https://assets.runware.ai/assets/inputs/1f3ca4c0-a1b4-437b-a0d4-f9a18a70178a.png"
  }
}
```

---

### image-to-3d (image-to-3d)

[View 3D model](https://assets.runware.ai/examples/meta-sam-3d-objects/c6632221-b997-4733-be18-61e4af67d2b2.glb)

```json
{
  "taskType": "3dInference",
  "taskUUID": "34969f65-b78e-4e34-9a51-6ecdb04ab96d",
  "model": "meta:sam@3d",
  "positivePrompt": "Reconstruct the complete open-front polar field clinic set maquette as a high-fidelity textured 3D environment asset. Preserve the rectangular insulated shell, exposed aluminum structure, orange pressure door, ceiling ducts, grated floor, examination cot, medical cabinetry, task lighting, equipment alcove, panel seams, vents, hinges, wiring, fasteners, surface wear, and accurate spatial layout.",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/b91911ef-3ba8-4a1b-b352-af92220fd49f.jpg",
    "mask": "https://assets.runware.ai/assets/inputs/eca4acf1-2424-4ee3-875c-f86c75c0cdc2.png"
  }
}
```

---

### image-to-3d (image-to-3d)

[View 3D model](https://assets.runware.ai/examples/meta-sam-3d-objects/7e46478d-6ca4-4baa-ae7b-926554ea314a.glb)

```json
{
  "taskType": "3dInference",
  "taskUUID": "886a7c32-bf79-470d-82b6-17ed8205206a",
  "model": "meta:sam@3d",
  "positivePrompt": "Reconstruct the complete open-front 1:12 scale stop-motion laundromat set maquette as a high-fidelity textured 3D asset. Preserve the room shell, checkerboard floor, tiled walls, six front-loading washing machines, three stacked dryers, orange molded chairs, folding tables, change-machine cabinet, exposed ventilation ducts, fluorescent fixtures, miniature construction seams, beveled edges, painted surfaces, and subtle production wear. Maintain the exact proportions, spatial layout, material colors, and handcrafted character of the physical maquette.",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/86ad81ba-cef8-4ab8-a0bf-12ec5b672ae2.jpg",
    "mask": "https://assets.runware.ai/assets/inputs/03b13d37-192b-4ba9-9f5a-a3049117c423.png"
  }
}
```

---

### image-to-3d (image-to-3d)

[View 3D model](https://assets.runware.ai/examples/meta-sam-3d-objects/eb86a240-9483-4122-bb91-1cf09081a7e0.glb)

```json
{
  "taskType": "3dInference",
  "taskUUID": "dce63b25-8aba-4715-91d3-af6af3c3303c",
  "model": "meta:sam@3d",
  "positivePrompt": "Reconstruct the single African giant pouched rat as a complete, high-fidelity 3D creature model, preserving its alert standing pose, anatomical proportions, long tapered tail, articulated paws, rounded ears, whiskers, layered brown-and-cream fur coloration, and the fitted burnt-orange detection harness with distinct straps, buckles, seams, and attachment points.",
  "seed": 18472963,
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/7a286e21-f33a-4af4-aef3-bdcad74d35df.jpg",
    "mask": "https://assets.runware.ai/assets/inputs/faa436c9-bbe0-43b8-95b5-f48d3e345ecc.png"
  }
}
```