Implementation of generating a flying oxen using modal.com
- Install modal python package using
pip install modal
python3 -m modal setup
- Generate a token here and config the token secret.
- Deploy the script with
modal deploy modal_code.py
If success, it will return the app url.
- Hit the api with curl, eg
curl -X POST https://modal.com/apps/oxen-ai/oxen-stable-diffusion-test/test