Skip to main content

A library for running AI workflows.

Project description

GenFlow

Description

GenFlow is an innovative AI workflow engine, designed to integrate seamlessly with a node-based web interface. It enables users to orchestrate complex workflows involving various AI models for generating multimedia content, including images, text, audio, and video, all within a single, unified platform.

Features

  • Diverse AI Model Integration: Effortlessly combine a broad spectrum of AI models.
  • Multimedia Content Generation: Create images, text, audio, and video within the same workflow.
  • Flexible Execution Environments: Supports both local and remote execution options.
  • Comprehensive Platform Support: Utilize models from leading platforms like Huggingface, Replicate, and OpenAI.
  • Advanced Database Integration: Leverage support for vector databases to enhance your workflows.
  • ComfyUI Workflows: Incorporate ComfyUI workflows for enhanced user interaction.
  • Retrieval Augmented Generation: Implement RAG for sophisticated data retrieval and generation.
  • Serverless GPU Deployment: Easily deploy workflows on serverless GPU platforms, including modal.com, for scalable processing power.

Installation

GenFlow supports various Python environments, including CPython and PyPy. The installation instructions provided below cater to both environments for maximum compatibility.

For CPython (default Python implementation)

pip install genflow-lib

Usage

To get started with GenFlow:

genflow setup

Execution

  • GenFlow Node Editor: Install the GenFlow Node Editor for an intuitive, graphical interface to design and manage workflows.
  • Command Line Execution: Alternatively, execute workflows directly from the command line for automation and scripting purposes.

Implementing Nodes

New nodes can be added by subclassing GenflowNode.

Node properties are defined using class fields with type annotations.

The node operation is defined in the process method, which takes a context object, allowing I/O amongst other operations.

class MyNode(GenflowNode):
    a: str = ""
    b: str = ""

    async def process(self, context: ProcessingContext) -> str:
      return self.a + self.b

Contribution

We welcome contributions from the community! To contribute to GenFlow, please adhere to our contribution guidelines. Your efforts help us improve and evolve this project.

License

GenFlow is made available under the terms of the GPL3 License, promoting open-source collaboration and sharing.

Contact

For inquiries, suggestions, or contributions, please reach out to the core team:

  • Matthias Georgi
  • David Buerer
  • Severin Schwanck

GitHub: https://github.com/Gen-Flow/genflow

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

genflow_lib-0.1.2.tar.gz (10.8 MB view details)

Uploaded Source

Built Distribution

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

genflow_lib-0.1.2-py3-none-any.whl (11.7 MB view details)

Uploaded Python 3

File details

Details for the file genflow_lib-0.1.2.tar.gz.

File metadata

  • Download URL: genflow_lib-0.1.2.tar.gz
  • Upload date:
  • Size: 10.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for genflow_lib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 804e678ad615f6430669e8eebe704513eb40b2c3b08847f7bf728a454827785d
MD5 352e3adba5738961cc97a4526f2dabc3
BLAKE2b-256 8e83da032292cfc981feb64bcd14008082bce8cf7fde476a3b4341337fcd67f0

See more details on using hashes here.

File details

Details for the file genflow_lib-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: genflow_lib-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for genflow_lib-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62754ec340bee1ff4b53243c9c2a8d1cb6de31bbc8fe2d9d9bbf1a38490b0511
MD5 4df1b88de7cb297ca345304c92a9f2de
BLAKE2b-256 9a347390fe8046b1bdc8189601e544c73477af166a27c5018ca8bf0725224436

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