Instructions to use jdopensource/JoyAI-Image-Edit-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jdopensource/JoyAI-Image-Edit-Diffusers 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("jdopensource/JoyAI-Image-Edit-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" 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] - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -181,14 +181,6 @@ Move the camera.
|
|
| 181 |
* The last line is important: it explicitly tells the model to preserve the 3D scene content and geometry, and only adjust the camera viewpoint.
|
| 182 |
|
| 183 |
**Examples:**
|
| 184 |
-
|
| 185 |
-
```text
|
| 186 |
-
Move the camera.
|
| 187 |
-
- Camera rotation: Yaw 45°, Pitch 0°.
|
| 188 |
-
- Camera zoom: in.
|
| 189 |
-
- Keep the 3D scene static; only change the viewpoint.
|
| 190 |
-
```
|
| 191 |
-
|
| 192 |
```text
|
| 193 |
Move the camera.
|
| 194 |
- Camera rotation: Yaw 0.0°, Pitch -15.0°.
|
|
|
|
| 181 |
* The last line is important: it explicitly tells the model to preserve the 3D scene content and geometry, and only adjust the camera viewpoint.
|
| 182 |
|
| 183 |
**Examples:**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
```text
|
| 185 |
Move the camera.
|
| 186 |
- Camera rotation: Yaw 0.0°, Pitch -15.0°.
|