prunaai/p-image-edit-lora 🔢✓🖼️📝❓ → 🖼️

⭐ Official ▶️ 282.9K runs 📅 Jan 2026 ⚙️ Cog 0.16.9
image-editing image-lora-training text-to-image

Performance

2.7sTypical run time
282.9KTotal runs

About

Use trained LoRAs from the https://replicate.com/prunaai/p-image-edit-trainer. Find or contribute LoRAs here: https://huggingface.co/collections/PrunaAI/p-image-edit-loras.

Example Output

Prompt:

"dotted illustration"

Output

Example output

Performance Metrics

2.71s Prediction Time
2.75s Total Time
All Input Parameters
{
  "turbo": true,
  "images": [
    "https://replicate.delivery/pbxt/OZlWJeKm3nbHIJSOtimUZ2KQAOJbkBB4zRO05w7scVKi7RIy/input_002.png"
  ],
  "prompt": "dotted illustration",
  "lora_scale": 1,
  "aspect_ratio": "match_input_image",
  "lora_weights": "https://huggingface.co/davidberenstein1957/p-image-edit-dotted-illustration-lora/resolve/main/weights.safetensors"
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation.
turbo Type: booleanDefault: true
If turned on, the model will run faster with additional optimizations. For complicated tasks, it is recommended to turn this off.
images Type: arrayDefault:
Images to use as a reference. For editing task, provide the main image as the first image.
prompt (required) Type: string
Text prompt for image generation. Make sure to describe your edit task clearly. You can refer to the images as 'image 1' and 'image 2' and so on.
lora_scale Type: numberDefault: 1Range: -1 - 3
Determines how strongly the main LoRA should be applied.
aspect_ratio Default: match_input_image
Aspect ratio for the generated image. `match_input_image` will match the aspect ratio of the first image.
hf_api_token Type: string
HuggingFace API token. If you're using a HuggingFace LoRAs that needs authentication, you'll need to provide an API token.
lora_weights Type: string
Load LoRA weights. Supports HuggingFace URLs in the format huggingface.co/<owner>/<model-name>[/<lora-weights-file.safetensors>]. HuggingFace LoRAs may require an API token to access, which you can provide in the `hf_api_token` input.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 89134
Generation took 2.45 seconds
/root/.pyenv/versions/3.11.13/lib/python3.11/site-packages/cog/server/scope.py:22: ExperimentalFeatureWarning: current_scope is an experimental internal function. It may change or be removed without warning.
warnings.warn(
Version Details
Version ID
191152bf662a44024fe326e61595d4f84c0293afdee7ff08d973d5e399973a4e
Version Created
February 12, 2026
Run on Replicate →