https://github.com/mathyouf/flask-dl
https://github.com/mathyouf/flask-dl
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mathyouf/flask-dl
- Owner: mathyouf
- Created: 2022-03-24T19:51:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-09T05:55:52.000Z (about 4 years ago)
- Last Synced: 2025-10-10T00:26:24.192Z (9 months ago)
- Language: Python
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Imagination Machine API
## Run these in AWS, a machine with a GPU
Setup using `bash ./setup`
Run using `python server.py`
## Run these from anywhere (eventually, our Oculus Quest from Unity)
Replace `localhost` with `Public IPv4 address` for AWS EC2 hosted servers
Test using `curl -X POST localhost:5000/getImage\?clip_input\="flower%20petal"\&folder_name\="first_folder"\&session\="first"&cutn=32&clip_guidance_scale=50000&tv_scale=80000`
`outputFile.png` will be the generated image, and will be saved to the local directroy you are calling `curl` from.
(Python should be version >3.6)