Browse ModelsWavespeed AIHunyuan3d V3 Sketch To 3d

Hunyuan3d V3 Sketch To 3d

Hunyuan3d V3 Sketch To 3d

Playground

Try it on WavespeedAI!

Transform your sketches into detailed 3D models with Tencent’s Hunyuan3D V3. Convert hand-drawn sketches and concept art into high-quality 3D assets with textures, perfect for rapid prototyping and game development. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

WaveSpeedAI Hunyuan3D v3 Sketch-to-3D

Hunyuan3D v3 Sketch-to-3D turns a sketch or line drawing into a 3D asset you can preview and download. It’s designed for fast iteration: provide a clear sketch, optionally add a short text description (materials, colors, style), and get back a mesh you can refine.

This wrapper uses the Sketch task type, where a sketch image and a prompt can be provided together to guide both shape and appearance.

Key capabilities

  • Sketch-conditioned 3D generation Generates a 3D model from a sketch/line drawing input.

  • Prompt-guided appearance control Add a prompt to clarify object identity, material, and style. In Sketch mode, prompt + image work together.

  • Optional PBR materials Enable PBR output when you need more realistic materials (typical metallic/roughness workflows).

  • Mesh complexity control Set a target face_count to trade off detail vs. runtime and editability.

  • Asynchronous job workflow Submit a job, then poll status until it finishes. Results include downloadable files and preview URLs.

Parameters and how to use

  • input_image_url: (required) A URL to the sketch / line drawing image.
  • prompt: A short text description to guide object identity and appearance.
  • enable_pbr: Whether to generate PBR materials.
  • face_count: Target face count for the generated mesh.

Prompt

Sketches often don’t contain enough information for materials, color, and surface detail. Use prompt to fill in what the sketch doesn’t say.

Tips:

  • Start with what it is + what it’s made of + key visual traits.
  • If the sketch is ambiguous, specify front/back, symmetry, and proportions.
  • Keep it single-subject. Avoid prompts that describe multiple objects.

Example prompts:

  • “single ceramic coffee mug, matte white glaze, slight lip on rim, minimal style”
  • “sports sneaker, rubber sole, mesh upper, black and neon green accents, product-style lighting”

Media (Images)

Input

  • Provide a publicly accessible image URL (or upload via your media pipeline and paste the resulting URL).
  • Supported formats: JPG / JPEG / PNG / WEBP.

Other parameters

enable_pbr

  • Type: boolean

  • Default: false

  • What it does: generates PBR materials when enabled.

  • When to use:

    • false for faster previews, simpler assets, or when you’ll re-shade in a 3D tool.
    • true when you want more realistic materials out of the box.

face_count

  • Type: integer

  • Default: 500000

  • Range: 400001500000

  • What it does: requests a target face count for the generated mesh.

  • Typical guidance:

    • 40000150000: mobile / real-time previews
    • 150000600000: general-purpose assets
    • 6000001500000: close-ups or heavier editing

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

Pricing

$0.375 per run.

Notes

  • Use prompt + sketch together. If your sketch is minimal, a short prompt can significantly improve interpretation of parts and materials.
  • Download outputs promptly. Result URLs may expire, so persist assets you want to keep.
  • Batching considerations. For pipelines, plan around concurrency and rate limits.
  • Cost/latency trade-offs. Enabling PBR and specifying a custom face_count may take longer to finish.
  • Hunyuan3D V2 Base – Image-to-3D baseline when you have a clean reference image instead of a sketch.
  • Hunyuan3D V2 Mini – Faster / lighter image-to-3D option for rapid iteration and previews.
  • Hunyuan3D V2 Multi-View – Best when you can provide multiple views to improve reconstruction stability and shape fidelity.
  • SAM 3D Objects Generator – Image-to-3D with optional mask guidance for cleaner object isolation from complex backgrounds.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/hunyuan3d-v3/sketch-to-3d" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "enable_pbr": false,
    "face_count": 500000
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-Text description of the 3D content to generate. Supports up to 1024 UTF-8 characters.
imagestringYes-The URL where the file can be downloaded from.
enable_pbrbooleanNofalse-Whether to enable PBR material generation
face_countintegerNo50000040000 ~ 1500000Target face count. Range: 40000-1500000

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated content (empty when status is not completed).
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.