Instructions to use Faitlesses/tb1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Faitlesses/tb1 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", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Faitlesses/tb1") prompt = "Photograph of a young, fit, nude man with a circumcised, erect penis, standing in a dimly lit room. He has a light skin tone, short brown hair, and a slight smile. The image is taken from a low angle, emphasizing his muscular physique and genitals. His penis is prominently displayed, with visible veins and a shiny, wet appearance. The background is blurred with warm lighting, creating a bokeh effect. The camera settings appear to be a high-resolution DSLR with a wide aperture for the shallow depth of field." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - flux | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - ai-toolkit | |
| widget: | |
| - text: Photograph of a young, fit, nude man with a circumcised, erect penis, standing | |
| in a dimly lit room. He has a light skin tone, short brown hair, and a slight | |
| smile. The image is taken from a low angle, emphasizing his muscular physique | |
| and genitals. His penis is prominently displayed, with visible veins and a | |
| shiny, wet appearance. The background is blurred with warm lighting, creating | |
| a bokeh effect. The camera settings appear to be a high-resolution DSLR with | |
| a wide aperture for the shallow depth of field. | |
| output: | |
| url: samples/1747158596090__000006000_0.jpg | |
| - text: Photograph of a young, fit, nude man with short brown hair and a toned physique, | |
| standing outdoors in a desert landscape with a clear blue sky. He has a large, | |
| erect penis and is glistening with oil. The lighting is natural, highlighting | |
| his muscular definition and smooth skin. The camera angle is low, capturing | |
| his entire body. The image is high quality with no visible JPEG artifacts. | |
| The aesthetic quality is high, with a focus on the man's physical attributes | |
| and the serene desert background. | |
| output: | |
| url: samples/1747158611045__000006000_1.jpg | |
| - text: A high-quality, explicit digital render of a young, muscular, red-haired | |
| man with cat ears sitting on a tree branch, holding his erect penis, ejaculating. | |
| The background is a forest with autumn leaves. The lighting is soft and natural. | |
| The man has a fit physique with defined abs and a fair skin tone. The image | |
| is a POV shot with a close-up focus on the man's face and genitals. | |
| output: | |
| url: samples/1747158626007__000006000_2.jpg | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: toyboyy | |
| license: other | |
| license_name: flux-1-dev-non-commercial-license | |
| license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md | |
| # toyboyy.v1 | |
| Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `toyboyy` to trigger the image generation. | |
| ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc. | |
| Weights for this model are available in Safetensors format. | |
| [Download](/Faitlesses/toyboyy/tree/main) them in the Files & versions tab. | |
| ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) | |
| ```py | |
| from diffusers import AutoPipelineForText2Image | |
| import torch | |
| pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda') | |
| pipeline.load_lora_weights('Faitlesses/toyboyy', weight_name='toyboyy.v1.safetensors') | |
| image = pipeline('Photograph of a young, fit, nude man with a circumcised, erect penis, standing in a dimly lit room. He has a light skin tone, short brown hair, and a slight smile. The image is taken from a low angle, emphasizing his muscular physique and genitals. His penis is prominently displayed, with visible veins and a shiny, wet appearance. The background is blurred with warm lighting, creating a bokeh effect. The camera settings appear to be a high-resolution DSLR with a wide aperture for the shallow depth of field.').images[0] | |
| image.save("my_image.png") | |
| ``` | |
| For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) | |