Skip to content

Image Generation Rest API working with Dall-E Mini.

Notifications You must be signed in to change notification settings

zwisler-a/dalle-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dall-E Mini Backend

Image Generation Rest API working with Dall-E Mini.

API

GET /      - Health-Ping
Response: ------------
{"success": true}
POST /dalle      - Generate images
Request: ------------- 
{
    "num_images": 1,
    "test": "test"
}
Response: ------------
[<base64 encoded image>]

Build

docker build -t dalle .

Run

Dalle Mini

docker run --gpus all -p 8080:8080 --name dalle-backend dalle

Dalle Mega

docker run --gpus all -p 8080:8080 --name dalle-backend dalle python3 app.py 8080 MEGA

Reference

https://github.com/borisdayma/dalle-mini

About

Image Generation Rest API working with Dall-E Mini.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published