Files
CapCutAPI/config.json.example

20 lines
1.3 KiB
Plaintext
Raw Normal View History

{
2025-08-03 15:28:09 +08:00
"is_capcut_env": true, // Whether to use CapCut environment (true) or JianYing environment (false)
2025-08-10 15:22:49 +08:00
"draft_domain": "https://www.capcutapi.top", // Base domain for draft operations
2025-08-03 15:28:09 +08:00
"port": 9001, // Port number for the local server
"preview_router": "/draft/downloader", // Router path for preview functionality
"is_upload_draft": false, // Whether to upload drafts to remote storage
"oss_config": { // General OSS (Object Storage Service) configuration
"bucket_name": "your-bucket-name", // OSS bucket name for general storage
"access_key_id": "your-access-key-id", // Access key ID for OSS authentication
"access_key_secret": "your-access-key-secret", // Access key secret for OSS authentication
"endpoint": "https://your-endpoint.aliyuncs.com" // OSS service endpoint URL
},
2025-08-03 15:28:09 +08:00
"mp4_oss_config": { // MP4-specific OSS configuration
"bucket_name": "your-mp4-bucket-name", // OSS bucket name for MP4 files
"access_key_id": "your-access-key-id", // Access key ID for MP4 OSS authentication
"access_key_secret": "your-access-key-secret", // Access key secret for MP4 OSS authentication
"region": "your-region", // Region for MP4 storage
"endpoint": "http://your-custom-domain" // Custom domain endpoint for MP4 access
}
}