Instructions to use phil13579/test_custom_handler with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use phil13579/test_custom_handler with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("phil13579/test_custom_handler") prompt = "ed sheeran made of thnderstorm clouds, lights, thunder, rain, particles" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
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

- Prompt
- ed sheeran made of thnderstorm clouds, lights, thunder, rain, particles

- Prompt
- silhouette of a dog in the thunderstorm clouds, thumder, photo, bad weather,

- Prompt
- A professional photo of a beautiful night waterfall in the jungle with a touch of blue and a few fireflies flying around
Usage
You can use this model using huggingface Interface API:
import requests
API_URL = "https://api-inference.huggingface.co/models/Kvikontent/midjourney-v6"
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))
- Downloads last month
- 11
Model tree for phil13579/test_custom_handler
Base model
runwayml/stable-diffusion-v1-5