Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,53 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: openrail
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
---
|
| 6 |
+
inference: true
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- stable-diffusion
|
| 11 |
+
- text-to-image
|
| 12 |
+
license: creativeml-openrail-m
|
| 13 |
+
---
|
| 14 |
+
# Openjourney is an open source Stable Diffusion fine tuned model on Midjourney images, by [PromptHero](https://prompthero.com/poolsuite-diffusion-prompts?utm_source=huggingface&utm_medium=referral)
|
| 15 |
+
|
| 16 |
+
Include **'mdjrny-v4 style'** in prompt. Here you'll find hundreds of [Openjourney prompts](https://prompthero.com/openjourney-prompts?utm_source=huggingface&utm_medium=referral)
|
| 17 |
+
|
| 18 |
+
# Openjourney Links
|
| 19 |
+
- [Lora version](https://huggingface.co/prompthero/openjourney-lora)
|
| 20 |
+
- [Openjourney v2](https://huggingface.co/prompthero/openjourney-v2)
|
| 21 |
+
|
| 22 |
+
# Want to learn AI art generation?:
|
| 23 |
+
- [Crash course in AI art generation](https://prompthero.com/academy/prompt-engineering-course?utm_source=huggingface&utm_medium=referral)
|
| 24 |
+
- [Learn to fine-tune Stable Diffusion for photorealism](https://prompthero.com/academy/dreambooth-stable-diffusion-train-fine-tune-course?utm_source=huggingface&utm_medium=referral)
|
| 25 |
+
|
| 26 |
+
# Use it for free:
|
| 27 |
+
[](https://huggingface.co/spaces/akhaliq/midjourney-v4-diffusion)
|
| 28 |
+
|
| 29 |
+
### Stable Diffusion v1.5 vs Openjourney
|
| 30 |
+
(Same parameters, just added "mdjrny-v4 style" at the beginning):
|
| 31 |
+
<img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587642-63265d019f9d19bfd4f45031.png" width="100%"/>
|
| 32 |
+
<img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587623-63265d019f9d19bfd4f45031.png" width="100%"/>
|
| 33 |
+
<img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587609-63265d019f9d19bfd4f45031.png" width="100%"/>
|
| 34 |
+
<img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587646-63265d019f9d19bfd4f45031.png" width="100%"/>
|
| 35 |
+
|
| 36 |
+
### 🧨 Diffusers
|
| 37 |
+
|
| 38 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
| 39 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
| 40 |
+
|
| 41 |
+
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from diffusers import StableDiffusionPipeline
|
| 45 |
+
import torch
|
| 46 |
+
model_id = "prompthero/openjourney"
|
| 47 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 48 |
+
pipe = pipe.to("cuda")
|
| 49 |
+
prompt = "retro serie of different cars with different colors and shapes, mdjrny-v4 style"
|
| 50 |
+
image = pipe(prompt).images[0]
|
| 51 |
+
image.save("./retro_cars.png")
|
| 52 |
+
```
|
| 53 |
+
---
|