Skip to content

Commit

Permalink
Add how to use other endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
abersheeran authored Dec 5, 2024
1 parent c20258f commit 295f34d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ from fish_audio_sdk import Session
session = Session("your_api_key")
```

Sometimes, you may need to change our endpoint to another address. You can use

```python
from fish_audio_sdk import Session

session = Session("your_api_key", base_url="https://your-proxy-domain")
```

### Text to speech

```python
Expand Down

0 comments on commit 295f34d

Please sign in to comment.