Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

prompthero
/
openjourney-v4

Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
Model card Files Files and versions
xet
Community
64

Instructions to use prompthero/openjourney-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use prompthero/openjourney-v4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("prompthero/openjourney-v4", 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
  • Draw Things
  • DiffusionBee
openjourney-v4
13.1 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 51 commits
patrickvonplaten's picture
patrickvonplaten
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#54)
b195ed2 about 3 years ago
  • feature_extractor
    Upload diffusers weights (#48) about 3 years ago
  • safety_checker
    Upload diffusers weights (#48) about 3 years ago
  • scheduler
    Upload diffusers weights (#48) about 3 years ago
  • text_encoder
    Upload diffusers weights (#48) about 3 years ago
  • tokenizer
    Upload diffusers weights (#48) about 3 years ago
  • unet
    Upload diffusers weights (#48) about 3 years ago
  • vae
    Upload diffusers weights (#48) about 3 years ago
  • .gitattributes
    618 Bytes
    Upload diffusers weights (#48) about 3 years ago
  • README.md
    981 Bytes
    Update README.md about 3 years ago
  • model_index.json
    582 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#54) about 3 years ago
  • openjourney-v4.ckpt

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.HalfStorage"

    What is a pickle import?

    2.13 GB
    xet
    Upload openjourney-v4.ckpt about 3 years ago