Remove docs for API

This commit is contained in:
mrfakename
2025-05-07 10:41:37 -07:00
committed by GitHub
parent e825b659e9
commit eef01b1d96
+1 -18
View File
@@ -244,27 +244,10 @@ If you intend to integrate ACE-Step as a library into your own Python projects,
1. **Ensure Git is installed:** This method requires Git to be installed on your system and accessible in your system's PATH. 1. **Ensure Git is installed:** This method requires Git to be installed on your system and accessible in your system's PATH.
2. **Execute the installation command:** 2. **Execute the installation command:**
```bash ```bash
pip install git+[https://github.com/ace-step/ACE-Step.git](https://github.com/ace-step/ACE-Step.git) pip install git+https://github.com/ace-step/ACE-Step.git
``` ```
It's recommended to use this command within a virtual environment to avoid conflicts with other packages. It's recommended to use this command within a virtual environment to avoid conflicts with other packages.
Once the installation is complete, you can import and use the ACE-Step API as shown below:
```python
from acestep.api import ACEStep
model = ACEStep()
audio_out = model.infer(
prompt="upbeat pop, catchy melody, female singer",
lyrics="[verse]\nSun is shining bright today\nFeeling happy, come what may",
audio_duration=5.0, # 5 seconds
infer_step=20 # Fewer steps for speed
)
audio_out.save_wav("output.wav")
```
#### 🛠️ Command Line Arguments #### 🛠️ Command Line Arguments
- `--checkpoint_path`: Path to the model checkpoint (default: downloads automatically) - `--checkpoint_path`: Path to the model checkpoint (default: downloads automatically)