Documentation Index
Fetch the complete documentation index at: https://dripart-mintlify-e28287af.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
「Recraft Style - Realistic Image」ノードは、Recraft による画像生成に対してリアルな写真スタイルを設定するためのノードであり、生成される画像の視覚的特徴を制御するための複数のサブスタイルオプションを提供します。
ノードの機能
このノードは、Recraft の画像生成プロセスをリアルな写真表現へと導くためのスタイル設定オブジェクトを作成します。
パラメータ
基本パラメータ
| パラメータ | 型 | デフォルト値 | 説明 |
|---|
| substyle | 選択肢 | None | リアルな写真スタイルの具体的なサブスタイル(必須) |
| 出力 | 型 | 説明 |
|---|
| recraft_style | Recraft Style | Recraft 生成ノードへ接続するスタイル設定オブジェクト |
使用例
Recraft Text to Image ワークフローの例
Recraft Text to Image ワークフローの例
ソースコード
[ノードのソースコード(2025-05-03 更新)]
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),)