Files
CapCutAPI/rest_client_test.http
2025-07-19 17:42:23 +08:00

33 lines
679 B
HTTP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
###
POST http://localhost:9001/add_text
Content-Type: application/json
{
"text": "",
"start": 0,
"end": 3,
"font": "SourceHanSansCN_Regular",
"font_color": "#FF0000",
"font_size": 30.0
}
###
POST http://localhost:9001/add_video
Content-Type: application/json
{
"video_url": "http://example.com/video.mp4",
"start": 0,
"end": 10,
"width": 1080,
"height": 1920
}
###稿
POST http://localhost:9001/save_draft
Content-Type: application/json
{
"draft_id": "dfd_cat_1752912902_0cae2e04",
"draft_folder":"/Users/xxx/Movies/JianyingPro/User Data/Projects/com.lveditor.draft/"
}