Text-to-Image
Diffusers
Safetensors
hdit_plus
hdit_plus-diffusers
image-to-image
simpletuner
Not-For-All-Audiences
full
Instructions to use SimpleTuner/hdit-plus-128px-cc12m-json with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SimpleTuner/hdit-plus-128px-cc12m-json with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SimpleTuner/hdit-plus-128px-cc12m-json", dtype=torch.bfloat16, device_map="cuda") prompt = "{\"high_level_description\":\"Alien planet, strange rock formations, glowing plants, bizarre creatures, surreal atmosphere\",\"style_description\":{\"aesthetics\":\"Color illustration\",\"lighting\":\"Bioluminescent blue light\",\"medium\":\"Digital illustration\",\"art_style\":\"Illustration\",\"color_palette\":[\"#665599\",\"#44EECC\"]},\"compositional_deconstruction\":{\"background\":\"A violet horizon beneath a starry sky\",\"elements\":[{\"type\":\"obj\",\"bbox\":[140,150,845,870],\"desc\":\"Jagged rocks rising between glowing plants\",\"color_palette\":[\"#665599\",\"#44EECC\"]}]}}" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Not-For-All-Audiences
This repository has been marked as containing sensitive content and may contain potentially harmful and sensitive information.
View model card