Files
GenAIExamples/Text2Image
chen, suyue 0ba3decb6b Simplify git clone code in CI test (#1422)
1. Simplify git clone code in CI test. 
2. Replace git clone branch in Dockerfile.

Signed-off-by: chensuyue <suyue.chen@intel.com>
2025-01-20 23:55:20 +08:00
..
2024-10-24 11:43:44 +08:00

Text-to-Image Microservice

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

Deploy Text-to-Image Service

Deploy Text-to-Image Service on Xeon

Refer to the Xeon Guide for detail.

Deploy Text-to-Image Service on Gaudi

Refer to the Gaudi 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'