Views
No views yet
Upscale this picture to 4K resolution. in your instructions for best results. The examples below show input → output for different instructions.Upscale this picture to 4K resolution. in your edit instruction, for example:Upscale this picture to 4K resolution. <your edit instruction here>









lora_scale=0.5. You can tune this when running inference (e.g. lower for a subtler effect, higher for a stronger style).1import replicate
2
3output = replicate.run(
4 "prunaai/p-image-edit-lora:17651bd22e8c151cdb13a97b0f8554dce1e7238cd0a18cf90bc237ac5f0bc067",
5 input={
6 "images": ["https://example.com/input.png"],
7 "prompt": "Upscale this picture to 4K resolution. your edit instruction",
8 "lora_weights": "https://huggingface.co/davidberenstein1957/p-image-edit-photo-upscaler-lora/resolve/main/weights.safetensors",
9 "lora_scale": 0.5,
10 "hf_api_token": "your-hf-token",
11 }
12)