Instructions to use EmpSurak/The-Next-Generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use EmpSurak/The-Next-Generation with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("EmpSurak/The-Next-Generation") prompt = "star trek, the next generation, john de lancie as klingon warrior, q, solo, big grin, open mouth, sharp long teeth, fangs, armor, starship bridge" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: >- | |
| star trek, the next generation, john de lancie as klingon warrior, q, solo, | |
| big grin, open mouth, sharp long teeth, fangs, armor, starship bridge | |
| output: | |
| url: images/2024-11-13_11-58-50_4147.png | |
| - text: >- | |
| star trek, the next generation, john de lancie, q, closeup portrait, solo, | |
| happy, red starfleet uniform, starship | |
| parameters: | |
| negative_prompt: (epaulettes) | |
| output: | |
| url: images/2024-11-13_12-14-25_4698.png | |
| - text: star trek, the next generation, starship bridge, ferengi, solo, bald | |
| parameters: | |
| negative_prompt: (hair) | |
| output: | |
| url: images/2024-11-13_12-31-59_5786.png | |
| - text: >- | |
| star trek, the next generation, beverly crusher, medical emergency, klingon | |
| patient | |
| output: | |
| url: images/2024-11-13_17-09-54_8849.png | |
| base_model: stabilityai/stable-diffusion-xl-base-1.0 | |
| instance_prompt: star trek, the next generation, tng | |
| license: openrail++ | |
| # TNG | |
| <Gallery /> | |
| ## Model description | |
| A general LoRA with the goal to create Star Trek: TNG-like pictures. Currently, it is limited to season 1. | |
| ## Trigger words | |
| You should use `star trek` to trigger the image generation. | |
| You should use `the next generation` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/EmpSurak/The-Next-Generation/tree/main) them in the Files & versions tab. |