Skip to main content

AI Fashion House, A multi agent adk application for fashion design

Project description

AI Fashion House

A project built for the ADK Hackathon with Google Cloud, AI Fashion House is a multi-agent system designed to assist with design inspiration, fashion image generation, and cinematic runway video creation.

What is AI Fashion House?

AI Fashion House is an AI-powered fashion design assistant that transforms expressive or abstract user prompts into rich visual content. Built on a modular, multi-agent architecture, it automates the entire creative pipeline—from concept interpretation to high-fidelity visual generation—by coordinating a set of intelligent, specialized agents.

How It Works

The system relies on a multi-agent framework, where each agent handles a specific step in the creative process. These agents operate asynchronously, enabling a flexible and dynamic design workflow:

  1. Input Analysis Interprets user input to identify themes, fashion concepts, and stylistic cues.

  2. Visual Reference Retrieval The met_rag_agent agent searches the Metropolitan Museum of Art's open-access archive (over 500,000 images) to retrieve relevant historical references.

    • BigQuery RAG: Performs semantic retrieval using Retrieval-Augmented Generation with BigQuery.
    • GenAI Embeddings: Embeds captions using the text-embedding-005 model for similarity comparison.
    • Gemini Multimodal Analysis: Processes both images and text to extract stylistic and structural fashion details.
  3. Internet Search Expansion The search_agent agent uses Google Search Grounding to retrieve contemporary fashion references from the web.

  4. Style Prompt Generation The promp_writer_agent & fashion_design agents organize visual data using a sequential pattern and combines it via an aggregator assistant to produce a detailed, fashion-specific prompt.

  5. Artifact Creation and Orchestration The marketing_agent agent uses the style prompt to generate visual outputs:

    • Imagen 3 is used to produce high-quality fashion images.
    • Veo 3 generates stylized runway videos.

Target Audience

AI Fashion House is designed for:

  • Fashion designers exploring new creative directions
  • Educators and students in fashion design programs
  • Archivists and curators seeking to combine history with generative AI
  • Creators and developers interested in visual storytelling and AI-powered prototyping

Technology Stack

This project integrates:

  • Google Cloud (Vertex AI, BigQuery, Cloud Storage)
  • Gemini API and GenAI text/image embedding models
  • Imagen 3 and Veo 3 for advanced image and video synthesis
  • A modular, multi-agent orchestration system

Multi-Agent Architecture

Multi-Agent Architecture

Each step of the workflow is managed by a dedicated agent:

  1. Input Analysis
  2. Visual Reference Retrieval (met_rag agent)
    • BigQuery-based semantic search
    • Embedding generation and filtering
    • Multimodal image analysis
  3. Web Search (research_agent agent)
  4. Prompt Generation (fashion_design agent and aggregator)
  5. Visual and Video Generation (marketing_agent agent using Imagen 3 and Veo 4)

Installation

Create and Activate A Virtual Environment with Python 11.0 or Higher

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

Install Package

pip install ai-fashion-house

Configure Environment Variables to run the application

Create a .env file in the root directory with the following content:

GOOGLE_GENAI_USE_VERTEXAI=1
GOOGLE_API_KEY=<your_google_api_key>
GOOGLE_CLOUD_PROJECT=<your_google_cloud_project_id>
GOOGLE_CLOUD_LOCATION=us-central1

# RAG settings
BIGQUERY_DATASET_ID=met_data
BIGQUERY_CONNECTION_ID=met_data_conn
BIGQUERY_REGION=US

# Embeddings and captioning models
BIGQUERY_EMBEDDINGS_MODEL_ID=embeddings_model
BIGQUERY_EMBEDDINGS_MODEL=text-embedding-005
BIGQUERY_CAPTIONING_MODEL_ID=gemini_model
BIGQUERY_CAPTIONING_MODEL=gemini-2.0-flash
BIGQUERY_TABLE_ID=fashion_ai_met
BIGQUERY_VECTOR_INDEX_ID=met_data_index

VEO2_MODEL_ID=veo-3.0-generate-preview
IMAGEN_MODEL_ID=imagen-4.0-generate-preview-06-06

MEDIA_FILES_BUCKET_GCS_URI=gs://myfiles2025

Set Up MET RAG(Retrieval-Augmented Generation)

To simplify the installation process, you can use the setup-rag command to automatically configure the MET RAG (Retrieval-Augmented Generation) environment on GCP BigQuery. This command sets up the required dataset, connection, and vector index for the MET RAG agent. In case the automated setup fails or you prefer manual deployment, we’ve also included the necessary BigQuery SQL scripts in the scripts/ folder.

ai-fashion-house setup-rag

Run the Application

ai-fashion-house start

Open your browser and navigate to:

http://localhost:8080

to access the AI Fashion House interface.

Fashion House interface

Fashion House interface 2

🤝 Contributing

Contributions are welcome and appreciated! To contribute:

  1. Fork this repository.
  2. Create a new branch for your feature or fix.
  3. Commit your changes with clear messages.
  4. Push to your forked repository.
  5. Open a Pull Request (PR) to the main branch with a description of your changes and any relevant context.

🛠️ Running the Project Locally

1. Start the Backend

Run the backend server from the root directory:

ai-fashion-house start --reload

💡 Use the --reload flag to enable hot-reloading during development.

2. Start the React Frontend

Open a new terminal, navigate to the ui directory, and run:

cd ui
npm install
npm run dev

Then open your browser and navigate to:

http://localhost:5173

3. Build for Production

To generate the production build of the frontend:

npm run build

⚛️ The UI is a React.js app using Vite.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_fashion_house-0.1.9.tar.gz (152.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_fashion_house-0.1.9-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file ai_fashion_house-0.1.9.tar.gz.

File metadata

  • Download URL: ai_fashion_house-0.1.9.tar.gz
  • Upload date:
  • Size: 152.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for ai_fashion_house-0.1.9.tar.gz
Algorithm Hash digest
SHA256 bfe55d627d1cb6dccc00b6d7249deee35c0e95ab4574dddd75e94673b9361de1
MD5 a8a6ee6df8315b48797c847d7d7322d9
BLAKE2b-256 579d5f92d7434f7de761838afeb64fa707a130547e817e2d3c894b70c1705948

See more details on using hashes here.

File details

Details for the file ai_fashion_house-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_fashion_house-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9b5113188bc858afdb4219b2387b8b2096aece67d17f9b012b54582720218bf7
MD5 41c5aa950503120c499084ad5b3e49a1
BLAKE2b-256 ec359e3477f2acbd9ab1a8aa097a7b96563b8d2e67b6e2784460e195b8793367

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page