login()
```  
and enter your [Hugging Face Hub access token](https://huggingface.co/docs/hub/security-tokens#what-are-user-access-tokens).  
Next we install `diffusers` and dependencies:  
```sh
pip install -q diffusers accelerate transformers
```  
The following sections give more in-detail examples of how to use IF. Specifically:  
- [Text-to-Image Generation](#text-to-image-generation)
- [Image-to-Image Generation](#text-guided-image-to-image-generation)