mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-06 12:57:06 +08:00
Removed Infinite Style Library until later (#99)
This commit is contained in:
parent
24d0e9001f
commit
5bc1aeaf45
@ -225,34 +225,6 @@ class RecraftStyleV3LogoRasterNode(RecraftStyleV3RealisticImageNode):
|
|||||||
RECRAFT_STYLE = RecraftStyleV3.logo_raster
|
RECRAFT_STYLE = RecraftStyleV3.logo_raster
|
||||||
|
|
||||||
|
|
||||||
class RecraftStyleInfiniteStyleLibrary:
|
|
||||||
"""
|
|
||||||
Select style based on preexisting UUID from the Infinite Style Library.
|
|
||||||
"""
|
|
||||||
|
|
||||||
RETURN_TYPES = (RecraftIO.STYLEV3,)
|
|
||||||
RETURN_NAMES = ("recraft_style",)
|
|
||||||
DESCRIPTION = cleandoc(__doc__ or "") # Handle potential None value
|
|
||||||
FUNCTION = "create_style"
|
|
||||||
CATEGORY = "api node/image/Recraft"
|
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def INPUT_TYPES(s):
|
|
||||||
return {
|
|
||||||
"required": {
|
|
||||||
"style_id": (IO.STRING, {
|
|
||||||
"default": "",
|
|
||||||
"tooltip": "UUID of style from Infinite Style Library.",
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def create_style(self, style_id: str):
|
|
||||||
if not style_id:
|
|
||||||
raise Exception("The style_id input cannot be empty.")
|
|
||||||
return (RecraftStyle(style_id=style_id),)
|
|
||||||
|
|
||||||
|
|
||||||
class RecraftTextToImageNode:
|
class RecraftTextToImageNode:
|
||||||
"""
|
"""
|
||||||
Generates images synchronously based on prompt and resolution.
|
Generates images synchronously based on prompt and resolution.
|
||||||
@ -511,7 +483,6 @@ NODE_CLASS_MAPPINGS = {
|
|||||||
"RecraftStyleV3RealisticImage": RecraftStyleV3RealisticImageNode,
|
"RecraftStyleV3RealisticImage": RecraftStyleV3RealisticImageNode,
|
||||||
"RecraftStyleV3DigitalIllustration": RecraftStyleV3DigitalIllustrationNode,
|
"RecraftStyleV3DigitalIllustration": RecraftStyleV3DigitalIllustrationNode,
|
||||||
"RecraftStyleV3LogoRaster": RecraftStyleV3LogoRasterNode,
|
"RecraftStyleV3LogoRaster": RecraftStyleV3LogoRasterNode,
|
||||||
"RecraftStyleV3InfiniteStyleLibrary": RecraftStyleInfiniteStyleLibrary,
|
|
||||||
"RecraftColorRGB": RecraftColorRGBNode,
|
"RecraftColorRGB": RecraftColorRGBNode,
|
||||||
"RecraftControls": RecraftControlsNode,
|
"RecraftControls": RecraftControlsNode,
|
||||||
"SaveSVG": SaveSVGNode,
|
"SaveSVG": SaveSVGNode,
|
||||||
@ -524,7 +495,6 @@ NODE_DISPLAY_NAME_MAPPINGS = {
|
|||||||
"RecraftStyleV3RealisticImage": "Recraft Style - Realistic Image",
|
"RecraftStyleV3RealisticImage": "Recraft Style - Realistic Image",
|
||||||
"RecraftStyleV3DigitalIllustration": "Recraft Style - Digital Illustration",
|
"RecraftStyleV3DigitalIllustration": "Recraft Style - Digital Illustration",
|
||||||
"RecraftStyleV3LogoRaster": "Recraft Style - Logo Raster",
|
"RecraftStyleV3LogoRaster": "Recraft Style - Logo Raster",
|
||||||
"RecraftStyleV3InfiniteStyleLibrary": "Recraft Style - Infinite Style Library",
|
|
||||||
"RecraftColorRGB": "Recraft Color RGB",
|
"RecraftColorRGB": "Recraft Color RGB",
|
||||||
"RecraftControls": "Recraft Controls",
|
"RecraftControls": "Recraft Controls",
|
||||||
"SaveSVG": "Save SVG",
|
"SaveSVG": "Save SVG",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user