File size: 1,301 Bytes
f672961
 
a10ee0b
 
037d3e4
 
 
a10ee0b
 
 
 
 
 
 
 
 
0c5e385
44e8539
 
 
 
 
 
 
 
 
 
 
 
9599731
 
 
87c8a57
9599731
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
license: openrail
language:
  - en
library_name: diffusers
pipeline_tag: text-to-image
tags:
  - midjourney
  - midjourney V7
  - 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: >-
      man on the yeacht, particles, photoreal style
    output:
      url: images/yacht.png
  - text: >-
      A professional photo of a woman in blue particles
    output:
      url: images/woman.png
---
# Midjourney V7

Midjourney is most realistic and powerful ai image generator in the world. Here is is the first ever release of version 7

## Examples

<Gallery />

## Usage

You can use this model using huggingface Interface API:
```Python
import requests

API_URL = "https://api-inference.huggingface.co/models/Kvikontent/midjourney-v7"
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))
```