Skip to content

fix: allow to process multiple images #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN /usr/bin/yes | comfy --workspace /comfyui install --cuda-version 11.8 --nvid
WORKDIR /comfyui

# Install runpod
RUN pip install runpod requests
RUN pip install runpod requests redis

# Support for the network volume
ADD src/extra_model_paths.yaml ./
Expand Down
48 changes: 27 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# How to build and push

docker build -t basedlabs/runpod-worker-comfy:1.3 --target base --target base --platform linux/amd64 .

docker push basedlabs/runpod-worker-comfy:1.4

# runpod-worker-comfy

> [ComfyUI](https://github.com/comfyanonymous/ComfyUI) as a serverless API on [RunPod](https://www.runpod.io/)
Expand All @@ -17,33 +23,33 @@ Read our article here: https://blib.la/blog/comfyui-on-runpod
- [Quickstart](#quickstart)
- [Features](#features)
- [Config](#config)
* [Upload image to AWS S3](#upload-image-to-aws-s3)
- [Upload image to AWS S3](#upload-image-to-aws-s3)
- [Use the Docker image on RunPod](#use-the-docker-image-on-runpod)
* [Create your template (optional)](#create-your-template-optional)
* [Create your endpoint](#create-your-endpoint)
* [GPU recommendations](#gpu-recommendations)
- [Create your template (optional)](#create-your-template-optional)
- [Create your endpoint](#create-your-endpoint)
- [GPU recommendations](#gpu-recommendations)
- [API specification](#api-specification)
* [JSON Request Body](#json-request-body)
* [Fields](#fields)
+ ["input.images"](#inputimages)
- [JSON Request Body](#json-request-body)
- [Fields](#fields)
- ["input.images"](#inputimages)
- [Interact with your RunPod API](#interact-with-your-runpod-api)
* [Health status](#health-status)
* [Generate an image](#generate-an-image)
+ [Example request for SDXL with cURL](#example-request-for-sdxl-with-curl)
- [Health status](#health-status)
- [Generate an image](#generate-an-image)
- [Example request for SDXL with cURL](#example-request-for-sdxl-with-curl)
- [How to get the workflow from ComfyUI?](#how-to-get-the-workflow-from-comfyui)
- [Bring Your Own Models and Nodes](#bring-your-own-models-and-nodes)
* [Network Volume](#network-volume)
* [Custom Docker Image](#custom-docker-image)
+ [Adding Custom Models](#adding-custom-models)
+ [Adding Custom Nodes](#adding-custom-nodes)
+ [Building the Image](#building-the-image)
- [Network Volume](#network-volume)
- [Custom Docker Image](#custom-docker-image)
- [Adding Custom Models](#adding-custom-models)
- [Adding Custom Nodes](#adding-custom-nodes)
- [Building the Image](#building-the-image)
- [Local testing](#local-testing)
* [Setup](#setup)
+ [Setup for Windows](#setup-for-windows)
* [Testing the RunPod handler](#testing-the-runpod-handler)
* [Local API](#local-api)
+ [Access the local Worker API](#access-the-local-worker-api)
+ [Access local ComfyUI](#access-local-comfyui)
- [Setup](#setup)
- [Setup for Windows](#setup-for-windows)
- [Testing the RunPod handler](#testing-the-runpod-handler)
- [Local API](#local-api)
- [Access the local Worker API](#access-the-local-worker-api)
- [Access local ComfyUI](#access-local-comfyui)
- [Automatically deploy to Docker hub with GitHub Actions](#automatically-deploy-to-docker-hub-with-github-actions)
- [Acknowledgments](#acknowledgments)

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
runpod==1.3.6
runpod==1.3.6
redis
Loading