File size: 4,566 Bytes
f307334 09ff28d f307334 2ce0887 09ff28d 2ce0887 09ff28d 2ce0887 f307334 09ff28d aa7aca1 f307334 d985277 17cfbc0 f307334 2ce0887 f307334 a3e956f 3bf79e5 bde8923 3bf79e5 a3e956f 37c1296 a3e956f 2ce0887 a3e956f f307334 37c1296 09ff28d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
- sketch
- pencil
- monochrome
- art
widget:
- src: images/1.jpg
text: >-
[photo content], replicate the image as a pencil illustration, black and
white, with sketch-like detailing.
prompt: >
[photo content], replicate the image as a pencil illustration, black and
white, with sketch-like detailing.
output:
url: images/2.png
base_model: black-forest-labs/FLUX.1-Kontext-dev
instance_prompt: >-
[photo content], replicate the image as a pencil illustration, black and
white, with sketch-like detailing.
license: other
license_name: flux-1-dev-non-commercial-license
license_link: LICENSE.md
pipeline_tag: image-to-image
---

# **Monochrome-Pencil-i2i [Image-to-Image]**
<Gallery />
Monochrome-Pencil-i2i is an adapter for black-forest-lab's FLUX.1-Kontext-dev. It is a Sketch LoRA trained for seamless conversion of any image into a monochrome pencil sketch while preserving the original characteristics of the image. The model was trained on 40 image pairs (20 start images, 20 end images). Synthetic result nodes were generated using NanoBanana from Google and SeedDream 4 (dataset for result sets), and labeled with DeepCaption-VLA-7B. The adapter is triggered with the following prompt:
> [!note]
[photo content], replicate the image as a pencil illustration, black and white, with sketch-like detailing.
---
## Sample Inference
| FLUX.1-Kontext-dev |<span style="color:red">Monochrome-Pencil</span> |
|------|-------|
|  |  |
| ex1-<span style="color:red">Monochrome-Pencil</span> | ex2-<span style="color:red">Monochrome-Pencil</span> |
|------|-------|
|  |  |
---
## Parameter Settings
| Setting | Value |
| ------------------------ | ------------------------ |
| Module Type | Adapter |
| Base Model | FLUX.1 Kontext Dev - fp8 |
| Trigger Words | [photo content], replicate the image as a pencil illustration, black and white, with sketch-like detailing. |
| Image Processing Repeats | 50 |
| Epochs | 25 |
| Save Every N Epochs | 1 |
Labeling: DeepCaption-VLA-7B(natural language & English)
Total Images Used for Training : 40 Image Pairs (20 Start, 20 End)
Synthetic result nodes were generated using NanoBanana from Google and SeedDream 4 (dataset for result sets)
## Training Parameters
| Setting | Value |
| --------------------------- | --------- |
| Seed | - |
| Clip Skip | - |
| Text Encoder LR | 0.00001 |
| UNet LR | 0.00005 |
| LR Scheduler | constant |
| Optimizer | AdamW8bit |
| Network Dimension | 64 |
| Network Alpha | 32 |
| Gradient Accumulation Steps | - |
## Label Parameters
| Setting | Value |
| --------------- | ----- |
| Shuffle Caption | - |
| Keep N Tokens | - |
## Advanced Parameters
| Setting | Value |
| ------------------------- | ----- |
| Noise Offset | 0.03 |
| Multires Noise Discount | 0.1 |
| Multires Noise Iterations | 10 |
| Conv Dimension | - |
| Conv Alpha | - |
| Batch Size | - |
| Steps | 3900 |
| Sampler | euler |
---
## Trigger words
You should use `[photo content]` to trigger the image generation.
You should use `replicate the image as a pencil illustration` to trigger the image generation.
You should use `black and white` to trigger the image generation.
You should use `with sketch-like detailing.` to trigger the image generation.
## Download model
[Download](/prithivMLmods/Monochrome-Pencil/tree/main) them in the Files & versions tab. |