Instructions to use Novasy/nova-image-gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Novasy/nova-image-gen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Novasy/nova-image-gen", 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 configuration.json from Novasy/nova-image-gen: direct link, hf CLI and curl.
- Browser
- Download file 59 Bytes
-
https://huggingface.co/Novasy/nova-image-gen/resolve/main/configuration.json
- Command line
-
hf download hf://Novasy/nova-image-gen/configuration.json
-
curl -L -o configuration.json https://huggingface.co/Novasy/nova-image-gen/resolve/main/configuration.json
59 Bytes
| {"framework": "pytorch", "task": "text-to-image-synthesis"} |