Download transform.py from pikto/prodia: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/pikto/prodia/resolve/main/transform.py
- Command line
-
hf download hf://spaces/pikto/prodia/transform.py
-
curl -L -o transform.py https://huggingface.co/spaces/pikto/prodia/resolve/main/transform.py
278 Bytes
| import requests | |
| url = "https://api.prodia.com/v1/transform" | |
| headers = { | |
| "accept": "application/json", | |
| "content-type": "application/json", | |
| "X-Prodia-Key": "69e66898-010d-4cd1-9e22-090f73ad007b" | |
| } | |
| response = requests.post(url, headers=headers) | |
| print(response.text) |