codingdudecom/flux-kontext-stencil-lora 🔢📝❓🖼️✓ → 🖼️
About
Stencil maker - create a black and white stencil image from any photo
Example Output
Prompt:
"render this image as a black and white stencil, white background"
Output
Performance Metrics
11.12s
Prediction Time
17.36s
Total Time
All Input Parameters
{
"prompt": "render this image as a black and white stencil, white background",
"guidance": 2.5,
"megapixels": "1",
"input_image": "https://replicate.delivery/pbxt/NnYv2cVIS08DPlrqM2h3bxfewZwRYdV0XAnoCWgXlWSZaJWC/gemini-2.5-flash-image-preview%20%28nano-banana%29_fill_in_the_red_area.png",
"aspect_ratio": "match_input_image",
"lora_strength": 1,
"output_format": "webp",
"output_quality": 80,
"num_inference_steps": 30
}
Input Parameters
- seed
- Random seed for reproducible generation. Leave blank for random.
- prompt (required)
- Text description of what you want to generate, or the instruction on how to edit the given image.
- guidance
- Guidance scale for generation
- megapixels
- Approximate number of megapixels for generated image
- input_image (required)
- Image to use as reference. Must be jpeg, png, gif, or webp.
- aspect_ratio
- Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
- lora_strength
- Strength of the lora
- output_format
- Output image format
- output_quality
- Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
- replicate_weights
- Path to the lora weights
- num_inference_steps
- Number of inference steps
- disable_safety_checker
- Disable NSFW safety checker
Output Schema
Output
Example Execution Logs
Unloaded 304 layers LoRAs unloaded in 0.0037s Loading LoRA weights for /src/weights-cache/7f3b709b6bae129e LoRA weights loaded Extracting keys Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 3478.66it/s] Loading LoRA in bf16 LoRA applied in 0.16s Using seed: 36730 Target dimensions: NonexNone Total safe images: 1 out of 1
Version Details
- Version ID
dc53a7c298a863367b2521476026ee42e929a425b89218276e8a4f254e81f8c2- Version Created
- September 29, 2025