midjourney-v6 / README.md
Kvikontent's picture
Update README.md
c0847c0 verified
|
raw
history blame
1.4 kB
---
license: openrail
language:
- en
library_name: diffusers
pipeline_tag: text-to-image
tags:
- midjourney
- midjourney V6
- v6
- MJ
- mj
- kviai
- kvikontent
- text-to-image
- lora
base_model: runwayml/stable-diffusion-v1-5
widget:
- text: ed sheeran made of thnderstorm clouds, lights, thunder, rain, particles
output:
url: images/ed.png
- text: silhouette of a dog in the thunderstorm clouds, thumder, photo, bad weather,
output:
url: images/dog.png
- text: A professional photo of a beautiful night waterfall in the jungle with a touch of blue and a few fireflies flying around
output:
url: images/water.png
---
# Midjourney V6
Midjourney is most realistic and powerful ai image generator in the world. Here is is Stable Diffusion LoRA model trained on 100k+ midjourney V6 images.
## Examples
<Gallery />
## Usage
You can use this model using huggingface Interface API:
```Python
import requests
API_URL = "/static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2Fmodels%2FKvikontent%2Fmidjourney-v6%26quot%3B%3C%2Fspan%3E%3C!-- HTML_TAG_END -->
headers = {"Authorization": "Bearer HUGGINGFACE_API_TOKEN"}
def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.content
image_bytes = query({
"inputs": "Astronaut riding a horse",
})
# You can access the image with PIL.Image for example
import io
from PIL import Image
image = Image.open(io.BytesIO(image_bytes))
```