curl "https://<your own inference endpoint>.endpoints.huggingface.cloud" \ | |
-X POST \ | |
-H "Accept: application/json" \ | |
-H "Authorization: Bearer hf_<your own token>" \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"inputs": "underwater footage, clownfishes swimming around coral", | |
"parameters": {} | |
}' > output.json | |