Instructions to use lantianai/MidJourney_v4_Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lantianai/MidJourney_v4_Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lantianai/MidJourney_v4_Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/pytorch_model.bin from lantianai/MidJourney_v4_Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/lantianai/MidJourney_v4_Diffusers/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://lantianai/MidJourney_v4_Diffusers/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/lantianai/MidJourney_v4_Diffusers/resolve/main/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- e0b7f0a7b031d0bfa21f888b67ccbddcd7bf9fff00f8b00b9b063ff740871f7e
- Size of remote file:
- 492 MB
- SHA256:
- ba0dc33a32a97be87e7b8701ac418194ee0c19f2f8d679490850b227a7e1ef46
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.