Skip to content

Conversation

@muhammadawaisshaikh
Copy link
Owner

This PR introduces the initial setup of the banner-generator-ai Angular component along with the Flask-based Python REST API that leverages Google Gemini (Gemma3) for image generation.

Frontend (Angular)

  • Initialized banner-generator-ai component.
  • Added form to capture prompt inputs dynamically.
  • Integrated with the Flask backend to fetch AI-generated base64 image.
  • Auto-download functionality added for generated image.

Backend (Python Flask)

  • Introduced REST API /generate-image using Flask.
  • Integrated Google Gemini (gemini-2.0-flash-exp-image-generation) for generating images based on user prompts.
  • Returns AI-generated image in base64 format for Angular client.

Copy link
Collaborator

@sonukapoor sonukapoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@muhammadawaisshaikh muhammadawaisshaikh added the google-ai ai using gemini label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

google-ai ai using gemini

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants