Skip to content

Commit 295f34d

Browse files
authored
Add how to use other endpoint
1 parent c20258f commit 295f34d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ from fish_audio_sdk import Session
1818
session = Session("your_api_key")
1919
```
2020

21+
Sometimes, you may need to change our endpoint to another address. You can use
22+
23+
```python
24+
from fish_audio_sdk import Session
25+
26+
session = Session("your_api_key", base_url="https://your-proxy-domain")
27+
```
28+
2129
### Text to speech
2230

2331
```python

0 commit comments

Comments
 (0)