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

# RecraftImageToImageNode - ComfyUI Built-in Node Documentation

> This node modifies an existing image based on a text prompt and a strength setting.

This node modifies an existing image based on a text prompt and a strength setting. It sends the image to the Recraft V3 API and returns a new image that follows the prompt while staying more or less similar to the original, depending on the strength value.

## Inputs

| Parameter          | Description                                                                                                                                            | Data Type | Required | Range                  |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- | -------- | ---------------------- |
| `image`            | The input image to be modified. When a batch of images is provided, each image is processed individually.                                              | IMAGE     | Yes      | -                      |
| `prompt`           | Prompt for the image generation. Default: empty string. Maximum length: 1000 characters.                                                               | STRING    | Yes      | -                      |
| `n`                | The number of images to generate. Default: 1.                                                                                                          | INT       | Yes      | 1-6                    |
| `strength`         | Defines the difference with the original image, should lie in \[0, 1], where 0 means almost identical, and 1 means miserable similarity. Default: 0.5. | FLOAT     | Yes      | 0.0-1.0 (step 0.01)    |
| `seed`             | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed. Default: 0.                                           | INT       | Yes      | 0-18446744073709551615 |
| `recraft_style`    | Optional style selection for the image generation. If not provided, defaults to `realistic_image`.                                                     | STYLEV3   | No       | -                      |
| `negative_prompt`  | An optional text description of undesired elements on an image. Default: empty string. Provided as an input socket.                                    | STRING    | No       | -                      |
| `recraft_controls` | Optional additional controls over the generation via the Recraft Controls node.                                                                        | CONTROLS  | No       | -                      |

**Note:** The `seed` parameter only triggers re-execution of the node but does not guarantee deterministic results. The `strength` parameter is rounded to 2 decimal places internally. The `prompt` is validated and must not exceed 1000 characters. An empty `negative_prompt` is treated as no negative prompt. If `recraft_style` is not provided, the node defaults to the `realistic_image` style. If you use a `style_id` from the Infinite Style Library, ensure it is not a Vector art style, as this may cause the node to receive SVG data instead of an image, resulting in an error. When the input `image` is a batch, each image in the batch is processed individually and all results are returned together.

## Outputs

| Output Name | Description                                                            | Data Type |
| ----------- | ---------------------------------------------------------------------- | --------- |
| `image`     | The generated image(s) based on the input image, prompt, and strength. | IMAGE     |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/RecraftImageToImageNode/en.md)

***

**Source fingerprint (SHA-256):** `1932e55d1dc392e6bd42a0bd29f5aaba44b65997b597648a927fba38a27c90ad`
