Instructions to use PrunaAI/p-image-photos-three-color-composite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/p-image-photos-three-color-composite with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PrunaAI/p-image-photos-three-color-composite") prompt = "HST A portrait of a woman in early 20th century dress, soft color separation." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("PrunaAI/p-image-photos-three-color-composite")
prompt = "HST A portrait of a woman in early 20th century dress, soft color separation."
image = pipe(prompt).images[0]Photos Three Color Composite

- Prompt
- HST A portrait of a woman in early 20th century dress, soft color separation.

- Prompt
- HST A street scene with vintage cars and period clothing, three-color look.

- Prompt
- HST A landscape with hills and trees in a nostalgic color palette.

- Prompt
- HST A man in a suit and hat from the 1920s standing by a building.

- Prompt
- HST A still life with flowers and old books on a wooden table.
Model description
This is a text-to-image LoRA. Trigger word: use HST in your prompts for best results. The gallery above shows sample generations.
Trigger word
Prepend HST to your prompt, for example:
HST <your prompt here>
Gallery
Example 1
Prompt: HST A portrait of a woman in early 20th century dress, soft color separation.
Example 2
Prompt: HST A street scene with vintage cars and period clothing, three-color look.
Example 3
Prompt: HST A landscape with hills and trees in a nostalgic color palette.
Example 4
Prompt: HST A man in a suit and hat from the 1920s standing by a building.
Example 5
Prompt: HST A still life with flowers and old books on a wooden table.
Example prompts
Prompts used for the gallery above:
- HST A portrait of a woman in early 20th century dress, soft color separation.
- HST A street scene with vintage cars and period clothing, three-color look.
- HST A landscape with hills and trees in a nostalgic color palette.
- HST A man in a suit and hat from the 1920s standing by a building.
- HST A still life with flowers and old books on a wooden table.
LoRA scale
The gallery was generated with lora_scale=0.75. 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-lora:393190dc623ef136356d6a7221c561f48771f39c5cff90ef903ca49d1bd47574",
input={
"prompt": "HST your prompt here",
"lora_weights": "https://huggingface.co/davidberenstein1957/p-image-photos-three-color-composite/resolve/main/weights.safetensors",
"lora_scale": 0.75,
"hf_api_token": "your-hf-token",
}
)
- Downloads last month
- 42




