# For example with a Gradio SDK
>>> api.create_repo(repo_id=repo_id, repo_type="space", space_sdk="gradio")
```  
**1. (bis) Duplicate a Space.**  
This can prove useful if you want to build up from an existing Space instead of starting from scratch.
It is also useful is you want control over the configuration/settings of a public Space. See [`duplicate_space`] for more details.  
```py
>>> api.duplicate_space("multimodalart/dreambooth-training")
```