Files
GenAIExamples/Text2Image
Abolfazl Shahbazi b5f95f735e Fix missing end of file chars (#1106)
Signed-off-by: Abolfazl Shahbazi <12436063+ashahba@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-13 09:40:53 -08:00
..
2024-10-24 11:43:44 +08:00
2024-11-13 09:40:53 -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'