Photo Enhancement Lora

Prompt
tok_enhance
Prompt
tok_enhance
Prompt
tok_enhance
Prompt
tok_enhance
Prompt
tok_enhance

Model description

This is an image-editing LoRA. Provide an input image and an instruction describing the edit. Trigger word: use tok_enhance in your instructions for best results. The examples below show input → output for different instructions.

Trigger word

Include tok_enhance in your edit instruction, for example:

tok_enhance <your edit instruction here>

Gallery

Example 1

Example 1

Prompt: tok_enhance

Input: Input 1

Example 2

Example 2

Prompt: tok_enhance

Input: Input 2

Example 3

Example 3

Prompt: tok_enhance

Input: Input 3

Example 4

Example 4

Prompt: tok_enhance

Input: Input 4

Example 5

Example 5

Prompt: tok_enhance

Input: Input 5

LoRA scale

The gallery was generated with lora_scale=0.5. You can tune this when running inference (e.g. lower for a subtler effect, higher for a stronger style).

Use on Replicate

import replicate

output = replicate.run(
    "prunaai/p-image-edit-lora:17651bd22e8c151cdb13a97b0f8554dce1e7238cd0a18cf90bc237ac5f0bc067",
    input={
        "images": ["https://example.com/input.png"],
        "prompt": "tok_enhance your edit instruction",
        "lora_weights": "https://huggingface.co/davidberenstein1957/p-image-edit-photo-enhancement-lora/resolve/main/weights.safetensors",
        "lora_scale": 0.5,
        "hf_api_token": "your-hf-token",
    }
)
Downloads last month
33
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support