AI

AI Image Generation Pipeline with LangGraph and MCP

A demonstration of using LangGraph with MCP for generating prompts and AI-generated images, including Human-in-the-Loop interaction.

About

what is the AI Image Generation Pipeline with LangGraph and MCP? This project demonstrates the use of the Model Context Protocol (MCP) with LangGraph to create workflows that generate prompts and AI-generated images based on a given topic, incorporating Human-in-the-Loop interaction. how to use the AI Image Generation Pipeline? To use the pipeline, install the required dependencies, run the application scripts (app.py or graph.py) with the desired topic, and provide feedback on generated prompts to refine the image generation process. key features of the AI Image Generation Pipeline? Integration of LangGraph with MCP for prompt and image generation. Human-in-the-Loop interaction for user feedback on generated prompts. Multiple scripts showcasing different functionalities: app.py, graph.py, and ai-image-gen-pipeline.py. use cases of the AI Image Generation Pipeline? Generating creative prompts for AI art. Refining AI-generated images through user feedback. Demonstrating the capabilities of LangGraph and MCP in AI workflows. FAQ from the AI Image Generation Pipeline? What dependencies are required to run the project? You need to install aiosqlite, langgraph, langgraph-checkpoint-sqlite, and mcp[cli]. Can I contribute to this project? Yes! Contributions are welcome through pull requests or issues.
Created by: lalanikarim
Added: 3/29/2025
Updated: 3/29/2025