Instructions to use Zunyi-Business-LORAs/General-Bottle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Zunyi-Business-LORAs/General-Bottle 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("Zunyi-Business-LORAs/General-Bottle") prompt = " Chinese-liquor-bottle | dark green body | golden cap | decorative mountain pattern at the bottom | traditional Chinese liquor packaging" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
General-Bottle

- Prompt
- Chinese-liquor-bottle | dark green body | golden cap | decorative mountain pattern at the bottom | traditional Chinese liquor packaging

- Prompt
- Chinese-liquor-bottle | colored body with golden accents | intricately patterned (featuring traditional Chinese motifs like dragons) | golden - colored neck and base | classic Chinese liquor packaging style
Model description
We think that when we train some general bottle images, and they have same height and width. Which means we control input image parameters(only same bottle with different color and patterns) and we get one Lora which will not generate other bottles. They have similar shape, height and width. We tested our Lora and we found we could change some color prompts and got expected results. We could use this way to train some images. The result is that you could change one fixed style image but you do not need to redesign this.
我们将同样的瓶身固定,瓶身形状大小不变,只是瓶身颜色和图案不一致。我们输入一个关键提示词,将得到一个稳定的瓶身图案,大小一样,但瓶身图案颜色不一致。这也属于控制变量法,经过测试得到的结果还不错。因为一些原因,我们上传的图案都是AI生成的,但大家可以借鉴这个思路来训练模型。简单而言,你想修改一种固定的设计风格,但是又不需要重新绘制。
Trigger words
You should use Chinese-liquor-bottle to trigger the image generation.
Download model
Download them in the Files & versions tab.
- Downloads last month
- 7
Model tree for Zunyi-Business-LORAs/General-Bottle
Base model
black-forest-labs/FLUX.1-dev