File size: 2,253 Bytes
0b0e49b 48cf3d3 43b34df 48cf3d3 ebdcfab 48cf3d3 0b0e49b b18b8b2 48cf3d3 ffd1a60 48cf3d3 4eeefb0 9c90de2 4eeefb0 48cf3d3 4eeefb0 48cf3d3 4eeefb0 43b34df 9cecce6 4eeefb0 48cf3d3 4eeefb0 43b34df 9cecce6 43b34df 48cf3d3 4eeefb0 43b34df |
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
---
tags:
- text-to-image
- stable-diffusion
- kviai
- midjourney
- lora
- dalle-3
- dalle
- deepvision
- diffusers
widget:
- text: reimagine the ZX Spectrum Game MANIC MINER as a 3D modern style game
output:
url: https://www.instantaiprompt.com/wp-content/uploads/2023/12/manic-miner.jpg
- text: >-
cute Harry Potter, pixar animated movie style, dramatic lighting, standing
outside Hogwarts.
output:
url: >-
https://www.instantaiprompt.com/wp-content/uploads/2023/12/harry-potter-ai-hp.jpg
- text: >-
close up of a Quokka, national geographic style photography, stunning image,
golden hour
output:
url: https://www.instantaiprompt.com/wp-content/uploads/2023/12/ai-quokka.jpg
base_model: runwayml/stable-diffusion-v1-5
instance_prompt: <lora:Dall-e_3_0.3-v2-000003>
license: openrail
language:
- en
- fr
- ru
pipeline_tag: text-to-image
library_name: diffusers
---
# DALL-E 3 XL
<Gallery />
## Model description
This is a test model like Dall-E 3.
Estimated generateion time is ~ 60 seconds on gpu
By KVI Kontent
## Usage
You can try out model using Huggingface Interface API, and here is how:
```Python
import requests
import io
from PIL import *
API_URL = "https://api-inference.huggingface.co/models/Kvikontent/kviimager2.0"
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",
})
image = Image.open(io.BytesIO(image_bytes))
image.save("generated_image.jpg")
```
or using Diffusers library (requires pytorch and transformers too):
```Python
from diffusers import DiffusionPipeline
import io
from PIL import *
pipeline = DiffusionPipeline.from_pretrained("stablediffusionapi/juggernaut-xl-v5")
pipeline.load_lora_weights("Kvikontent/kviimager2.0")
prompt = "Astronaut riding a horse"
image_bytes = pipeline(prompt)
image = Image.open(io.BytesIO(image_bytes))
image.save("generated_image.jpg")
```
## Credits
* Author - Vasiliy Katsyka
* Company - [KVIAI](https://hf.co/kviai)
* Licence - Openrail
## Official demo
You can use official demo on Spaces: [try](https://huggingface.co/spaces/kvikontent/kviimager2.0). |