Skip to content

evapatel123/MagicImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊 MagicImage

An AI-powered text-to-image generation application built with Gradio and Hugging Face Diffusers.

Transform simple text prompts into stunning AI-generated artwork including realistic portraits, cinematic scenes, fantasy worlds, and creative designs.

The application uses the Z-Image-Turbo diffusion model to generate high-quality images with optimized inference speed.


Preview:

Try it out on my HuggingFace Server: https://huggingface.co/spaces/eva1267890/MagicImage Scroll down to see the screenshots ✨


✨ Features

AI Image Generation

  • Generate images from natural language prompts
  • Supports creative, realistic, cinematic, and fantasy styles

Fast Generation

  • Powered by the Z-Image-Turbo diffusion model
  • Optimized inference with GPU acceleration

Modern AI Studio Interface

  • Ocean theme powered by Gradio
  • Animated futuristic UI
  • Glassmorphism design
  • Gradient effects and smooth transitions

Advanced Controls

  • Custom image height and width
  • Adjustable inference steps
  • Seed control
  • Random seed generation

Prompt Inspiration

  • Built-in example prompts
  • Explore different AI art styles

🖼️ Preview

Screenshots:

🛠️ Tech Stack

AI / Machine Learning

  • PyTorch
  • Hugging Face Diffusers
  • Z-Image-Turbo
  • CUDA GPU acceleration

Application

  • Python
  • Gradio
  • Hugging Face Spaces

UI / Design

  • Custom CSS animations
  • Glassmorphism design
  • Responsive layout

🚀 Installation

1. Clone the repository

git clone https://github.com/yourusername/Z-Image-Turbo-AI-Studio.git

2. Enter the project folder

cd Z-Image-Turbo-AI-Studio

3. Install dependencies

pip install -r requirements.txt

▶️ Run the Application

Start the Gradio app:

python app.py

The application will launch locally:

http://localhost:7860

🎨 Example Prompts

Try generating:

  • Cyberpunk cities with neon lighting
  • Fantasy landscapes
  • Realistic portraits
  • Futuristic technology concepts
  • Sci-fi environments
  • Product advertisements

Example:

A futuristic city floating above the clouds, neon lights reflecting on glass buildings, cinematic lighting, ultra detailed

⚡ Performance

Recommended:

  • NVIDIA GPU
  • CUDA-enabled environment
  • PyTorch with GPU support

CPU inference may be significantly slower.


🔮 Future Improvements

Planned features:

  • Image generation history
  • Prompt enhancement using LLMs
  • Image gallery
  • Multiple image generation
  • Image-to-image generation
  • User accounts
  • Cloud deployment

📜 License

This project uses the Z-Image-Turbo model under the Apache-2.0 License .

See the model license for details.


🙌 Acknowledgements

  • Hugging Face
  • Gradio
  • Hugging Face Diffusers

About

An AI-powered text-to-image generation studio built with Gradio and Hugging Face Diffusers using the Z-Image-Turbo model. Generate cinematic artwork, realistic images, and creative visuals from natural language prompts.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages