Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Recraft による画像生成向けに、リアルな写真スタイルを設定するための補助ノード
class RecraftStyleV3RealisticImageNode: """ Select realistic_image style and optional substyle. """ RETURN_TYPES = (RecraftIO.STYLEV3,) RETURN_NAMES = ("recraft_style",) DESCRIPTION = cleandoc(__doc__ or "") # Handle potential None value FUNCTION = "create_style" CATEGORY = "api node/image/Recraft" RECRAFT_STYLE = RecraftStyleV3.realistic_image @classmethod def INPUT_TYPES(s): return { "required": { "substyle": (get_v3_substyles(s.RECRAFT_STYLE),), } } def create_style(self, substyle: str): if substyle == "None": substyle = None return (RecraftStyle(self.RECRAFT_STYLE, substyle),)
このページは役に立ちましたか?