|
15 | 15 | TripoP1ImageToModelRequest, |
16 | 16 | TripoP1MultiviewToModelRequest, |
17 | 17 | TripoP1TextToModelRequest, |
18 | | - TripoRefineModelRequest, |
19 | 18 | TripoStyle, |
20 | 19 | TripoTaskResponse, |
21 | 20 | TripoTaskStatus, |
@@ -600,46 +599,6 @@ async def execute( |
600 | 599 | return await poll_until_finished(cls, response, average_duration=80) |
601 | 600 |
|
602 | 601 |
|
603 | | -class TripoRefineNode(IO.ComfyNode): |
604 | | - |
605 | | - @classmethod |
606 | | - def define_schema(cls): |
607 | | - return IO.Schema( |
608 | | - node_id="TripoRefineNode", |
609 | | - display_name="Tripo: Refine Draft model", |
610 | | - category="partner/3d/Tripo", |
611 | | - description="Refine a draft model created by v1.4 Tripo models only.", |
612 | | - inputs=[ |
613 | | - IO.Custom("MODEL_TASK_ID").Input("model_task_id", tooltip="Must be a v1.4 Tripo model"), |
614 | | - ], |
615 | | - outputs=[ |
616 | | - IO.String.Output(display_name="model_file"), # for backward compatibility only |
617 | | - IO.Custom("MODEL_TASK_ID").Output(display_name="model task_id"), |
618 | | - IO.File3DGLB.Output(display_name="GLB"), |
619 | | - ], |
620 | | - hidden=[ |
621 | | - IO.Hidden.auth_token_comfy_org, |
622 | | - IO.Hidden.api_key_comfy_org, |
623 | | - IO.Hidden.unique_id, |
624 | | - ], |
625 | | - is_api_node=True, |
626 | | - is_output_node=True, |
627 | | - price_badge=IO.PriceBadge( |
628 | | - expr="""{"type":"usd","usd":0.3, "format": {"approximate": true}}""", |
629 | | - ), |
630 | | - ) |
631 | | - |
632 | | - @classmethod |
633 | | - async def execute(cls, model_task_id) -> IO.NodeOutput: |
634 | | - response = await sync_op( |
635 | | - cls, |
636 | | - endpoint=ApiEndpoint(path="/proxy/tripo/v2/openapi/task", method="POST"), |
637 | | - response_model=TripoTaskResponse, |
638 | | - data=TripoRefineModelRequest(draft_model_task_id=model_task_id), |
639 | | - ) |
640 | | - return await poll_until_finished(cls, response, average_duration=240) |
641 | | - |
642 | | - |
643 | 602 | class TripoRigNode(IO.ComfyNode): |
644 | 603 |
|
645 | 604 | @classmethod |
@@ -1390,7 +1349,6 @@ async def get_node_list(self) -> list[type[IO.ComfyNode]]: |
1390 | 1349 | TripoP1MultiviewToModelNode, |
1391 | 1350 | TripoImportModelNode, |
1392 | 1351 | TripoTextureNode, |
1393 | | - TripoRefineNode, |
1394 | 1352 | TripoRigNode, |
1395 | 1353 | TripoRetargetNode, |
1396 | 1354 | TripoConversionNode, |
|
0 commit comments