mirror of
https://github.com/sun-guannan/CapCutAPI.git
synced 2025-11-24 19:13:01 +08:00
20 lines
1.3 KiB
JSON
20 lines
1.3 KiB
JSON
{
|
|
"is_capcut_env": true, // Whether to use CapCut environment (true) or JianYing environment (false)
|
|
"draft_domain": "https://www.capcutapi.top", // Base domain for draft operations
|
|
"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
|
|
},
|
|
"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
|
|
}
|
|
} |