Skip to content

Commit 0811c3f

Browse files
committed
update multiview_to_model
1 parent 3bb96fc commit 0811c3f

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "tripo3d"
7-
version = "0.3.9"
7+
version = "0.3.10"
88
description = "Python client for the Tripo 3D Generation API"
99
readme = "README.md"
1010
authors = [

tripo3d/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _detect_location_background():
3030
_detection_thread = threading.Thread(target=_detect_location_background, daemon=True)
3131
_detection_thread.start()
3232

33-
__version__ = "0.3.7"
33+
__version__ = "0.3.10"
3434
__all__ = [
3535
"TripoClient",
3636
"Animation",

tripo3d/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,13 +595,14 @@ async def image_to_model(
595595
async def multiview_to_model(
596596
self,
597597
images: List[str],
598-
model_version: Literal["v2.0-20240919", "v2.5-20250123"] = "v2.5-20250123",
598+
model_version: Literal["v2.0-20240919", "v2.5-20250123", "v3.0-20250812"] = "v2.5-20250123",
599599
face_limit: Optional[int] = None,
600600
texture: Optional[bool] = True,
601601
pbr: Optional[bool] = True,
602602
model_seed: Optional[int] = None,
603603
texture_seed: Optional[int] = None,
604604
texture_quality: Optional[Literal["standard", "detailed"]] = "standard",
605+
geometry_quality: Optional[Literal["standard", "detailed"]] = "standard",
605606
texture_alignment: Optional[Literal["original_image", "geometry"]] = "original_image",
606607
auto_size: Optional[bool] = False,
607608
orientation: Optional[Literal["default", "align_image"]] = "default",
@@ -625,6 +626,7 @@ async def multiview_to_model(
625626
model_seed: Seed for 3D model generation randomization.
626627
texture_seed: Seed for texture generation randomization.
627628
texture_quality: Quality of the texture.
629+
geometry_quality: Quality of the geometry.
628630
texture_alignment: How to align the texture.
629631
auto_size: Whether to automatically determine the model size.
630632
orientation: The orientation of the model.
@@ -1048,7 +1050,7 @@ async def mesh_completion(
10481050
async def smart_lowpoly(
10491051
self,
10501052
original_model_task_id: str,
1051-
model_version: Optional[Literal["P-v1.0-20250506"]] = "P-v1.0-20250506",
1053+
model_version: Optional[Literal["P-v2.0-20251226"]] = "P-v2.0-20251226",
10521054
quad: Optional[bool] = False,
10531055
part_names: Optional[List[str]] = None,
10541056
face_limit: Optional[int] = None,

0 commit comments

Comments
 (0)