Prompt
Zoom into the red highlighted area
Prompt
Zoom into the red highlighted area
Prompt
Zoom into the red highlighted area
Prompt
Zoom into the red highlighted area

๐Ÿ” Flux Red Zoom LoRA

Zoom and enhance red-highlighted regions of images

Try on fal.ai License

Red Zoom LoRA Banner

๐ŸŽฏ What does this model do?

This LoRA zooms into red-highlighted areas of images and generates an enlarged, detailed view. Simply mark the region you want to focus on with red, and the model will zoom and enhance it.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                                     โ”‚
โ”‚     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                       โ”‚
โ”‚     โ”‚ ๐Ÿ”ดRED โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ      โ”‚  Zoomed &
โ”‚     โ”‚  AREA โ”‚                       โ”‚  Enhanced
โ”‚     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                       โ”‚
โ”‚                                     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Perfect for detail extraction, region focus, and image enhancement.


๐Ÿ–ผ๏ธ Examples

Input (with red highlight) Output (zoomed region)

๐Ÿš€ Quick Start

Prompt

Zoom into the red highlighted area

Red Highlight Requirements

  • Use red color to mark the area of interest
  • The highlight should clearly indicate the zoom region
  • Works best with rectangular or clearly defined areas

๐Ÿ’ป Usage

Try it Live on fal.ai

โ–ถ๏ธ Open Playground

With fal.ai SDK

import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "fal-ai/flux-2/klein/4b/base/edit/lora",
    arguments={
        "prompt": "Zoom into the red highlighted area",
        "model_name": None,
        "loras": [{
            "path": "https://huggingface.co/fal/flux-2-klein-4B-zoom-lora/resolve/main/flux-red-zoom-lora.safetensors",
            "scale": 1.1
        }],
        "embeddings": [],
        "image_urls": ["https://your-image-with-red-highlight.png"]
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)

๐Ÿ“ฆ Model Files

File Use Case
flux-red-zoom-lora.safetensors fal.ai
aoqt0fLF25ymtU3S6pxrB_pytorch_lora_weights_comfy_converted.safetensors ComfyUI

๐ŸŽ“ Training Details

Click to expand

Dataset

  • Size: 86 image pairs
  • Content: Diverse images with zoom regions including:
    • Landscapes: nature details, architectural elements
    • Objects: product details, textures
    • People: facial features, accessories
    • Art: painting details, patterns
  • Red highlight: Consistent red markers for zoom regions
  • Aspect ratios: Various (1:1, 16:9, 9:16, 4:3, 3:4, etc.)

Training

  • Base Model: FLUX.2-Klein 4B
  • Platform: fal.ai
  • Method: LoRA training
  • Steps: 4000
  • Learning Rate: 0.00005

๐ŸŽฎ Use Cases

  • Detail Extraction: Focus on specific parts of complex images
  • Product Showcase: Highlight product features and details
  • Document Analysis: Zoom into specific text or diagram regions
  • Creative Focus: Create dramatic crop and zoom effects

โš ๏ธ Limitations

  • Works best with clearly defined red highlight areas
  • Very small highlighted regions may lose detail
  • Red objects in the image may be confused with highlight markers

๐Ÿ“„ License

Apache 2.0


Created by @ilkerzgi โ€ข Trained with fal.ai

Try on fal.ai

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
Examples

Model tree for fal/flux-2-klein-4B-zoom-lora

Adapter
(7)
this model