Guide
Hunyuan3D 3.1 image-to-3d Getting Started Guide: Capabilities, API Parameters, and Per-Call Billing Practices
From a single image to a 3D asset: integration points, cost estimation, and engineering recommendations
On this page
What problem does image-to-3d solve in the development workflow
In scenarios such as content production, e-commerce assets, and game prototypes, "having a 3D asset that can be viewed and rotated" is often more urgent than "having a model with perfect topology." image-to-3d addresses exactly this gap: give it an image, and it directly produces a three-dimensional asset that can be previewed and further processed, compressing a first-draft step that would otherwise take a modeler hours into a single API call.
It typically fits into three positions. The first is asset preview: product images and concept art need to quickly become 3D displays that can be rotated and viewed, for interactive modules on detail pages or marketing pages. The second is early prototyping: before art assets are ready, games or applications use generated assets to first validate interaction, camera, and collision logic. The third is batch first drafts: a text model generates descriptions, an image model generates concept art, and then the 3D step produces rough models in bulk, with humans only doing selection and refinement.
It is important to clarify upfront what it cannot replace. A 3D result generated from a single image does not have engineering-grade precision, its topology is usually not suitable for direct entry into a production pipeline, and multi-view consistency, physical material properties, and riggable skeletal structures are all outside its scope of promise. Treat it as a "zero-to-one rough model generator" rather than a "replacement for modeling software," and your expectations will be right.
To decide whether integration is worthwhile, ask yourself three questions: Does your downstream only need visualization, placeholder, or demo-level assets? Do you already have image input sources (selfies, product images, concept art)? Can your workflow accept "generate—filter—manual refinement" rather than "one-shot perfection"? If the answer to all three is yes, the integration benefit is clear; if any one is no, it is safer to use a manual workflow first.

Capability boundaries and input requirements before integration
Hunyuan3D 3.1 image-to-3d has an output type of 3d, and its capability is defined as single-image 3D generation. This capability description itself frames the expectations on the input side: one image with a clear subject in exchange for one 3D asset.
For input preparation, several lessons are worth writing into your pre-validation:
- Single subject preferred. When there is only one clear, complete, and as-unoccluded-as-possible subject in the frame, geometric reconstruction has the least ambiguity. Frames with multiple objects or dense stacking will make the model waver on "which one to build," resulting in unstable output quality.
- The subject must occupy enough of the frame. If the subject is too small and there is a lot of blank space around it, you are wasting effective pixels. Running subject detection plus cropping in the preprocessing stage is the most cost-effective optimization.
- Keep the background as clean as possible. Solid-color or simple backgrounds reduce the parts that may be mistaken for geometric structure. Completing cutout or background replacement before the call is much cheaper than fixing the model afterward.
- Conventional viewpoint and even lighting. Images with a conventional front or slightly side view and without strong backlighting or hard shadows produce more predictable reconstruction results.
- Moderate resolution. Images that are too low-resolution lack information, while images that are too high-resolution do not bring proportional benefits and instead lengthen the transmission and preprocessing chain. Just test the appropriate tier based on your actual business needs.
There is another boundary: semantics. The parts that cannot be seen in a single image (the back, internal structure) are "guessed" by the model based on priors, not reconstructed. If your downstream has strict requirements for invisible regions, you need to clearly mark in the acceptance step which surfaces are inferred regions and hand them over for manual confirmation.

Key API call points and parameter trade-offs
In the context of the unified interface on HiAPI.ai, the mental model for calling image-to-3d is simple: one request carries an input image and the necessary parameters, and you get a 3D output synchronously or asynchronously. For specific fields, refer to the parameter table on the model details page; here we discuss the trade-off thinking.
Three types of information need attention in the request structure: input (how the image is passed in—URL or an uploaded reference), output control (desired output format and specifications), and optional generation adjustment items. The choice of input method directly affects your architecture: if the platform supports external image links, your server can just handle signing and forwarding; if you need to upload first, you must design an upload cache layer to avoid repeatedly transmitting the same image.
Output form is a key decision point. 3D output is usually returned as a file, and you need to determine in advance: is the result returned synchronously, or do you need to poll the task status? How long is the file valid, and do you need to immediately transfer it to your own object storage? Writing "save the result to disk immediately after receiving it" into your code is much more reliable than depending on temporary links.
The principle for parameter trade-offs is "only tune what affects acceptance". Faced with a set of adjustable items, first run a baseline with fixed inputs and fixed parameters and record the output; then adjust one variable at a time to see which item truly changes the metric you care about (such as contour match or face count scale). The impact of most parameters on the result is far smaller than the input image quality itself, so focusing effort on the input side usually yields higher returns. Each parameter adjustment is a billed call, so tuning should be done on a small sample, not on the full dataset.
The interface contract must be implemented in code: define clear success/failure criteria, timeout thresholds, and error code categories for responses. Which errors are worth retrying (network, temporary unavailability) and which should not be retried (non-compliant input) must be separated at the integration stage; otherwise, you will inevitably pay for invalid calls later.
Cost estimation under per-call billing
This model uses per-call billing, with each call billed. For the specific real-time unit price, please refer to the pricing panel on the site; this article does not repeat the number. What really needs to be built is a cost model, not memorizing a number.
The cost estimation formula is simple:
Total cost = price per call × number of calls
Number of calls = number of valid outputs ÷ first-pass rate + number of retries
So the price per call is only one of the multipliers; the first-pass rate is often the dominant variable in cost. Here is an example to illustrate the estimation method (using the symbol P for the price per call, without substituting a specific value):
- Cost per call: one call consumes P.
- Daily cost: if you process 200 images per day with a 70% first-pass rate, the actual number of calls is about 200 ÷ 0.7 ≈ 286, and the daily cost is about 286P.
- Raising the pass rate from 70% to 85% means the same 200 images require only about 235 calls, and what you save is exactly that rework cost.
In other words, investment in improving input quality is equivalent to a direct price cut. A preprocessing script for cropping and cutout may save more money than any parameter tuning.
There are three actionable suggestions for budget control:
- Calibrate on a small sample first. Run a round with 20–50 representative images, measure your real pass rate and average number of retries, and then estimate scale costs based on that. Do not budget with ideal values.
- Set daily/monthly quota caps. Allocate call quotas by business line at the application layer, and trip the circuit breaker and alert when exceeded, so that a single batch task or infinite loop does not blow through the budget.
- Distinguish "worth retrying" from "should not call". Images that fail input validation should be blocked in the upstream step; not a single call should happen. Only failures on the network/service side enter the retry budget.
In batch scenarios, also consider the multiplicative effect of concurrency and unit price: high concurrency does not change the price per call, but it amplifies the loss from "retrying a whole batch because of errors." Failure handling for batch tasks must be more conservative than for single calls.

Image preprocessing and acceptance to improve the first-pass rate
Since the pass rate determines cost, it should be managed as an engineering metric.
Preprocessing checklist (recommended to write as an independent stage of the pipeline):
- Format and size normalization: uniformly convert to a supported format and compress to a reasonable size to avoid direct failure due to file issues.
- Subject detection and cropping: confirm that there is one and only one main subject in the frame, crop the subject region proportionally, and leave a small margin.
- Background handling: perform cutout or replace the background with a solid color for images with cluttered backgrounds.
- Size and orientation normalization: correct EXIF rotation and unify to the appropriate resolution tier determined by testing.
- Quality gate: directly reject images that are blurry, overexposed, have too low a subject ratio, or contain multiple subjects, and do not let them enter the call queue.
The last item is especially important—refusing to call is also a way to save money. Many failures are not the model's fault; the image simply should never have been sent in.
For the acceptance step, it is recommended to set up three gates:
- Automatic initial screening: check whether the returned file is complete and parsable, whether its size is within a reasonable range, and whether it contains the expected format. Files that fail parsing are directly counted in the failure rate and do not enter the manual queue.
- Geometric plausibility check: automatically detect the output's basic spatial extent, face count scale, and whether there are obvious holes or missing faces. This type of check can filter out most results that "look successful but are unusable."
- Sampled manual review: sample at a fixed ratio, score manually, and record the results to continuously track changes in the pass rate. When the pass rate drops, first check whether the input distribution has changed.
Record the input features, parameters, result status, and elapsed time of every call in logs; only then do you have a basis to answer "why did the pass rate drop this week." Without this step, cost optimization can only rely on guessing.
Retry, timeout, and batch orchestration strategies
Under a per-call billing model, retries are a double-edged sword: they can rescue transient failures, but they also keep burning money when the failure persists. The design principle is that retries must be capped, classified, and backed off.
Retry strategy:
- Retry only retryable errors: network timeouts and temporary service-side unavailability can be retried; non-compliant input, out-of-range parameters, and rejected content should not be retried, because retrying only causes duplicate billing. Error code classification must be completed at the integration stage.
- Limit the number of retries: retry the same task at most 1–2 times. Treat "still failing after N retries" as a formal state and move it to the manual queue instead of looping indefinitely.
- Exponential backoff with jitter: avoid all tasks retrying at the same time during an outage, which would amplify a transient problem into a cascade.
- Log every attempt: the retry history of the same task must be traceable, so you can later account for which costs are the "retry tax."
Timeout settings: 3D generation takes longer than text and image generation, so the timeout threshold should be generous, but it must be set explicitly. Calls without timeouts will pile up indefinitely in the queue and eventually drag down the entire batch. If the interface is asynchronous task-based, design timeout recovery logic for "task submitted but no result for a long time" to avoid unbounded growth of the task table.
Batch orchestration:
- Queueing: all generation requests go through a unified queue; producers only enqueue, and consumers pull at a fixed concurrency. In this way, quotas, rate limits, and priorities can all be controlled uniformly at the queue layer.
- Controlled concurrency: the concurrency level is determined by the "acceptable blast radius of failure," not by "how fast you want to run." Start with low concurrency to observe the error rate, then scale up gradually.
- Tiered priorities: separate online real-time needs from offline batch tasks into different queues, and run batch tasks within the remaining budget to avoid crowding each other out.
- Idempotency key: generate a stable hash from the same input image + the same parameter combination as the idempotency key, so duplicate submissions hit the cache directly and do not create new calls.
- Result caching: outputs that pass acceptance are permanently saved to disk and indexed. When the same image is requested repeatedly, return the cache directly; this is the most direct cost saving.
A pragmatic batch pipeline looks like this: preprocessing and quality inspection → enqueue (with idempotency key) → worker consumption (concurrency-limited, retry-limited) → automatic acceptance → passed outputs saved to disk, failures go to the manual queue → daily summary report (number of calls, pass rate, retry rate, cost per valid output). The last metric in the daily report explains your cost health better than the price per call.
Practical patterns for combining with other models on the platform
image-to-3d is rarely used alone; its value is amplified when chained. Several patterns that are easy to build on HiAPI.ai:
Text → Image → 3D. Use a text model to turn product descriptions or creative briefs into structured visual descriptions, then pass them to an image model to produce concept art, and finally enter the 3D step. This chain is suitable for creative pre-research and asset scouting: the text side quickly produces directions in bulk, the image side filters out unqualified ones, and only images that pass the filter consume 3D calls—putting the most expensive step at the end of the funnel is the core orchestration idea for controlling total cost.
Real photo → 3D → Display. In e-commerce scenarios, product real photos go directly into the 3D step after preprocessing, and the output is used for rotating previews on detail pages. The key here is strict pre-inspection: the invalid 3D calls generated by one unqualified real photo cost far more than one image quality inspection.
3D output → Secondary processing. The generated asset enters subsequent processing by humans or tools as a first draft, and then flows back into the content system. Design this step as a stateful process (asset ID, version, acceptance status) rather than a one-off script, so that later replacement of models or adjustment of parameters can migrate smoothly.
There are three general suggestions for combining: put expensive steps later, letting cheaper models filter first; leave a structured record at every step, because cross-model chain troubleshooting depends on it; do not hard-code parameters in the chain, and put model selection and key parameters into configuration for easy switching and canary rollout.
Before integration, please refer to the latest parameter descriptions and billing rules on the model details page. Get a small sample working first, then talk about scale. Treat the pass rate and cost per valid output as first-class metrics, and image-to-3d can steadily become a reliable part of your content pipeline.
Related articles
View all articles →-
Guide
meshy-6/image-to-3d Getting Started Guide: Capability Boundaries, API Parameters, and Pricing Practices
From image to 3D asset: what you need to understand before integrating a third-party image-to-3D model
-
Guide
Meshy-6 text-to-3d Getting Started Guide: Capability Boundaries, Pricing, and Integration Practices
From parameter design to cost control: integrate text-to-3D models into your workflow
-
Guide
LTX-2.5-Fast Text-to-Video Prompts: Copy-Paste Recipes for Developers
Reusable prompt patterns for storyboarding, native audio, and duration control
10 min read