Instructions to use Vijish/3kprompts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Vijish/3kprompts with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Vijish/3kprompts") prompt = "a photo of a young asian lady" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Image Upload Form</title> | |
| <script> | |
| function showLoading() { | |
| document.getElementById('loading').style.display = 'block'; | |
| document.getElementById('form').style.display = 'none'; | |
| } | |
| </script> | |
| </head> | |
| <body> | |
| <h1>Upload Images for Processing</h1> | |
| <form id="form" action="http://13.51.197.183:8000/process-image/" enctype="multipart/form-data" method="post" onsubmit="showLoading()"> | |
| <label for="api_key">API Key:</label> | |
| <input type="text" name="api_key" required><br><br> | |
| <label for="source_file">Source Image:</label> | |
| <input type="file" name="source_file" accept="image/*"><br><br> | |
| <label for="target_files">Target Images:</label> | |
| <input type="file" name="target_files" accept="image/*" multiple><br><br> | |
| <input type="submit" value="Process"> | |
| </form> | |
| <div id="loading" style="display:none;"> | |
| <p>Loading, please wait...</p> | |
| </div> | |
| </body> | |
| </html> | |