Vidu Q3 और Q3 Pro मॉडल पर 50% छूट · केवल WaveSpeedAI | 20 मई – 2 जून

SAM 3D Body

wavespeed-ai /

Advanced SAM 3D body generation model for creating detailed 3D human body models from images with optional mask-based segmentation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

image-to-3d
Input

Drag & drop करें या upload के लिए click करें

preview

Tip: आप एक file को drag and drop कर सकते हैं या click करके upload कर सकते हैं

Idle

$0.02per run·~50 / $1

ExamplesView all

Related Models

README

WaveSpeedAI SAM 3D Body Image-to-3D

SAM 3D Body (wavespeed-ai/sam-3d-body) generates a 3D human body asset from a single input image, with an optional mask to isolate the body region. It’s designed for practical pipelines where you want fast, repeatable 3D body reconstruction from photos and screenshots.

You provide the source image (and optionally a mask image). The API returns output URL(s) for the generated 3D result.

Key capabilities

  • Single-image 3D human body generation from an input image URL.
  • Optional mask-guided subject isolation via mask_image for cleaner results when the background is busy.
  • Simple, minimal input surface (just image, plus optional mask_image)—easy to plug into automation.
  • Asynchronous job workflow with task status (created / processing / completed / failed) and output URLs when finished.
  • Production-style response payloads including timing info and NSFW flags in the result metadata.

Parameters and how to use

  • image: (required) Input image URL for 3D body generation.
  • mask_image: Optional mask image URL to constrain processing to a specific region (typically the body).

Prompt

This model is image-conditioned and does not accept a text prompt. Your “instruction” is primarily the image content (and optional mask_image).

Media (Images)

Input

  • image must be a publicly accessible URL when calling the REST API.
  • For best results, use a clear full-body subject (minimal occlusion, good lighting, sharp edges).
  • Avoid heavy motion blur, extreme fisheye distortion, or large cut-offs (missing limbs / cropped torso).

Optional mask

  • mask_image should match the same framing and dimensions as image.

  • Use the mask when:

  • the background is cluttered,

  • multiple people appear,

  • the body boundary is ambiguous (similar colors, low contrast).

Other parameters

mask_image

  • When to use: Improve subject isolation and reduce background leakage into the reconstruction.
  • What to send: A mask image URL aligned to image (commonly a binary or high-contrast foreground mask).

After you finish configuring the parameters, click Run, preview the result, and iterate if needed.

Pricing

$0.02 per run

Notes

  • Best input = best 3D. A well-lit, centered, full-body image will generally outperform a busy, low-contrast scene.
  • Use mask_image as a control knob. If the output includes background artifacts or misses body parts, add a mask and re-run.
  • Expect iteration for hard cases. Complex poses, heavy occlusions (arms crossing torso), and multiple overlapping people often need a cleaner source image or a tighter mask.

Related Models

  • SAM 3D Objects – Same SAM-style workflow, optimized for single-object reconstruction (with optional mask guidance).
  • Hunyuan3D V3 Image-To-3D – Higher-end general image-to-3D model for detailed assets and textures.
  • Tencent Hunyuan3D V2 Multi-View – Multi-view reconstruction when you can provide multiple angles for better geometry.
  • Tencent Hunyuan3D v2.1 – General-purpose image-to-3D pipeline geared for scalable asset workflows and richer outputs.
Accessibility:This website uses AI models provided by third parties.

Sam 3d Body API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/sam-3d-body with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Sam 3d Body below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/sam-3d-body" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "image": "https://example.com/your-input.jpg"
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("wavespeed-ai/sam-3d-body", {
        "image": "https://example.com/your-input.jpg"
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "wavespeed-ai/sam-3d-body",
    {
    "image": "https://example.com/your-input.jpg"
}
)

print(output["outputs"][0])  # → URL of the generated output

Sam 3d Body API — Frequently asked questions

What is the Sam 3d Body API?

Sam 3d Body is a WaveSpeedAI model for 3D asset generation from images, exposed as a REST API on WaveSpeedAI. Advanced SAM 3D body generation model for creating detailed 3D human body models from images with optional mask-based segmentation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Sam 3d Body API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/sam-3d-body.

How much does Sam 3d Body cost per run?

Sam 3d Body starts at $0.020 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Sam 3d Body accept?

Key inputs: `image`, `mask_image`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/sam-3d-body.

How long does Sam 3d Body take to generate?

Average end-to-end generation time on WaveSpeedAI is around 15 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.

Can I use Sam 3d Body outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.