Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

tiny-random
/
Qwen-Image

Text-to-Image
Diffusers
Safetensors
QwenImagePipeline
Model card Files Files and versions
xet
Community

Instructions to use tiny-random/Qwen-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use tiny-random/Qwen-Image with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("tiny-random/Qwen-Image", 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
Qwen-Image / tokenizer
15.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
yujiepan's picture
yujiepan
Upload folder using huggingface_hub
e2e5f8f verified 9 months ago
  • added_tokens.json
    605 Bytes
    Upload folder using huggingface_hub 9 months ago
  • chat_template.jinja
    2.43 kB
    Upload folder using huggingface_hub 9 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 9 months ago
  • special_tokens_map.json
    613 Bytes
    Upload folder using huggingface_hub 9 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 9 months ago
  • tokenizer_config.json
    4.69 kB
    Upload folder using huggingface_hub 9 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 9 months ago