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
Upload folder using huggingface_hub
Browse files- .ms_upload_cache +1 -0
- configuration.json +1 -0
- model_index.json +1 -1
- safety_checker/config.json +1 -1
- scheduler/scheduler_config.json +1 -1
- text_encoder/config.json +1 -1
- tokenizer/tokenizer_config.json +1 -0
- unet/config.json +1 -1
- vae/config.json +1 -1
.ms_upload_cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version": 3, "repo_id": "novaai2026/nova-image-gen", "files": {"feature_extractor/preprocessor_config.json|1788887996.4054487|466": {"hash": "205d45875859846dc1ca211b9a19f5db72f47e953b396954ee34d48d8e95c3c6", "size": 466, "status": "c"}, "configuration.json|1788888024.5899842|59": {"hash": "d87ffcc5db52662717ef4d0109be482bad0c8b917c7976321a553e2225aff4b0", "size": 59, "status": "c"}, "model_index.json|1788887996.4064488|675": {"hash": "b2a565e7cb741c097e75005c27ac4346b38fc151dde4159682d3a46bf0be448e", "size": 675, "status": "c"}, "text_encoder/config.json|1788887992.674113|553": {"hash": "d4a1663de032d6f30ed4eceb2d55b2e054347f7cc4e95d48920d5d004521b3de", "size": 553, "status": "c"}, "safety_checker/config.json|1788887995.7143867|2215": {"hash": "777b2f0b433f863b263e39d02e9d8f06abe8dff255e033a14d9ee2d3e4c64c69", "size": 2215, "status": "c"}, "scheduler/scheduler_config.json|1788887995.7113864|374": {"hash": "4a3e8f45521faa0d29b6fdfdb08a3227caaafaaf1b8fc4e40d1a199228f8a735", "size": 374, "status": "c"}, "tokenizer/tokenizer_config.json|1788887993.073149|321": {"hash": "2f2a78a0528defbfb72241b533dfe46fd70a873c682f6924783b83116eb22ad0", "size": 321, "status": "c"}, "unet/config.json|1788887993.1101522|1926": {"hash": "83b2cdf0be8a8a5072e90a812bb1555e3752ffc5af01f623ab6b3f977dafb181", "size": 1926, "status": "c"}, "vae/config.json|1788887992.4360917|910": {"hash": "dbaf96be73843f5be1d00ed893a0cbca0b791a13ce24062a1114f8dca07db7a1", "size": 910, "status": "c"}, "tokenizer/tokenizer.json|1788887993.106152|3642348": {"hash": "8e019f9349caf5f9bb92514b0e4fc00c92841aef6ae8df9d833d975c623b7c72", "size": 3642348, "status": "c"}, "vae/diffusion_pytorch_model.safetensors|1788887992.672113|167335342": {"hash": "4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c", "size": 167335342, "status": "c"}, "text_encoder/model.safetensors|1788887993.0661483|246144152": {"hash": "660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd", "size": 246144152, "status": "c"}, "safety_checker/model.safetensors|1788887996.4014485|608016280": {"hash": "57ecdfa243b170f9b4cb3eefaf0f64552ef78fc0bf0eb1c5b9675308447184f6", "size": 608016280, "status": "c"}, "unet/diffusion_pytorch_model.safetensors|1788887995.662382|1719125304": {"hash": "c83908253f9a64d08c25fc90874c9c8aef9a329ce1ca5fb909d73b0c83d1ea21", "size": 1719125304, "status": "c"}}}
|
configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"framework": "pytorch", "task": "text-to-image-synthesis"}
|
model_index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionPipeline",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
| 5 |
"feature_extractor": [
|
| 6 |
"transformers",
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionPipeline",
|
| 3 |
+
"_diffusers_version": "0.40.0",
|
| 4 |
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
| 5 |
"feature_extractor": [
|
| 6 |
"transformers",
|
safety_checker/config.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
"use_bfloat16": false,
|
| 43 |
"vocab_size": 49408
|
| 44 |
},
|
| 45 |
-
"transformers_version": "5.
|
| 46 |
"vision_config": {
|
| 47 |
"add_cross_attention": false,
|
| 48 |
"attention_dropout": 0.0,
|
|
|
|
| 42 |
"use_bfloat16": false,
|
| 43 |
"vocab_size": 49408
|
| 44 |
},
|
| 45 |
+
"transformers_version": "5.16.1",
|
| 46 |
"vision_config": {
|
| 47 |
"add_cross_attention": false,
|
| 48 |
"attention_dropout": 0.0,
|
scheduler/scheduler_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "PNDMScheduler",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"beta_end": 0.012,
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "PNDMScheduler",
|
| 3 |
+
"_diffusers_version": "0.40.0",
|
| 4 |
"beta_end": 0.012,
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
text_encoder/config.json
CHANGED
|
@@ -19,6 +19,6 @@
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
-
"transformers_version": "5.
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
|
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
+
"transformers_version": "5.16.1",
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
tokenizer/tokenizer_config.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
"eos_token": "<|endoftext|>",
|
| 7 |
"errors": "replace",
|
| 8 |
"is_local": true,
|
|
|
|
| 9 |
"model_max_length": 77,
|
| 10 |
"pad_token": "<|endoftext|>",
|
| 11 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
|
| 6 |
"eos_token": "<|endoftext|>",
|
| 7 |
"errors": "replace",
|
| 8 |
"is_local": true,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
"model_max_length": 77,
|
| 11 |
"pad_token": "<|endoftext|>",
|
| 12 |
"tokenizer_class": "CLIPTokenizer",
|
unet/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.40.0",
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
vae/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/vae",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
+
"_diffusers_version": "0.40.0",
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/vae",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|