>>> client = InferenceClient()
>>> client.text_to_image(..., model="prompthero/openjourney-v4")
```  
<Tip>  
There are more than 200k models on the Hugging Face Hub! Each task in the [`InferenceClient`] comes with a recommended
model. Be aware that the HF recommendation can change over time without prior notice. Therefore it is best to explicitly
set a model once you are decided. Also, in most cases you'll be interested in finding a model specific to _your_ needs.