0e4ed3d 3908e27 0e4ed3d 8281fbe 0e4ed3d 3ec475e
1
2
3
4
5
6
7
8
9
import requests response = requests.post( "https://cloudqi-cqi-text-to-image-pt-v0.hf.space/run/predict", json={"data": ["A cat in space with sunglasses"]}, ) image_url = response.json()["data"][0]