BRIA-2.2-HD / README.md
MishaF's picture
Update README.md
6fc13de verified
---
license: other
license_name: bria-2.2-hd
license_link: https://bria.ai/customer-general-terms-and-conditions
library_name: diffusers
inference: False
tags:
- text-to-image
- legal liability
- commercial use
extra_gated_description: Model weights from BRIA AI can be obtained with the purchase of a commercial license. Fill in the form below and we reach out to you.
extra_gated_heading: "Fill in this form to request a commercial license for the model"
extra_gated_fields:
Name: text
Company/Org name: text
Org Type (Early/Growth Startup, Enterprise, Academy): text
Role: text
Country: text
Email: text
By submitting this form, I agree to BRIA’s Privacy policy and Terms & conditions, see links below: checkbox
---
# BRIA 2.2 HD: Text-to-Image Model for Commercial Licensing
Bria AI 2.2HD is the HD version of our 2.x text-to-image models explicitly designed for commercial applications. This model combines technological innovation with ethical responsibility and legal security, setting a new standard in the AI industry. Bria AI licenses the foundation model with full legal liability coverage. Our dataset does not contain copyrighted materials, such as fictional characters, logos, trademarks, public figures, harmful content, or privacy-infringing content.
### Get Access
Bria 2.2HD is avaialabe everywhere you build, either as source-code and weights, ComfyUI nodes or API endpoints.
- **API Endpoint**: [Bria.ai](https://platform.bria.ai/console/api/image-generation), [fal.ai](https://fal.ai/models/fal-ai/bria/text-to-image/hd)
- **ComfyUI**: [Use it in workflows](https://github.com/Bria-AI/ComfyUI-BRIA-API)
- **Interested in BRIA 2.2HD weights?** Purchase is required to license and access BRIA 2.2HD, ensuring royalty management with our data partners and full liability coverage for commercial use.
- Are you a startup or a student? We encourage you to apply for our [Startup Program](https://pages.bria.ai/the-visual-generative-ai-platform-for-builders-startups-plan?_gl=1*cqrl81*_ga*MTIxMDI2NzI5OC4xNjk5NTQ3MDAz*_ga_WRN60H46X4*MTcwOTM5OTMzNC4yNzguMC4xNzA5Mzk5MzM0LjYwLjAuMA..) to request access. This program are designed to support emerging businesses and academic pursuits with our cutting-edge technology.
- Contact us today to unlock the potential of BRIA 2.2HD! By submitting the form above, you agree to BRIA’s [Privacy policy](https://bria.ai/privacy-policy/) and [Terms & conditions](https://bria.ai/terms-and-conditions/).
![](photo-grid-hd.jpeg)
### Bria 2.2HD is commercially licensed product that offers enterprises a powerful tool respecting creator rights and legal boundaries.
For more information, please visit our [website](https://bria.ai/).
# What's New
### Bria 2.2HD, our most capable model, presents higher resolutions (such as 1536,1536 or 1920, 1088), while maintaining high realism and aesthetics as BRIA-2.2.
[CLICK HERE FOR A DEMO] (https://huggingface.co/spaces/briaai/BRIA-2.2-HD)
# Key Features
- **Legally Compliant**: Offers full legal liability coverage for copyright and privacy infringements. Thanks to training on 100% licensed data from leading data partners, we ensure the ethical use of content.
- **Patented Attribution Engine**: Our attribution engine is our way to compensate our data partners, powered by our proprietary and patented algorithms.
- **Enterprise-Ready**: Specifically designed for business applications, Bria AI 2.2 HD delivers high-quality, compliant imagery for a variety of commercial needs.
- **Customizable Technology**: Provides access to source code and weights for extensive customization, catering to specific business requirements.
### Model Description
- **Developed by:** BRIA AI
- **Model type:** Latent diffusion text-to-image model
- **License:** [Commercial licensing terms & conditions.](https://bria.ai/customer-general-terms-and-conditions)
- Purchase is required to license and access the model.
- **Model Description:** BRIA 2.2 HD is a text-to-image model trained exclusively on a professional-grade, licensed dataset. It is designed for commercial use and includes full legal liability coverage.
- **Resources for more information:** [BRIA AI](https://bria.ai/)
### Code example using Diffusers
```
pip install diffusers
```
```py
from diffusers import UNet2DConditionModel, DiffusionPipeline
import torch
unet = UNet2DConditionModel.from_pretrained("briaai/BRIA-2.2-HD", torch_dtype=torch.float16, use_safetensors=True)
pipe = DiffusionPipeline.from_pretrained("briaai/BRIA-2.2", unet=unet, torch_dtype=torch.float16, use_safetensors=True)
del unet
pipe.to("cuda")
prompt = "A portrait of a Beautiful and playful ethereal singer, golden designs, highly detailed, blurry background"
negative_prompt = "Logo,Watermark,Text,Ugly,Morbid,Extra fingers,Poorly drawn hands,Mutation,Blurry,Extra limbs,Gross proportions,Missing arms,Mutated hands,Long neck,Duplicate,Mutilated,Mutilated hands,Poorly drawn face,Deformed,Bad anatomy,Cloned face,Malformed limbs,Missing legs,Too many fingers"
images = pipe(prompt=prompt, negative_prompt=negative_prompt, height=1536, width=1536).images[0]
```