Run this model with HF Jobs

Run PrunaAI/p-image-edit-next-scene-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/PrunaAI/p-image-edit-next-scene-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/PrunaAI/p-image-edit-next-scene-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Next Scene Lora

Prompt
Next Scene: The woman smokes a cigarette, dramatically.
Prompt
Next Scene: The woman walks towards a man in the car
Prompt
Next Scene: The cow is eating grass in the fields
Prompt
Next Scene: The man is shaking hands with another man.
Prompt
Next Scene: An old hand puts a glass of wine on the table next to the book.

Model description

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

Trigger word

Include Next Scene: in your edit instruction, for example:

Next Scene:  <your edit instruction here>

Gallery

Example 1

Example 1

Prompt: Next Scene: The woman smokes a cigarette, dramatically.

Input: Input 1

Example 2

Example 2

Prompt: Next Scene: The woman walks towards a man in the car

Input: Input 2

Example 3

Example 3

Prompt: Next Scene: The cow is eating grass in the fields

Input: Input 3

Example 4

Example 4

Prompt: Next Scene: The man is shaking hands with another man.

Input: Input 4

Example 5

Example 5

Prompt: Next Scene: An old hand puts a glass of wine on the table next to the book.

Input: Input 5

LoRA scale

The gallery was generated with lora_scale=2.0. 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": "Next Scene:  your edit instruction",
        "lora_weights": "https://huggingface.co/davidberenstein1957/p-image-edit-next-scene-lora/resolve/main/weights.safetensors",
        "lora_scale": 2.0,
        "hf_api_token": "your-hf-token",
    }
)
Downloads last month
3,246
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including PrunaAI/p-image-edit-next-scene-lora