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.3.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.3-py3-none-any.whl (11.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genflow_lib-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 281490226f48834638a3a1cf2e6f8928e699b7a802d96952fc98851831eb2720
MD5 16e12ba85f0be66a1a3593aa19d8a563
BLAKE2b-256 339cf22b9f83804e349b3c6130f1e3a3f93c62392592b5530851c09471c1168d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genflow_lib-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f8f05ef517874aa74fee69bb4d425e96c211ae46680b5b74cc51f19c630ad426
MD5 12a891da4588728d701a26425341a604
BLAKE2b-256 3994cb44ccd1586cfd94963e2320330f70a9f5c70f1c7591d140fd38959e239a

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