Sign inSign up

opea/text2image-ui

By opea

•Updated 7 months ago

OPEA text-to-image microservice UI entry for GenAI application

Image
0

5.8K

opea/text2image-ui repository overview

⁠Text-to-Image Microservice

Text-to-Image is a task that generates image conditioning on the provided text. This microservice supports text-to-image task by using Stable Diffusion (SD) model.

⁠Deployment Options

The table below lists currently available deployment options. They outline in detail the implementation of this example on selected hardware.

HardwareDeployment ApproachDeployment Guide
Single-Node Intel Xeon SystemDocker ComposeView Guide⁠
Single-Node Intel Gaudi SystemDocker ComposeView Guide⁠
Intel Xeon ClusterHelmView Guide⁠
Intel Gaudi ClusterHelmView Guide⁠
⁠Deploy Text-to-Image Service on AMD EPYC

Refer to the AMD EPYC Guide⁠ for detail.

⁠Consume Text-to-Image Service

Use below command to generate image.

http_proxy="" curl http://localhost:9379/v1/text2image -XPOST -d '{"prompt":"An astronaut riding a green horse", "num_images_per_prompt":1}' -H 'Content-Type: application/json'

⁠Validated Configurations

Deploy MethodHardware
Docker ComposeIntel Xeon
Docker ComposeIntel Gaudi
Docker ComposeAMD EPYC
Helm ChartsIntel Gaudi
Helm ChartsIntel Xeon

Tag summary

Content type

Image

Digest

sha256:7d80519a9…

Size

520.5 MB

Last updated

7 months ago

docker pull opea/text2image-ui