Sign inSign up

opea/image2image

By opea

Updated over 1 year ago

OPEA Image-to-Image microservice for GenAI application.

Image
0

1.3K

opea/image2image repository overview

Image-to-Image Microservice

The Image-to-Image microservice generates an image based on a provided source image and a descriptive text prompt. This service utilizes a Stable Diffusion (SD) model to perform the image generation task. It takes a source image and text as input and produces a new, modified image as output.

Table of contents

  1. Architecture
  2. Deployment Options
  3. Validated Configurations

Architecture

The Image-to-Image service is a single microservice that exposes an API endpoint. It receives a request containing a source image URL and a text prompt, processes it using the Stable Diffusion model, and returns the generated image.

  • Image-to-Image Server: This microservice is the core engine for the image generation task. It can be deployed on both CPU and HPU.

Deployment Options

For detailed, step-by-step instructions on how to deploy the Image-to-Image microservice using Docker Compose on different Intel platforms, please refer to the deployment guide. The guide contains all necessary steps, including building images, configuring the environment, and running the service.

PlatformDeployment MethodLink
Intel Xeon/Gaudi2Docker ComposeDeployment Guide

Validated Configurations

The following configurations have been validated for the Image-to-Image microservice.

Deploy MethodCore ModelsPlatform
Docker ComposeStable DiffusionIntel Xeon/Gaudi2

Tag summary

Content type

Image

Digest

sha256:9549052a8

Size

3.3 GB

Last updated

over 1 year ago

docker pull opea/image2image