Pricing
Compare models →Each run is charged per request. The price depends on the selected resolution and on whether texture_size is set to 4096. A run with default settings (resolution 1024, texture_size 2048) costs $0.20 per run.
| Price per run | texture_size 1024 | texture_size 2048 | texture_size 4096 |
|---|---|---|---|
| resolution 512 | $0.10 | $0.10 | $0.15 |
| resolution 1024 | $0.20 | $0.20 | $0.25 |
| resolution 1536 | $0.40 | $0.40 | $0.45 |
texture_size values of 1024 and 2048 do not add a separate charge. Selecting texture_size 4096 instead of texture_size 2048 adds $0.05.
target_face_count, remove_background, and seed do not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
imageRequired | string | Single input image URL, data URI or base64 image.Characters: 1 or more |
resolution | string | Geometry resolution. Higher resolution takes more time and memory.51210241536"1024" |
texture_size | integer | PBR texture resolution in pixels.1024204840962048 |
target_face_count | integer | Target mesh face count after simplification. The final count is approximate.Default: 200000Minimum: 10000 · Maximum: 1000000 |
remove_background | boolean | Remove the image background before generation. Disable to use existing image alpha.Default: true |
seed | integer | Random seed. Use -1 for a random seed. |
README
TRELLIS.2 Image to 3D
TRELLIS.2 Image to 3D turns a single input image into a textured 3D GLB model with PBR materials. Upload a clear image of one object, choose generation resolution, texture size, face-count target, and background handling, then generate a 3D asset for visualization, games, prototyping, or further editing.
Why Choose This?
- Single-image 3D generation
Create a textured 3D model from one input image.
- PBR material output
Generate GLB assets with embedded UVs, base-color textures, and metallic/roughness materials.
- Resolution control
Choose 512, 1024, or 1536 depending on cost, speed, and detail needs.
- Texture-size options
Select 1024, 2048, or 4096 texture size for different asset-quality requirements.
- Face-count control
Set a target face count to guide mesh simplification for downstream workflows.
- Background removal option
Use remove_background to clean the input before 3D generation.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Input image URL, data URI, or Base64 image. Use one clear image of a single object. |
| resolution | No | Generation resolution: 512, 1024, or 1536. Default: 1024. |
| texture_size | No | Texture size: 1024, 2048, or 4096. Default: 2048. |
| target_face_count | No | Approximate mesh simplification target. Range: 10000–1000000. Default: 200000. |
| remove_background | No | Remove the image background before generation. Default: true. |
| seed | No | Random seed for reproducible results. Use -1 for a random seed. |
How to Use
- Upload one image — Provide a clear image of a single object.
- Choose resolution — Use
512for lower-cost drafts,1024for standard generation, or1536for higher-detail output.
- Choose texture size — Use
1024or2048for standard textures, or4096when higher texture detail is needed.
- Set face count optional — Adjust
target_face_countbased on your geometry-detail or optimization needs.
- Configure background removal optional — Keep
remove_backgroundenabled when the object should be separated from its background.
- Set seed optional — Use a fixed seed for reproducible results, or
-1for random generation.
- Submit — Generate the 3D model and retrieve the GLB output.
Pricing
Each run is charged per request. The price depends on the selected resolution and on whether texture_size is set to 4096. A run with default settings (resolution 1024, texture_size 2048) costs $0.20 per run.
| Price per run | texture_size 1024 | texture_size 2048 | texture_size 4096 |
|---|---|---|---|
| resolution 512 | $0.10 | $0.10 | $0.15 |
| resolution 1024 | $0.20 | $0.20 | $0.25 |
| resolution 1536 | $0.40 | $0.40 | $0.45 |
texture_size values of 1024 and 2048 do not add a separate charge. Selecting texture_size 4096 instead of texture_size 2048 adds $0.05.
target_face_count, remove_background, and seed do not add separate charges.
Best Use Cases
- Image-to-3D asset creation — Convert a single object image into a textured 3D model.
- Game and real-time assets — Generate starting meshes for downstream optimization or editing.
- Product visualization — Turn product images into 3D assets for previews and presentations.
- Creative prototyping — Explore object forms and 3D concepts from image references.
- Design workflows — Generate editable GLB assets for 3D applications and viewers.
Pro Tips
- Use a clear, well-lit image with one main object.
- Avoid cluttered backgrounds, heavy shadows, reflections, occlusion, or motion blur.
- Keep
remove_backgroundenabled when the object should be isolated before generation.
- Use
512for quick tests and1536when higher detail matters.
- Use
4096texture size when the model needs more detailed surface appearance.
- Lower
target_face_countfor lighter assets and higher values when detail preservation matters.
- Inspect the GLB from multiple angles before using it in production.
Notes
imageis required.
- This endpoint supports single-image input only.
- Text-only generation and multi-view image input are not supported.
- The output is a generated 3D interpretation, not an exact 3D scan.
- The mesh is not guaranteed to be watertight.
- Higher resolution and larger texture size may take longer to generate.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
TRELLIS.2 Image-to-3D API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/trellis-2/image-to-3d for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"resolution": "1024",
"texture_size": 2048,
"target_face_count": 200000,
"remove_background": true,
"seed": 0
}TRELLIS.2 Image-to-3D API — Frequently asked questions
What is the Trellis 2 Image To 3d API?
Trellis 2 Image To 3d is a OpenSIAI model for 3D asset generation from images, exposed as a REST API on OpenSIAI. TRELLIS.2 Image-to-3D turns a single reference image into a textured 3D GLB model with PBR materials for game assets, product visualization, 3D design, and production workflows. 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 Trellis 2 Image To 3d API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/trellis-2/image-to-3d.
How much does Trellis 2 Image To 3d cost per run or per second?
Trellis 2 Image To 3d starts at $0.2 per run or per second. 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 Trellis 2 Image To 3d accept?
Key inputs: image, resolution, seed, remove_background, target_face_count, texture_size. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/trellis-2/image-to-3d.
How long does Trellis 2 Image To 3d take to generate?
Reported generation time on OpenSIAI is around 26 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Trellis 2 Image To 3d outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
