# Inpainting to refine a picture

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2F3d79fjuLGgSm0wCKz4gw%2Fimage.png?alt=media&#x26;token=6e417c9a-573d-4676-8c4b-12fff9478d86" alt=""><figcaption><p>Before / After</p></figcaption></figure>

<div data-full-width="true"><figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FHSzJtkEsEG93ifFOBBTO%2Fimage.png?alt=media&#x26;token=b3a6f0b3-af30-4cbe-a695-26ada190c48e" alt=""><figcaption><p>Before and After</p></figcaption></figure></div>

## Using InPaint

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FLEyHLeFho3SmafsbFICb%2F52670-0-1726377162.jpg?alt=media&#x26;token=e17a19f2-110e-4c8c-ac54-cadd4fc6fbee" alt=""><figcaption><p>Great rough image made inside Conjure. But how do we refine it to look more realistic?<br><br>"beautiful woman in the snowfall, epic majestic"<br>Model: MJ XL<br>Style: Cinematic<br><br></p></figcaption></figure>

## THE STEPS:

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FIAkGmJA5vWutGo2Zp200%2Fimage.png?alt=media&#x26;token=b219cac3-edd0-4747-b8a0-ac6f57cbaea4" alt=""><figcaption><p>We took that image and sent it over to transform suite. Masked over the face. And did not change the prompt. Though prompting the change that you want to see is also a viable option.<br></p></figcaption></figure>

Various results:

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FpoAVfRbUF9lD2itJsM7V%2F52718-0-1726377767.png?alt=media&#x26;token=a39e384e-6eb7-4fe9-be1b-a303e3cf8f92" alt=""><figcaption><p>Arcana SD3</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2F8szPpYh5YS72yK8FuwG1%2F52722-0-1726377779.jpg?alt=media&#x26;token=63d64ae9-f945-492f-8c4d-d9d950f5322c" alt=""><figcaption><p>Photographic Textures &#x26; Faces Model</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FnYa6vjDJznHKI9FeZTjh%2F52725-0-1726377777.jpg?alt=media&#x26;token=5025d4a6-fa95-4b85-8986-66b171c531a7" alt=""><figcaption><p>MJ XL Model</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FSKBU58P3xaA60Kx6oim1%2F52717-0-1726377853.png?alt=media&#x26;token=5539ff0a-8559-40db-9abe-8583afb74b99" alt=""><figcaption><p>Raw Camera Pro Model</p></figcaption></figure>

<div data-full-width="true"><figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FgB6g7V2gkTm6sHV5KgSk%2F52744-0-1726378192.jpg?alt=media&#x26;token=ad678897-fdb4-48d6-8e33-b84326a43b87" alt=""><figcaption><p>Skipping inpaint and sending it to Enhance<br>Photo Hard<br>Creativity: 11</p></figcaption></figure></div>

## Using Inpaint + X-Ray

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FMthI7MKVd5OxdFgPeNyR%2F52733-0-1726378032.jpg?alt=media&#x26;token=905812ad-c1eb-4ef3-bb70-e26a57446415" alt=""><figcaption><p>"Beautiful woman in the snowfall, detailed skin"<br>Model: Photographic Textures &#x26; Faces<br>Style: Cinematic<br>Transformation: 69%</p></figcaption></figure>

## Using Paintbrush + Inpaint

Style

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FgB6g7V2gkTm6sHV5KgSk%2F52744-0-1726378192.jpg?alt=media&#x26;token=ad678897-fdb4-48d6-8e33-b84326a43b87" alt=""><figcaption><p>Rough image made inside Conjure</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2F9nC4BLdPBRevQWGYVc7V%2Fimage.png?alt=media&#x26;token=2c22ce2a-0aba-452e-a55e-415e759ab091" alt=""><figcaption><p>Using Paint brush we painted blue over her lips to set the blue lipstick we want</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2F0MYnDfoZmTSqugcC4flV%2Fimage.png?alt=media&#x26;token=ce1391b0-dc0c-43bb-976e-236b47b18433" alt=""><figcaption><p>We mask brush over the area we want to transform</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FVtxuto23mgoPtjJODXV8%2F52770-0-1726378814.jpg?alt=media&#x26;token=af8f46ef-4adf-42f2-b8c8-83a612252b24" alt=""><figcaption><p>Photographic Texture &#x26; Faces Model</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2F1emFPlnF1ESbE1qxCKiu%2F52784-0-1726378917.jpg?alt=media&#x26;token=2a7bfd1f-e324-41a8-8e41-f3ab10b7f1c5" alt=""><figcaption><p>MJ XL Model</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FCdcIBhB0J9DQekSjVSkU%2Fimage.png?alt=media&#x26;token=6f425f63-ba1c-4c10-8935-5a98220e413f" alt=""><figcaption><p>Painted blue on the eyes, then masked it...</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FY76ZUScm7ieQLDh2eSvh%2Fimage.png?alt=media&#x26;token=a9854756-f522-45c3-8b0e-03a9f94b28b9" alt=""><figcaption><p>Masked over the area</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FNVtpd6qy9VGhDcAM5Ck3%2F52806-0-1726379318.jpg?alt=media&#x26;token=051dc171-8a5a-4599-bdfc-176ee93425c1" alt=""><figcaption><p>"snowfall, female model with beautiful blue eyes"<br>Transformation: 53%<br>Model: Photographic Texture</p></figcaption></figure>

&#x20;               &#x20;

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FaxjOOCa6TWhATpv4oSwt%2F52822-0-1726379619.png?alt=media&#x26;token=87cb8ed5-e103-450f-b308-a457f38596b9" alt=""><figcaption><p>Same as above but using Arcana SD3</p></figcaption></figure>

TO REVIEW, here is the original and below it the final result:

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FSZnyfXZ1NWaDUxI5V9bE%2F52670-0-1726377162.jpg?alt=media&#x26;token=e94756db-272d-4caf-b627-57f0facf7a6d" alt=""><figcaption><p>Original</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FV1lnfcpU5E0RR52kK9Bs%2F52822-0-1726379619.png?alt=media&#x26;token=613cf1e9-44cd-41a7-ba24-516b717fc3d5" alt=""><figcaption><p>Result</p></figcaption></figure>

And then for a quick touch up, prompted: \
\&#xNAN;*"snowfall, \[freckled] female model with beautiful blue eyes"*\
\
The square brackets are for reducing the intensity of a word (s) in your prompt.) Then with one final inpaint, using the Photographic texture model at 43% percent, created this final result:

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2Fz0ZtAuHthKmBUT8fRdfm%2F52834-0-1726379915.jpg?alt=media&#x26;token=a9fc7651-c310-42f4-b01a-429b10f4d65f" alt=""><figcaption><p>Final Result.</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FVf5KyYuVbA6vpbUF6BTB%2Fimage.png?alt=media&#x26;token=3e2531d1-20b3-4000-8a00-825f98c1e5d5" alt=""><figcaption><p>Final Result using Instagram Filter or any filter. Soon available in our Polish suite tab.</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FEqbv7vbuTBXK63t2EC11%2Fimage.png?alt=media&#x26;token=1f8db231-c9f4-4498-99c3-21e0b05ff141" alt=""><figcaption><p>Final Result using Instagram Filter or any filter. Soon available in our Polish suite tab.</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FQw5Z6eTE1VhwLWcwhcBc%2Fimage.png?alt=media&#x26;token=bbdc606a-0144-408a-9d86-1cf6fa533a40" alt=""><figcaption><p>Final Result using Instagram Filter or any filter. Soon available in our Polish suite tab.</p></figcaption></figure>

## &#x20;                         FIXING MASKED BLURRED AREAS

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FFqJLgyRiajFGNz58nJBH%2F52576-0-1726375866.jpg?alt=media&#x26;token=7b9d7e50-8133-4f27-bedd-ae63f3f58ad9" alt=""><figcaption><p>Notice around the left side of the shoe, the area is blurry and yellowish because the masked area didn't blend when this was generated. </p></figcaption></figure>

Step 1:  Upload image inside Transform and select inpaint, and mask brush.\
Step 2:  Mask over the areas that are still troublesome. &#x20;

Step 3:  Prompt "Blurry background" so it blends with the blurry background.

Steo 4:  Select MJ XL or Photographic Texture & Faces Model. \
Step 5:  Set Transformation strength between 40-55%\
Step 6:  Select "InPaint" to generate new image.

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2Fbud7uTGAIVT609bzLRzf%2Fimage.png?alt=media&#x26;token=4b3d9f78-d0a0-43b8-901f-6bc63f091ae0" alt=""><figcaption><p>Masked over the problem areas. Set transformation to 50%.</p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FuM0qHgBEQlkXPelt6gp7%2F52615-0-1726376438.jpg?alt=media&#x26;token=ce4bd469-53af-476f-86cb-b6bafbd4b95c" alt=""><figcaption><p>Result at 50% Transformation strength. </p></figcaption></figure>

<figure><img src="https://2624966838-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcFb4ihnfBnfd0stkhMX%2Fuploads%2FVtfUGOjAtVrGO9MkiZfa%2F52621-0-1726376517.jpg?alt=media&#x26;token=1757c46f-13b5-4875-8223-779b15bb8d39" alt=""><figcaption><p>Result at 45% Transformation strength. </p></figcaption></figure>

Repeat this process again and send to source window to refine any lingering trouble areas for one more pass of inpaint using the same steps as before:<br>
