> For the complete documentation index, see [llms.txt](https://docs.dreamerland.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dreamerland.ai/image/in-context-transfer.md).

# In-context transfer

In-Context Transfer allows users to edit images intelligently by leveraging the context of existing visual elements. By using a reference image, users can seamlessly integrate new elements or modify existing ones, ensuring that changes are harmoniously blended into the overall composition.

### **How to use**

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FdrI1bZWGTiTQp5BKtHGC%2FScreenshot_20250129_054934.jpg?alt=media&amp;token=c4fbaf1e-bc3b-432a-aa07-bd80fb1f4391" alt="" width="375"><figcaption></figcaption></figure>

* **Go to Flux model and select In-context transfer mode**
* **Upload Your Source Image**: Start by selecting the image you’d like to modify.&#x20;
* **Choose a Context Image**: Select an image that represents the style or elements you wish to incorporate.
* **Draw the Inpainting Area**: Highlight the section of your source image where you want to apply the inpainting.
* **Draw the area that you want to transfer:** Highlight the section of your context image where you want to transfer to the source image
* **Enter the prompt to describe your desired output, it also work if you leave it blank**

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FS3UGsq8S8AbSyr9uLUnW%2FScreenshot_20250129_055148.jpg?alt=media&amp;token=bb333de5-d96a-4eb1-b2d3-90bb51ec05e0" alt="" width="375"><figcaption></figcaption></figure>

Hit the Start Drawing button and wait for the result:

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FO9WD3QjXBy6lOS5zkO6r%2F1738012370913.jpg?alt=media&amp;token=cfc669b8-5163-42c6-8b97-1e5caae2cdd6" alt="" width="375"><figcaption></figcaption></figure>

### Other examples

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FLVndCwAyiR4Y7yDmWWKJ%2Fezgif-5d4d91c5dd8eb.webp?alt=media&amp;token=3332d4b2-e8fa-4ab4-a354-69d5cd8470de" alt=""><figcaption></figcaption></figure>

It also work on anime image

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2Fn9j3Liyzpe9m6NMrXfUA%2Fezgif-54cbf1d9e4d9e.webp?alt=media&amp;token=c49831c4-26a1-44ab-8adf-e541140d8307" alt=""><figcaption></figcaption></figure>

You can transfer anything

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FcMCfUZmOQtur5UVtA2VV%2Fezgif-5ff1693a3c4a1.webp?alt=media&amp;token=20c8b677-9746-45aa-a936-3e02b240ff78" alt=""><figcaption></figcaption></figure>
