|
--- |
|
language: en |
|
license: apache-2.0 |
|
tags: |
|
- art |
|
- image-generation |
|
- text-to-image |
|
- diffusion |
|
- high-quality |
|
- AI |
|
pipeline_tag: text-to-image |
|
thumbnail: https://example.com/thumbnail.png |
|
--- |
|
|
|
# ImageGroundV0.1 |
|
|
|
**Model Card for `enhanceaiteam/ImageGroundV0.1`** |
|
|
|
`ImageGroundV0.1` is a powerful text-to-image generation model developed by EnhanceAI. It leverages advanced diffusion techniques to produce high-quality, detailed images based on textual descriptions. This model is designed to assist artists, designers, and creative professionals in generating visually compelling and accurate images. |
|
|
|
## Model Details |
|
|
|
- **Version**: 0.1 |
|
- **Base Model**: EnhanceAI's proprietary image generation architecture |
|
- **Training Data**: The model has been trained on a diverse dataset of high-resolution, copyright-free images, ensuring a broad range of visual styles and subjects. |
|
- **Pipeline**: Stable Diffusion XL Pipeline |
|
|
|
## Features |
|
|
|
- **High-Resolution Output**: Generates images at 1024x1024 resolution. |
|
- **Enhanced Prompt Understanding**: Improved comprehension of complex and detailed text prompts. |
|
- **Versatile Style Generation**: Capable of producing images in various artistic and realistic styles. |
|
- **High-Quality Images**: Delivers visually stunning and detailed images. |
|
|
|
## Usage |
|
|
|
To use `ImageGroundV0.1`, you can integrate it with the `diffusers` library. Below is an example of how to generate images: |
|
|
|
```python |
|
import torch |
|
from diffusers import ( |
|
StableDiffusionXLPipeline, |
|
KDPM2AncestralDiscreteScheduler, |
|
AutoencoderKL |
|
) |
|
|
|
# Load VAE component |
|
vae = AutoencoderKL.from_pretrained( |
|
"madebyollin/sdxl-vae-fp16-fix", |
|
torch_dtype=torch.float16 |
|
) |
|
|
|
# Configure the pipeline |
|
pipe = StableDiffusionXLPipeline.from_pretrained( |
|
"enhanceaiteam/ImageGroundV0.1", |
|
vae=vae, |
|
torch_dtype=torch.float16 |
|
) |
|
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config) |
|
pipe.to('cuda') |
|
|
|
# Define prompts and generate image |
|
prompt = "a serene landscape with mountains and a clear sky" |
|
negative_prompt = "" |
|
|
|
image = pipe( |
|
prompt, |
|
negative_prompt=negative_prompt, |
|
width=1024, |
|
height=1024, |
|
guidance_scale=7, |
|
num_inference_steps=50, |
|
clip_skip=2 |
|
).images[0] |
|
|
|
image.save("generated_image.png") |
|
``` |
|
|
|
## Prompts |
|
|
|
When creating prompts, be as descriptive as possible to achieve the desired results. Detailed descriptions help the model generate more accurate and relevant images. |
|
|
|
## Image Samples |
|
|
|
Here are some example images generated by `ImageGroundV0.1`: |
|
|
|
- ![Example Image 1](https://enhanceai.s3.amazonaws.com/f735ed72-5c34-425e-8628-58527053ca81_3.png) |
|
- ![Example Image 2](https://enhanceai.s3.amazonaws.com/066df381-0429-4445-a4a6-7e098718058e_1.png) |
|
- ![Example Image 3](https://enhanceai.s3.amazonaws.com/bffeebfa-7bff-4377-8cd2-1705a6ef92a9_1.png) |
|
- ![Example Image 4](https://enhanceai.s3.amazonaws.com/0a81bcd2-a640-45fa-8fba-4db282e3ac4a_1.png) |
|
- ![Example Image 5](https://enhanceai.s3.amazonaws.com/915a1e2a-32ed-45a8-bccf-d4ad6abe81d9_1.png) |
|
- ![Example Image 6](https://enhanceai.s3.amazonaws.com/e0723a97-a425-492a-8387-8e735084d718_1.png) |
|
|
|
## Explore |
|
|
|
Explore and try out `ImageGroundV0.1` on the [EnhanceAI Playground](https://enhanceai.art/playground). Experiment with different prompts and see the incredible results you can achieve. |
|
|
|
## Api Service |
|
|
|
1. Modelslab - https://modelslab.com/models/imagegroundv |
|
|
|
## License |
|
|
|
`ImageGroundV0.1` is licensed under the [Apache 2.0 License](https://opensource.org/licenses/Apache-2.0). |
|
|
|
## Contact |
|
|
|
For support and inquiries, please reach out to [[email protected]](mailto:[email protected]). |
|
|
|
--- |
|
|
|
Happy creating! |
|
|
|
- The EnhanceAI Team |
|
- Pranav Ajay |
|
- Arsh Javed |