Instructions to use Muapi/topmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/topmodel 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("Muapi/topmodel") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Muapi/topmodel: direct link, hf CLI and curl.
- Browser
- Download file 2.26 kB
-
https://huggingface.co/Muapi/topmodel/resolve/main/README.md
- Command line
-
hf download hf://Muapi/topmodel/README.md
-
curl -L -o README.md https://huggingface.co/Muapi/topmodel/resolve/main/README.md
2.26 kB
| license: openrail++ | |
| library_name: diffusers | |
| base_model: black-forest-labs/FLUX.1-dev | |
| tags: | |
| - lora | |
| - text-to-image | |
| - stable-diffusion | |
| - flux | |
| - flux.1-d | |
| pipeline_tag: text-to-image | |
| # topmodel | |
|  | |
| **Base model**: Flux.1 D | |
| **Trained words**: A stunning woman with a sculpted body, perfectly proportioned curves, and a flawless face. Her skin is radiant, and her facial features are symmetrical and harmonious, highlighting large expressive eyes, full lips, and a captivating smile. She is wearing a casual outfit consisting of a fitted T-shirt and jeans that accentuate her figure. In another scene, she is dressed in elegant lingerie, including a delicate bra and matching panties, showcasing her perfect physique, A breathtaking woman, combining an athletic and well-defined body with a face of classic beauty. Her eyes are piercing, and her hair falls softly around her face, framing her delicate features. She is wearing a sophisticated dress that hugs her curves, enhancing her magnetic presence. In another setting, she is seen in a comfortable casual outfit with a stylish blouse and skirt, and later in luxurious lingerie, featuring a lacy bra and matching underwear, A woman with an impressive physique and an absolutely perfect face, worthy of a work of art. Her skin is smooth and flawless, her eyes shine with a captivating intensity, and her lips are perfectly shaped. She is in a luxurious setting, wearing a stunning evening dress that highlights every detail of her mesmerizing figure. In another scene, she is casually dressed in a fitted T-shirt and shorts, and also appears in intimate lingerie, including a silk bra and matching panties | |
| ## 🧠 Usage (Python) | |
| 🔑 **Get your MUAPI key** from [muapi.ai/access-keys](https://muapi.ai/access-keys) | |
| ```python | |
| import requests, os | |
| url = "https://api.muapi.ai/api/v1/flux_dev_lora_image" | |
| headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")} | |
| payload = { | |
| "prompt": "masterpiece, best quality, 1girl, looking at viewer", | |
| "model_id": [{"model": "civitai:708602@792571", "weight": 1.0}], | |
| "width": 1024, | |
| "height": 1024, | |
| "num_images": 1 | |
| } | |
| print(requests.post(url, headers=headers, json=payload).json()) | |
| ``` | |