Skip to content

Commit 264fddd

Browse files
committed
chore(api-nodes): mark Pika nodes as deprecated
1 parent 2d4a08b commit 264fddd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

comfy_api_nodes/nodes_pika.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class PikaImageToVideo(IO.ComfyNode):
7777
@classmethod
7878
def define_schema(cls) -> IO.Schema:
7979
return IO.Schema(
80+
is_deprecated=True,
8081
node_id="PikaImageToVideoNode2_2",
8182
display_name="Pika Image to Video",
8283
description="Sends an image and prompt to the Pika API v2.2 to generate a video.",
@@ -130,6 +131,7 @@ class PikaTextToVideoNode(IO.ComfyNode):
130131
@classmethod
131132
def define_schema(cls) -> IO.Schema:
132133
return IO.Schema(
134+
is_deprecated=True,
133135
node_id="PikaTextToVideoNode2_2",
134136
display_name="Pika Text to Video",
135137
description="Sends a text prompt to the Pika API v2.2 to generate a video.",
@@ -187,6 +189,7 @@ class PikaScenes(IO.ComfyNode):
187189
@classmethod
188190
def define_schema(cls) -> IO.Schema:
189191
return IO.Schema(
192+
is_deprecated=True,
190193
node_id="PikaScenesV2_2",
191194
display_name="Pika Scenes (Video Image Composition)",
192195
description="Combine your images to create a video with the objects in them. Upload multiple images as ingredients and generate a high-quality video that incorporates all of them.",
@@ -300,6 +303,7 @@ class PikAdditionsNode(IO.ComfyNode):
300303
@classmethod
301304
def define_schema(cls) -> IO.Schema:
302305
return IO.Schema(
306+
is_deprecated=True,
303307
node_id="Pikadditions",
304308
display_name="Pikadditions (Video Object Insertion)",
305309
description="Add any object or image into your video. Upload a video and specify what you'd like to add to create a seamlessly integrated result.",
@@ -366,6 +370,7 @@ class PikaSwapsNode(IO.ComfyNode):
366370
@classmethod
367371
def define_schema(cls) -> IO.Schema:
368372
return IO.Schema(
373+
is_deprecated=True,
369374
node_id="Pikaswaps",
370375
display_name="Pika Swaps (Video Object Replacement)",
371376
description="Swap out any object or region of your video with a new image or object. Define areas to replace either with a mask or coordinates.",
@@ -446,6 +451,7 @@ class PikaffectsNode(IO.ComfyNode):
446451
@classmethod
447452
def define_schema(cls) -> IO.Schema:
448453
return IO.Schema(
454+
is_deprecated=True,
449455
node_id="Pikaffects",
450456
display_name="Pikaffects (Video Effects)",
451457
description="Generate a video with a specific Pikaffect. Supported Pikaffects: Cake-ify, Crumble, Crush, Decapitate, Deflate, Dissolve, Explode, Eye-pop, Inflate, Levitate, Melt, Peel, Poke, Squish, Ta-da, Tear",
@@ -499,6 +505,7 @@ class PikaStartEndFrameNode(IO.ComfyNode):
499505
@classmethod
500506
def define_schema(cls) -> IO.Schema:
501507
return IO.Schema(
508+
is_deprecated=True,
502509
node_id="PikaStartEndFrameNode2_2",
503510
display_name="Pika Start and End Frame to Video",
504511
description="Generate a video by combining your first and last frame. Upload two images to define the start and end points, and let the AI create a smooth transition between them.",

0 commit comments

Comments
 (0)