Skip to content

Commit dd5af0c

Browse files
authored
convert Tripo API nodes to V3 schema (#10469)
1 parent 388b306 commit dd5af0c

File tree

4 files changed

+510
-425
lines changed

4 files changed

+510
-425
lines changed

comfy_api_nodes/apis/tripo_api.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
from __future__ import annotations
2-
from comfy_api_nodes.apis import (
3-
TripoModelVersion,
4-
TripoTextureQuality,
5-
)
62
from enum import Enum
73
from typing import Optional, List, Dict, Any, Union
84

95
from pydantic import BaseModel, Field, RootModel
106

7+
class TripoModelVersion(str, Enum):
8+
v2_5_20250123 = 'v2.5-20250123'
9+
v2_0_20240919 = 'v2.0-20240919'
10+
v1_4_20240625 = 'v1.4-20240625'
11+
12+
13+
class TripoTextureQuality(str, Enum):
14+
standard = 'standard'
15+
detailed = 'detailed'
16+
17+
1118
class TripoStyle(str, Enum):
1219
PERSON_TO_CARTOON = "person:person2cartoon"
1320
ANIMAL_VENOM = "animal:venom"

0 commit comments

Comments
 (0)