Instructions to use pinecoresystems/Krea-2-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pinecoresystems/Krea-2-Turbo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("pinecoresystems/Krea-2-Turbo", 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 model_index.json from pinecoresystems/Krea-2-Turbo: direct link, hf CLI and curl.
- Browser
- Download file 586 Bytes
-
https://huggingface.co/pinecoresystems/Krea-2-Turbo/resolve/main/model_index.json
- Command line
-
hf download hf://pinecoresystems/Krea-2-Turbo/model_index.json
-
curl -L -o model_index.json https://huggingface.co/pinecoresystems/Krea-2-Turbo/resolve/main/model_index.json
586 Bytes
| { | |
| "_class_name": "Krea2Pipeline", | |
| "_diffusers_version": "0.39.0.dev0", | |
| "scheduler": [ | |
| "diffusers", | |
| "FlowMatchEulerDiscreteScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "Qwen3VLModel" | |
| ], | |
| "text_encoder_select_layers": [ | |
| 2, | |
| 5, | |
| 8, | |
| 11, | |
| 14, | |
| 17, | |
| 20, | |
| 23, | |
| 26, | |
| 29, | |
| 32, | |
| 35 | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "Qwen2Tokenizer" | |
| ], | |
| "transformer": [ | |
| "diffusers", | |
| "Krea2Transformer2DModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKLQwenImage" | |
| ], | |
| "is_distilled": true, | |
| "patch_size": 2 | |
| } |