/gpt-flux-ouroboros

A set of scripts to repeatedly render an sequence of images using a GPT4o -> Flux loop through ComfyUI

Primary LanguagePythonMIT LicenseMIT

gpt-flux-ouroboros

Patrick Wagstrom <160672+pridkett@users.noreply.github.com>

August 2024

Overview

This project is inspired by this Reddit post, where /u/lazyspock used ChatGPT 4o to describe pictures and then fed that to Flux for image generation. Being inspired and having some free time on my hands, I decided to see if I could turn that into a node for ComfyUI, so you can use GPT-4o to generate your prompts and then do whatever else you want to do with it.

Setup

This uses pipenv to manage the dependencies. You'll need to do something like this:

pipenv --python 3.11
pipenv install

From there you can use pipenv shell to get into the environment, or you can configure your IDE of choice to make use of the pipenv environment.

Usage

License

Copyright (c) 2024 Patrick Wagstrom

Licensed under terms of the MIT License