Instructions to use prithivMLmods/Kontext-CAM-Left-View with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Kontext-CAM-Left-View with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/Kontext-CAM-Left-View") prompt = "[photo content], render the image from the left-side perspective, keeping consistent lighting, textures, and proportions. Maintain the realism of all surrounding elements while revealing previously unseen left-side details consistent with the object’s or scene’s structure." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,6 +16,9 @@ language:
|
|
| 16 |
pipeline_tag: image-to-image
|
| 17 |
library_name: diffusers
|
| 18 |
---
|
|
|
|
|
|
|
|
|
|
| 19 |
# **Kontext-CAM-Left-View**
|
| 20 |
|
| 21 |
The Kontext-CAM-Left-View is an experimental adapter for black-forest-lab's FLUX.1-Kontext-dev, designed to generate a left-side perspective of the scene while preserving consistent lighting, textures, and proportions. The model maintains the realism of all surrounding elements and accurately reveals previously unseen left-side details, ensuring seamless perspective alignment and environmental coherence. It was trained on 800 image pairs (400 start images and 400 end images) to deliver high-fidelity, geometry-consistent left-side viewpoint generation.
|
|
@@ -122,4 +125,4 @@ You should use `and proportions. Maintain the realism of all surrounding element
|
|
| 122 |
|
| 123 |
## Download model
|
| 124 |
|
| 125 |
-
[Download](/prithivMLmods/Kontext-CAM-Left-View/tree/main) them in the Files & versions tab.
|
|
|
|
| 16 |
pipeline_tag: image-to-image
|
| 17 |
library_name: diffusers
|
| 18 |
---
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
|
| 22 |
# **Kontext-CAM-Left-View**
|
| 23 |
|
| 24 |
The Kontext-CAM-Left-View is an experimental adapter for black-forest-lab's FLUX.1-Kontext-dev, designed to generate a left-side perspective of the scene while preserving consistent lighting, textures, and proportions. The model maintains the realism of all surrounding elements and accurately reveals previously unseen left-side details, ensuring seamless perspective alignment and environmental coherence. It was trained on 800 image pairs (400 start images and 400 end images) to deliver high-fidelity, geometry-consistent left-side viewpoint generation.
|
|
|
|
| 125 |
|
| 126 |
## Download model
|
| 127 |
|
| 128 |
+
[Download](/prithivMLmods/Kontext-CAM-Left-View/tree/main) them in the Files & versions tab.
|