Run this model with HF Jobs
Run prithivMLmods/Kontext-CAM-Right-View 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/prithivMLmods/Kontext-CAM-Right-View. 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/prithivMLmods/Kontext-CAM-Right-View 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.
Instructions to use prithivMLmods/Kontext-CAM-Right-View with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Kontext-CAM-Right-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-Right-View") prompt = "[photo content], generate the right-side perspective of the scene. Ensure natural lighting, accurate geometry, and realistic textures. Maintain harmony with the original image’s environment, shadows, and visual tone while providing the right-side visual continuation." 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 Settings
- Draw Things
Update README.md
Browse files3 unmodified lines456789101112131 unmodified line15161718192021222324259 unmodified lines35363738394041423 unmodified lines- lora- diffusers- template:diffusion-lorawidget:- output:url: images/Untitled.pngtext: '-'base_model: black-forest-labs/FLUX.1-Kontext-devinstance_prompt: >-[photo content], generate the right-side perspective of the scene. Ensure1 unmodified linewith the original image’s environment, shadows, and visual tone whileproviding the right-side visual continuation.license: apache-2.0---# Kontext-CAM-Right-View<Gallery />## Trigger words9 unmodified linesYou should use `and visual tone while providing the right-side visual continuation.` to trigger the image generation.## Download model[Download](/prithivMLmods/Kontext-CAM-Right-View/tree/main) them in the Files & versions tab.3 unmodified lines4567891 unmodified line11121314151617181920212223242526279 unmodified lines3738394041423 unmodified lines- lora- diffusers- template:diffusion-lorabase_model: black-forest-labs/FLUX.1-Kontext-devinstance_prompt: >-[photo content], generate the right-side perspective of the scene. Ensure1 unmodified linewith the original image’s environment, shadows, and visual tone whileproviding the right-side visual continuation.license: apache-2.0language:- enpipeline_tag: image-to-imagelibrary_name: transformers---# Kontext-CAM-Right-ViewThe Kontext-CAM-Right-View is an experimental adapter for black-forest-lab's FLUX.1-Kontext-dev, designed to transform scenes into a right-side camera perspective while preserving natural lighting, accurate geometry, and realistic textures. The model maintains harmony with the original environment, shadows, and visual tone, ensuring smooth perspective transitions and authentic scene composition. It was trained on 800 image pairs (400 start images and 400 end images) to achieve precise, context-aware right-side viewpoint generation.> [!note][photo content], generate the right-side perspective of the scene. Ensure natural lighting, accurate geometry, and realistic textures. Maintain harmony with the original image’s environment, shadows, and visual tone while providing the right-side visual continuation.## Trigger words9 unmodified linesYou should use `and visual tone while providing the right-side visual continuation.` to trigger the image generation.## Download model[Download](/prithivMLmods/Kontext-CAM-Right-View/tree/main) them in the Files & versions tab.
README.md+8-8