SAM 3D Objects

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.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples9
CODE
Ready-to-use code snippets for common workflows
Vampire Squid Exhibit Creature Model
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run 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 \
inputs.mask=https://assets.runware.ai/assets/inputs/1f3ca4c0-a1b4-437b-a0d4-f9a18a70178a.png{
"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"
}
}{
"taskType": "3dInference",
"taskUUID": "8b676b7f-ae0d-4b57-80a4-536e9907b937",
"seed": 1570436542,
"cost": 0.0051,
"outputs": {
"files": [
{
"uuid": "b9610eb8-1734-4d16-b6e1-4aa5aee6b2b8",
"url": "https://im.runware.ai/image/os/a03d21/ws/5/ii/b9610eb8-1734-4d16-b6e1-4aa5aee6b2b8.glb"
}
]
}
}Stop-Motion Laundromat Set Maquette
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run 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 \
inputs.mask=https://assets.runware.ai/assets/inputs/03b13d37-192b-4ba9-9f5a-a3049117c423.png{
"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"
}
}{
"taskType": "3dInference",
"taskUUID": "886a7c32-bf79-470d-82b6-17ed8205206a",
"seed": 1982397705,
"cost": 0.0051,
"outputs": {
"files": [
{
"uuid": "0c6ca934-5607-498d-b2bd-cc56969270b8",
"url": "https://im.runware.ai/image/os/a03d21/ws/5/ii/0c6ca934-5607-498d-b2bd-cc56969270b8.glb"
}
]
}
}Polar Clinic Set Digital Twin
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run 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 \
inputs.mask=https://assets.runware.ai/assets/inputs/eca4acf1-2424-4ee3-875c-f86c75c0cdc2.png{
"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"
}
}{
"taskType": "3dInference",
"taskUUID": "34969f65-b78e-4e34-9a51-6ecdb04ab96d",
"seed": 88122673,
"cost": 0.0051,
"outputs": {
"files": [
{
"uuid": "f6bbd7c8-3322-4256-86a7-752323a84cc5",
"url": "https://im.runware.ai/image/os/a06dlim3/ws/5/ii/f6bbd7c8-3322-4256-86a7-752323a84cc5.glb"
}
]
}
}Demining Detection Rat VR Model
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run 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 \
inputs.mask=https://assets.runware.ai/assets/inputs/faa436c9-bbe0-43b8-95b5-f48d3e345ecc.png{
"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"
}
}{
"taskType": "3dInference",
"taskUUID": "dce63b25-8aba-4715-91d3-af6af3c3303c",
"seed": 18472963,
"cost": 0.009,
"outputs": {
"files": [
{
"uuid": "63d7e3f3-b4c0-496d-bce3-9594497e5d60",
"url": "https://im.runware.ai/image/os/a05d22/ws/5/ii/63d7e3f3-b4c0-496d-bce3-9594497e5d60.glb"
}
]
}
}Cluttered Workshop Toy Robot
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'meta:sam@3d',
positivePrompt: 'Reconstruct a high-fidelity 3D mesh of the toy robot from the provided RGB image, preserving dented tin surfaces, painted facial details, small screws, boxy limbs, and believable thickness where parts are partially hidden by surrounding tools.',
seed: 90625,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/5dc78892-3d96-4a0a-a91f-36f5d4c09271.jpg',
mask: 'https://assets.runware.ai/assets/inputs/64fc9d20-f4f6-44a3-9473-4827f3797479.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D mesh of the toy robot from the provided RGB image, preserving dented tin surfaces, painted facial details, small screws, boxy limbs, and believable thickness where parts are partially hidden by surrounding tools.",
"seed": 90625,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/5dc78892-3d96-4a0a-a91f-36f5d4c09271.jpg",
"mask": "https://assets.runware.ai/assets/inputs/64fc9d20-f4f6-44a3-9473-4827f3797479.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "3dInference",
"taskUUID": "0bfd1f7c-213a-4cc4-b44d-ce9eace8e1c3",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D mesh of the toy robot from the provided RGB image, preserving dented tin surfaces, painted facial details, small screws, boxy limbs, and believable thickness where parts are partially hidden by surrounding tools.",
"seed": 90625,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/5dc78892-3d96-4a0a-a91f-36f5d4c09271.jpg",
"mask": "https://assets.runware.ai/assets/inputs/64fc9d20-f4f6-44a3-9473-4827f3797479.jpg"
}
}
]'runware run meta:sam@3d \
positivePrompt="Reconstruct a high-fidelity 3D mesh of the toy robot from the provided RGB image, preserving dented tin surfaces, painted facial details, small screws, boxy limbs, and believable thickness where parts are partially hidden by surrounding tools." \
seed=90625 \
inputs.image=https://assets.runware.ai/assets/inputs/5dc78892-3d96-4a0a-a91f-36f5d4c09271.jpg \
inputs.mask=https://assets.runware.ai/assets/inputs/64fc9d20-f4f6-44a3-9473-4827f3797479.jpg{
"taskType": "3dInference",
"taskUUID": "0bfd1f7c-213a-4cc4-b44d-ce9eace8e1c3",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D mesh of the toy robot from the provided RGB image, preserving dented tin surfaces, painted facial details, small screws, boxy limbs, and believable thickness where parts are partially hidden by surrounding tools.",
"seed": 90625,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/5dc78892-3d96-4a0a-a91f-36f5d4c09271.jpg",
"mask": "https://assets.runware.ai/assets/inputs/64fc9d20-f4f6-44a3-9473-4827f3797479.jpg"
}
}{
"taskType": "3dInference",
"taskUUID": "0bfd1f7c-213a-4cc4-b44d-ce9eace8e1c3",
"seed": 90625,
"cost": 0.0038,
"outputs": {
"files": [
{
"uuid": "4a01c929-ccd1-4d15-85c8-1df84d198a20",
"url": "https://im.runware.ai/image/os/a02d21/ws/4/ii/4a01c929-ccd1-4d15-85c8-1df84d198a20.glb"
}
]
}
}Ceramic Koi Incense Burner
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'meta:sam@3d',
positivePrompt: 'Reconstruct a high-fidelity 3D model of a ceramic koi-shaped incense burner with glossy crackle glaze, perforated body vents, curved fins, and detailed surface texture from a single product-style image.',
seed: 11641,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/a2fb0c84-c87b-4d2a-a8c6-9a57bbfbea04.jpg',
mask: 'https://assets.runware.ai/assets/inputs/19663f0e-0ae1-4e0a-90d1-73e3e827c73f.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D model of a ceramic koi-shaped incense burner with glossy crackle glaze, perforated body vents, curved fins, and detailed surface texture from a single product-style image.",
"seed": 11641,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/a2fb0c84-c87b-4d2a-a8c6-9a57bbfbea04.jpg",
"mask": "https://assets.runware.ai/assets/inputs/19663f0e-0ae1-4e0a-90d1-73e3e827c73f.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "3dInference",
"taskUUID": "ba766912-31ee-4dc2-94b7-a1963256b080",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D model of a ceramic koi-shaped incense burner with glossy crackle glaze, perforated body vents, curved fins, and detailed surface texture from a single product-style image.",
"seed": 11641,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/a2fb0c84-c87b-4d2a-a8c6-9a57bbfbea04.jpg",
"mask": "https://assets.runware.ai/assets/inputs/19663f0e-0ae1-4e0a-90d1-73e3e827c73f.jpg"
}
}
]'runware run meta:sam@3d \
positivePrompt="Reconstruct a high-fidelity 3D model of a ceramic koi-shaped incense burner with glossy crackle glaze, perforated body vents, curved fins, and detailed surface texture from a single product-style image." \
seed=11641 \
inputs.image=https://assets.runware.ai/assets/inputs/a2fb0c84-c87b-4d2a-a8c6-9a57bbfbea04.jpg \
inputs.mask=https://assets.runware.ai/assets/inputs/19663f0e-0ae1-4e0a-90d1-73e3e827c73f.jpg{
"taskType": "3dInference",
"taskUUID": "ba766912-31ee-4dc2-94b7-a1963256b080",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D model of a ceramic koi-shaped incense burner with glossy crackle glaze, perforated body vents, curved fins, and detailed surface texture from a single product-style image.",
"seed": 11641,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/a2fb0c84-c87b-4d2a-a8c6-9a57bbfbea04.jpg",
"mask": "https://assets.runware.ai/assets/inputs/19663f0e-0ae1-4e0a-90d1-73e3e827c73f.jpg"
}
}{
"taskType": "3dInference",
"taskUUID": "ba766912-31ee-4dc2-94b7-a1963256b080",
"seed": 11641,
"cost": 0.0038,
"outputs": {
"files": [
{
"uuid": "35f03c2a-09f3-49e9-bd81-57e08331012c",
"url": "https://im.runware.ai/image/os/a05d22/ws/3/ii/35f03c2a-09f3-49e9-bd81-57e08331012c.glb"
}
]
}
}Mossy Forest Lantern Relic
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'meta:sam@3d',
positivePrompt: 'Reconstruct a complete high-fidelity 3D object from a single RGB photo of an antique brass lantern with engraved filigree, cracked glass panes, oxidized metal, moss around the base, and slight occlusion from fern leaves, preserving realistic geometry, thin handle details, surface wear, and natural texture variation.',
seed: 24216,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/9285ba9f-3a71-4984-bc39-62864814028d.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a complete high-fidelity 3D object from a single RGB photo of an antique brass lantern with engraved filigree, cracked glass panes, oxidized metal, moss around the base, and slight occlusion from fern leaves, preserving realistic geometry, thin handle details, surface wear, and natural texture variation.",
"seed": 24216,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/9285ba9f-3a71-4984-bc39-62864814028d.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "3dInference",
"taskUUID": "b9d83f75-cc55-40d6-9e74-32a49c412430",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a complete high-fidelity 3D object from a single RGB photo of an antique brass lantern with engraved filigree, cracked glass panes, oxidized metal, moss around the base, and slight occlusion from fern leaves, preserving realistic geometry, thin handle details, surface wear, and natural texture variation.",
"seed": 24216,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/9285ba9f-3a71-4984-bc39-62864814028d.jpg"
}
}
]'runware run meta:sam@3d \
positivePrompt="Reconstruct a complete high-fidelity 3D object from a single RGB photo of an antique brass lantern with engraved filigree, cracked glass panes, oxidized metal, moss around the base, and slight occlusion from fern leaves, preserving realistic geometry, thin handle details, surface wear, and natural texture variation." \
seed=24216 \
inputs.image=https://assets.runware.ai/assets/inputs/9285ba9f-3a71-4984-bc39-62864814028d.jpg{
"taskType": "3dInference",
"taskUUID": "b9d83f75-cc55-40d6-9e74-32a49c412430",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a complete high-fidelity 3D object from a single RGB photo of an antique brass lantern with engraved filigree, cracked glass panes, oxidized metal, moss around the base, and slight occlusion from fern leaves, preserving realistic geometry, thin handle details, surface wear, and natural texture variation.",
"seed": 24216,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/9285ba9f-3a71-4984-bc39-62864814028d.jpg"
}
}{
"taskType": "3dInference",
"taskUUID": "b9d83f75-cc55-40d6-9e74-32a49c412430",
"seed": 24216,
"cost": 0.0038,
"outputs": {
"files": [
{
"uuid": "5737c54e-3bfa-4a51-ad58-00efe6868f2d",
"url": "https://im.runware.ai/image/os/a17d13/ws/4/ii/5737c54e-3bfa-4a51-ad58-00efe6868f2d.glb"
}
]
}
}Weathered Violin Workshop Stilllife
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'meta:sam@3d',
positivePrompt: 'Reconstruct a high-fidelity 3D mesh of the masked violin from a single RGB image, preserving the elegant arched body, f-holes, strings, bridge, tailpiece, scroll details, subtle asymmetry from age, glossy amber-brown varnish, edge wear, and believable thickness; infer realistic backside geometry and coherent texture continuation for use in AR and product-style inspection',
seed: 52232,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/b5c5651e-a075-4ca1-a6b4-9e0c0a24e6c9.jpg',
mask: 'https://assets.runware.ai/assets/inputs/44728544-6b3a-46d2-b205-6c2fc8a635a3.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D mesh of the masked violin from a single RGB image, preserving the elegant arched body, f-holes, strings, bridge, tailpiece, scroll details, subtle asymmetry from age, glossy amber-brown varnish, edge wear, and believable thickness; infer realistic backside geometry and coherent texture continuation for use in AR and product-style inspection",
"seed": 52232,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/b5c5651e-a075-4ca1-a6b4-9e0c0a24e6c9.jpg",
"mask": "https://assets.runware.ai/assets/inputs/44728544-6b3a-46d2-b205-6c2fc8a635a3.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "3dInference",
"taskUUID": "d5bc8455-8e83-40c5-ac1a-b2933272ffea",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D mesh of the masked violin from a single RGB image, preserving the elegant arched body, f-holes, strings, bridge, tailpiece, scroll details, subtle asymmetry from age, glossy amber-brown varnish, edge wear, and believable thickness; infer realistic backside geometry and coherent texture continuation for use in AR and product-style inspection",
"seed": 52232,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/b5c5651e-a075-4ca1-a6b4-9e0c0a24e6c9.jpg",
"mask": "https://assets.runware.ai/assets/inputs/44728544-6b3a-46d2-b205-6c2fc8a635a3.jpg"
}
}
]'runware run meta:sam@3d \
positivePrompt="Reconstruct a high-fidelity 3D mesh of the masked violin from a single RGB image, preserving the elegant arched body, f-holes, strings, bridge, tailpiece, scroll details, subtle asymmetry from age, glossy amber-brown varnish, edge wear, and believable thickness; infer realistic backside geometry and coherent texture continuation for use in AR and product-style inspection" \
seed=52232 \
inputs.image=https://assets.runware.ai/assets/inputs/b5c5651e-a075-4ca1-a6b4-9e0c0a24e6c9.jpg \
inputs.mask=https://assets.runware.ai/assets/inputs/44728544-6b3a-46d2-b205-6c2fc8a635a3.jpg{
"taskType": "3dInference",
"taskUUID": "d5bc8455-8e83-40c5-ac1a-b2933272ffea",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a high-fidelity 3D mesh of the masked violin from a single RGB image, preserving the elegant arched body, f-holes, strings, bridge, tailpiece, scroll details, subtle asymmetry from age, glossy amber-brown varnish, edge wear, and believable thickness; infer realistic backside geometry and coherent texture continuation for use in AR and product-style inspection",
"seed": 52232,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/b5c5651e-a075-4ca1-a6b4-9e0c0a24e6c9.jpg",
"mask": "https://assets.runware.ai/assets/inputs/44728544-6b3a-46d2-b205-6c2fc8a635a3.jpg"
}
}{
"taskType": "3dInference",
"taskUUID": "d5bc8455-8e83-40c5-ac1a-b2933272ffea",
"seed": 52232,
"cost": 0.0038,
"outputs": {
"files": [
{
"uuid": "e9bd2e7d-cebf-4b03-b7fb-e919526bd890",
"url": "https://im.runware.ai/image/os/a19d05/ws/3/ii/e9bd2e7d-cebf-4b03-b7fb-e919526bd890.glb"
}
]
}
}Velvet Astrolabe on Marble
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'meta:sam@3d',
positivePrompt: 'Reconstruct a highly detailed 3D model of an antique brass astrolabe with engraved markings, layered rotating rings, delicate pointers, worn patina, and realistic metallic texture, preserving the object shape from a single RGB image with strong geometric fidelity and accurate surface detail.',
seed: 6580,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/338367ac-0dcd-424f-82e7-1f4a1f3f0ac0.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a highly detailed 3D model of an antique brass astrolabe with engraved markings, layered rotating rings, delicate pointers, worn patina, and realistic metallic texture, preserving the object shape from a single RGB image with strong geometric fidelity and accurate surface detail.",
"seed": 6580,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/338367ac-0dcd-424f-82e7-1f4a1f3f0ac0.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "3dInference",
"taskUUID": "d96c26c4-5483-4561-9e13-304732ca7db4",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a highly detailed 3D model of an antique brass astrolabe with engraved markings, layered rotating rings, delicate pointers, worn patina, and realistic metallic texture, preserving the object shape from a single RGB image with strong geometric fidelity and accurate surface detail.",
"seed": 6580,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/338367ac-0dcd-424f-82e7-1f4a1f3f0ac0.jpg"
}
}
]'runware run meta:sam@3d \
positivePrompt="Reconstruct a highly detailed 3D model of an antique brass astrolabe with engraved markings, layered rotating rings, delicate pointers, worn patina, and realistic metallic texture, preserving the object shape from a single RGB image with strong geometric fidelity and accurate surface detail." \
seed=6580 \
inputs.image=https://assets.runware.ai/assets/inputs/338367ac-0dcd-424f-82e7-1f4a1f3f0ac0.jpg{
"taskType": "3dInference",
"taskUUID": "d96c26c4-5483-4561-9e13-304732ca7db4",
"model": "meta:sam@3d",
"positivePrompt": "Reconstruct a highly detailed 3D model of an antique brass astrolabe with engraved markings, layered rotating rings, delicate pointers, worn patina, and realistic metallic texture, preserving the object shape from a single RGB image with strong geometric fidelity and accurate surface detail.",
"seed": 6580,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/338367ac-0dcd-424f-82e7-1f4a1f3f0ac0.jpg"
}
}{
"taskType": "3dInference",
"taskUUID": "d96c26c4-5483-4561-9e13-304732ca7db4",
"seed": 6580,
"cost": 0.0038,
"outputs": {
"files": [
{
"uuid": "5f8a2d02-c5cc-4fa0-97b3-7abdf8a15507",
"url": "https://im.runware.ai/image/os/a24d12/ws/4/ii/5f8a2d02-c5cc-4fa0-97b3-7abdf8a15507.glb"
}
]
}
}