modify read me

This commit is contained in:
sun-guannan
2025-07-19 17:25:12 +08:00
parent 1e79cd4262
commit 81dcf0e285
2 changed files with 6 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ Once the server is started, you can access the related functions through the API
```python
import requests
response = requests.post("http://localhost:9000/add_video", json={
response = requests.post("http://localhost:9001/add_video", json={
"video_url": "http://example.com/video.mp4",
"start": 0,
"end": 10,
@@ -92,7 +92,7 @@ print(response.json())
```python
import requests
response = requests.post("http://localhost:9000/add_text", json={
response = requests.post("http://localhost:9001/add_text", json={
"text": "Hello, World!",
"start": 0,
"end": 3,
@@ -109,7 +109,7 @@ print(response.json())
```python
import requests
response = requests.post("http://localhost:9000/save_draft", json={
response = requests.post("http://localhost:9001/save_draft", json={
"draft_id": "123456",
"draft_folder": "your capcut draft folder"
})