> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Recraft Style - Realistic Image - ComfyUI ネイティブノードドキュメント

> Recraft による画像生成向けに、リアルな写真スタイルを設定するための補助ノード

<img src="https://mintcdn.com/dripart/5003JSxULDwNImme/images/built-in-nodes/api_nodes/recraft/recraft-style-realistic-image.jpg?fit=max&auto=format&n=5003JSxULDwNImme&q=85&s=d841ce2d09abd4dd25d467f459f3734f" alt="ComfyUI ネイティブ Recraft Style - Realistic Image ノード" width="1506" height="596" data-path="images/built-in-nodes/api_nodes/recraft/recraft-style-realistic-image.jpg" />

「Recraft Style - Realistic Image」ノードは、Recraft による画像生成に対してリアルな写真スタイルを設定するためのノードであり、生成される画像の視覚的特徴を制御するための複数のサブスタイルオプションを提供します。

## ノードの機能

このノードは、Recraft の画像生成プロセスをリアルな写真表現へと導くためのスタイル設定オブジェクトを作成します。

## パラメータ

### 基本パラメータ

| パラメータ    | 型   | デフォルト値 | 説明                        |
| -------- | --- | ------ | ------------------------- |
| substyle | 選択肢 | None   | リアルな写真スタイルの具体的なサブスタイル（必須） |

### 出力

| 出力             | 型             | 説明                             |
| -------------- | ------------- | ------------------------------ |
| recraft\_style | Recraft Style | Recraft 生成ノードへ接続するスタイル設定オブジェクト |

## 使用例

<Card title="Recraft Text to Image ワークフローの例" icon="book" href="/ja/tutorials/partner-nodes/recraft/recraft-text-to-image">
  Recraft Text to Image ワークフローの例
</Card>

## ソースコード

\[ノードのソースコード（2025-05-03 更新）]

```python theme={null}

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),)
```
