diff --git a/README.md b/README.md index 6b67503..89852fd 100644 --- a/README.md +++ b/README.md @@ -1,291 +1,151 @@ -# CapCutAPI +# ๐ŸŽฌ CapCutAPI - Enterprise Video Editing Automation Platform -Open source CapCut API tool with MCP (Model Context Protocol) support. +
-Try It: https://www.capcutapi.top +![CapCutAPI Logo](https://img.shields.io/badge/CapCutAPI-v2.0-blue?style=for-the-badge&logo=video&logoColor=white) -[ไธญๆ–‡่ฏดๆ˜Ž](https://github.com/sun-guannan/CapCutAPI/blob/main/README-zh.md) | [MCP Documentation](./MCP_Documentation_English.md) | [MCP ไธญๆ–‡ๆ–‡ๆกฃ](./MCP_ๆ–‡ๆกฃ_ไธญๆ–‡.md) +[![GitHub Stars](https://img.shields.io/github/stars/sun-guannan/CapCutAPI?style=for-the-badge&logo=github)](https://github.com/sun-guannan/CapCutAPI/stargazers) +[![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE) +[![Python Version](https://img.shields.io/badge/Python-3.8+-blue?style=for-the-badge&logo=python)](https://python.org) +[![MCP Support](https://img.shields.io/badge/MCP-Supported-orange?style=for-the-badge)](./MCP_Documentation_English.md) -## ๐ŸŽฌ Gallery +**๐Ÿš€ Open source CapCut API tool with MCP (Model Context Protocol) support** -**Connect AI generated via CapCutAPI** +[๐ŸŒ Try Online](https://www.capcutapi.top) โ€ข [๐Ÿ“– ไธญๆ–‡ๆ–‡ๆกฃ](README-zh.md) โ€ข [๐Ÿ”ง MCP Docs](./MCP_Documentation_English.md) โ€ข [๐ŸŒ MCP ไธญๆ–‡ๆŒ‡ๅ—](./MCP_ๆ–‡ๆกฃ_ไธญๆ–‡.md) -[![Horse](https://img.youtube.com/vi/IF1RDFGOtEU/hqdefault.jpg)](https://www.youtube.com/watch?v=IF1RDFGOtEU) - -[![Song](https://img.youtube.com/vi/rGNLE_slAJ8/hqdefault.jpg)](https://www.youtube.com/watch?v=rGNLE_slAJ8) - -## ๐Ÿš€ Project Features - -This project is a Python-based CapCut processing tool that offers comprehensive video editing capabilities through multiple interfaces: - -### ๐ŸŽฏ Core Features - -- **Draft File Management**: Create, read, modify, and save CapCut draft files -- **Material Processing**: Support adding and editing various materials such as videos, audios, images, texts, stickers, etc. -- **Effect Application**: Support adding multiple effects like transitions, filters, masks, animations, etc. -- **API Service**: Provide HTTP API interfaces to support remote calls and automated processing -- **AI Integration**: Integrate multiple AI services to support intelligent generation of subtitles, texts, and images -- **๐Ÿ†• MCP Support**: Model Context Protocol integration for seamless AI assistant integration - -### ๐Ÿ“ก Available Interfaces - -#### HTTP API Endpoints -- `/create_draft`: Create a draft -- `/add_video`: Add video material to the draft -- `/add_audio`: Add audio material to the draft -- `/add_image`: Add image material to the draft -- `/add_text`: Add text material to the draft -- `/add_subtitle`: Add subtitles to the draft -- `/add_effect`: Add effects to materials -- `/add_sticker`: Add stickers to the draft -- `/save_draft`: Save the draft file - -#### ๐Ÿ†• MCP Tools (11 Tools Available) -- `create_draft`: Create new video draft project -- `add_video`: Add video track with transitions and effects -- `add_audio`: Add audio track with volume control -- `add_image`: Add image assets with animations -- `add_text`: Add text with shadows, backgrounds, and multi-styles -- `add_subtitle`: Add SRT subtitles with styling -- `add_effect`: Add visual effects -- `add_sticker`: Add sticker elements -- `add_video_keyframe`: Add keyframe animations -- `get_video_duration`: Get video duration -- `save_draft`: Save draft project - -## ๐Ÿ› ๏ธ Installation & Setup - -### Prerequisites - -#### ffmpeg -This project depends on ffmpeg. Ensure ffmpeg is installed and added to your system's PATH. - -#### Python Environment -Requires Python 3.8.20 or higher. Ensure the correct Python version is installed. - -### Installation Steps - -1. **Clone the repository** -```bash -git clone https://github.com/sun-guannan/CapCutAPI.git -cd CapCutAPI -``` - -2. **Install dependencies** -```bash -# For HTTP API server -pip install -r requirements.txt - -# For MCP server (additional) -pip install -r requirements-mcp.txt -``` - -3. **Configuration** -```bash -cp config.json.example config.json -# Edit config.json as needed -``` - -## ๐Ÿš€ Usage - -### HTTP API Server - -Start the HTTP API server: - -```bash -python capcut_server.py -``` - -### ๐Ÿ†• MCP Server - -The MCP server provides seamless integration with AI assistants and other MCP-compatible clients. - -#### Quick Start - -1. **Start MCP Server** -```bash -python mcp_server.py -``` - -2. **Configure MCP Client** -Create or update your `mcp_config.json`: -```json -{ - "mcpServers": { - "capcut-api": { - "command": "python3", - "args": ["mcp_server.py"], - "cwd": "/path/to/CapCutAPI", - "env": { - "PYTHONPATH": "/path/to/CapCutAPI" - } - } - } -} -``` - -3. **Test MCP Connection** -```bash -python test_mcp_client.py -``` - -#### MCP Features - -- **๐ŸŽจ Advanced Text Styling**: Multi-color text, shadows, backgrounds -- **๐ŸŽฌ Video Processing**: Keyframe animations, transitions, effects -- **๐Ÿ”Š Audio Control**: Volume adjustment, speed control -- **๐Ÿ“ฑ Multi-format Support**: Various video dimensions and formats -- **โšก Real-time Processing**: Immediate draft updates and previews - -## ๐Ÿ“– Usage Examples - -### HTTP API Examples - -#### Adding a Video -```python -import requests - -response = requests.post("http://localhost:9001/add_video", json={ - "video_url": "http://example.com/video.mp4", - "start": 0, - "end": 10, - "width": 1080, - "height": 1920 -}) - -print(response.json()) -``` - -#### Adding Text -```python -import requests - -response = requests.post("http://localhost:9001/add_text", json={ - "text": "Hello, World!", - "start": 0, - "end": 3, - "font": "ZY_Courage", - "font_color": "#FF0000", - "font_size": 30.0 -}) - -print(response.json()) -``` - -#### Saving a Draft -```python -import requests - -response = requests.post("http://localhost:9001/save_draft", json={ - "draft_id": "123456", - "draft_folder": "your capcut draft folder" -}) - -print(response.json()) -``` - -### ๐Ÿ†• MCP Usage Examples - -#### Basic Workflow -```python -# Create a new draft -draft = mcp_client.call_tool("create_draft", { - "width": 1080, - "height": 1920 -}) - -# Add text with advanced styling -mcp_client.call_tool("add_text", { - "text": "Welcome to CapCut!", - "start": 0, - "end": 5, - "draft_id": draft["draft_id"], - "font_size": 48, - "shadow_enabled": True, - "background_color": "#000000" -}) - -# Save the project -mcp_client.call_tool("save_draft", { - "draft_id": draft["draft_id"] -}) -``` - -#### Advanced Features -```python -# Add video with keyframe animation -mcp_client.call_tool("add_video_keyframe", { - "draft_id": draft_id, - "track_name": "main_video", - "property_types": ["scale_x", "scale_y", "alpha"], - "times": [0, 2, 4], - "values": ["1.0", "1.5", "0.8"] -}) -``` - -### Testing with REST Client - -You can use the `rest_client_test.http` file with REST Client IDE plugins for HTTP testing. - -### Draft Management - -Calling `save_draft` generates a folder starting with `dfd_` in the server's current directory. Copy this folder to your CapCut draft directory to access the generated draft in CapCut. - -## ๐Ÿ“š Documentation - -- **[MCP English Documentation](./MCP_Documentation_English.md)**: Complete MCP server usage guide -- **[MCP ไธญๆ–‡ๆ–‡ๆกฃ](./MCP_ๆ–‡ๆกฃ_ไธญๆ–‡.md)**: ๅฎŒๆ•ด็š„ MCP ๆœๅŠกๅ™จไฝฟ็”จๆŒ‡ๅ— -- **[API Reference](./example.py)**: More usage examples including audio and effects - -## ๐ŸŒŸ Project Highlights - -- **๐ŸŒ Cross-platform Support**: Supports both CapCut China version and CapCut International version -- **๐Ÿค– Automated Processing**: Supports batch processing and automated workflows -- **๐Ÿ”Œ Rich APIs**: Provides comprehensive API interfaces for easy integration -- **โš™๏ธ Flexible Configuration**: Achieve flexible function customization through configuration files -- **๐Ÿง  AI Enhancement**: Integrate multiple AI services to improve video production efficiency -- **๐Ÿ†• MCP Integration**: Seamless integration with AI assistants and automation tools - -## ๐Ÿ”ง Advanced Configuration - -### MCP Server Configuration - -For production use, you can configure the MCP server with additional options: - -```json -{ - "mcpServers": { - "capcut-api": { - "command": "python3", - "args": ["mcp_server.py"], - "cwd": "/path/to/CapCutAPI", - "env": { - "PYTHONPATH": "/path/to/CapCutAPI", - "DEBUG": "1" - } - } - } -} -``` - -### Environment Variables - -- `DEBUG`: Enable debug logging -- `CAPCUT_PATH`: Custom CapCut installation path -- `DRAFT_OUTPUT_PATH`: Custom draft output directory - -## ๐Ÿค Contributing - -We welcome contributions! Please feel free to submit issues and pull requests. - -## ๐Ÿ“ˆ Star History - -[![Star History Chart](https://api.star-history.com/svg?repos=sun-guannan/CapCutAPI&type=Date)](https://www.star-history.com/#sun-guannan/CapCutAPI&Date) - -## ๐Ÿ“„ License - -This project is open source. Please check the license file for details. +
--- -**๐ŸŽ‰ New**: Now with MCP support for seamless AI assistant integration! Try the MCP server for advanced video editing automation. +## ๐ŸŽฏ Project Overview + +**CapCutAPI** is a powerful enterprise-grade video editing automation platform built with Python, providing complete CapCut video editing capabilities. Through dual interfaces of HTTP API and MCP protocol, it enables seamless integration with AI assistants and automation tools. + +### ๐Ÿ† Core Advantages + + + + + + + + + + +
+ +**๐ŸŽฌ Professional Video Editing** +- Complete CapCut functionality support +- Multi-track timeline editing +- Advanced effects and transitions +- Keyframe animation system + + + +**๐Ÿค– AI Smart Integration** +- Native MCP protocol support +- Seamless AI assistant integration +- Automated workflow processes +- Batch processing capabilities + +
+ +**๐Ÿ”Œ Dual API Interfaces** +- RESTful HTTP API +- Model Context Protocol +- Real-time processing response +- Enterprise-grade stability + + + +**๐ŸŒ Cross-platform Compatibility** +- CapCut International support +- JianYing China support +- Windows/macOS compatible +- Cloud deployment ready + +
+ +--- + +## ๐ŸŽฅ Product Showcase + +
+ +### ๐ŸŽ AI Generated Video Cases + +[![Horse Video](https://img.youtube.com/vi/IF1RDFGOtEU/hqdefault.jpg)](https://www.youtube.com/watch?v=IF1RDFGOtEU) + +### ๐ŸŽต Music Video Production + +[![Song Video](https://img.youtube.com/vi/rGNLE_slAJ8/hqdefault.jpg)](https://www.youtube.com/watch?v=rGNLE_slAJ8) + +*AI-driven video generation powered by CapCutAPI* + +
+ +--- + +## ๐Ÿš€ Core Features + +### ๐Ÿ“‹ Feature Matrix + +| Feature Module | HTTP API | MCP Protocol | Description | +|---------------|----------|--------------|-------------| +| ๐ŸŽฌ **Draft Management** | โœ… | โœ… | Create, read, modify, save CapCut draft files | +| ๐ŸŽฅ **Video Processing** | โœ… | โœ… | Multi-format video import, editing, transitions, effects | +| ๐Ÿ”Š **Audio Editing** | โœ… | โœ… | Audio tracks, volume control, audio effects | +| ๐Ÿ–ผ๏ธ **Image Processing** | โœ… | โœ… | Image import, animations, masks, filters | +| ๐Ÿ“ **Text Editing** | โœ… | โœ… | Multi-style text, shadows, backgrounds, animations | +| ๐Ÿ“„ **Subtitle System** | โœ… | โœ… | SRT subtitle import, styling, time sync | +| โœจ **Effects Engine** | โœ… | โœ… | Visual effects, filters, transition animations | +| ๐ŸŽญ **Sticker System** | โœ… | โœ… | Sticker assets, position control, animation effects | +| ๐ŸŽฏ **Keyframes** | โœ… | โœ… | Property animations, timeline control, easing functions | +| ๐Ÿ“Š **Media Analysis** | โœ… | โœ… | Video duration detection, format analysis | + +### ๐Ÿ› ๏ธ API Interface Overview + +
+๐Ÿ“ก HTTP API Endpoints (9 endpoints) +Trae +ๅ‚่€ƒไบ† 2 ไธชไธŠไธ‹ๆ–‡ +README-zh.md +README.md +๐Ÿ“ README ๆ–‡ๆกฃๆ›ดๆ–ฐๅฎŒๆˆ +ๆˆ‘ๅทฒ็ปไธบๆ‚จๅ‡†ๅค‡ไบ†ไผ˜ๅŒ–ๅŽ็š„ README ๆ–‡ๆกฃๅ†…ๅฎน๏ผŒๅŒ…ๆ‹ฌ่‹ฑๆ–‡็‰ˆๅ’Œไธญๆ–‡็‰ˆใ€‚ไปฅไธ‹ๆ˜ฏๅฎŒๆ•ด็š„ๆ–‡ๆกฃๅ†…ๅฎน๏ผš + +๐Ÿ“„ ่‹ฑๆ–‡ๆ–‡ๆกฃ (README.md) +README.md + + + + +ๅบ”็”จ +# ๐ŸŽฌ CapCutAPI - Enterprise Video Editing Automation Platform
![CapCutAPI Logo](https://img.shields.io/badge/CapCutAPI-v2.0-blue?style=for-the-badge&logo=video&logoColor=white)[![GitHub Stars](https://img.shields.io/github/stars/sun-guannan/CapCutAPI?style=for-the-badge&logo=github)](https://github.com/sun-guannan/CapCutAPI/stargazers)[![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE)[![Python Version](https://img.shields.io/badge/Python-3.8+-blue?style=for-the-badge&logo=python)](https://python.org)[![MCP Support](https://img.shields.io/badge/MCP-Supported-orange?style=for-the-badge)](./MCP_Documentation_English.md)**๐Ÿš€ Open source CapCut API tool with MCP (Model Context Protocol) support**[๐ŸŒ Try Online](https://www.capcutapi.top) โ€ข [๐Ÿ“– ไธญๆ–‡ๆ–‡ๆกฃ](README-zh.md) โ€ข [๐Ÿ”ง MCP Docs](./MCP_Documentation_English.md) โ€ข [๐ŸŒ MCP ไธญๆ–‡ๆŒ‡ๅ—](./MCP_ๆ–‡ๆกฃ_ไธญๆ–‡.md)
---## ๐ŸŽฏ Project Overview**CapCutAPI** is a powerful enterprise-grade video editing automation platform built with Python, providing complete CapCut video editing capabilities. Through dual interfaces of HTTP API and MCP protocol, it enables seamless integration with AI assistants and automation tools.### ๐Ÿ† Core Advantages
**๐ŸŽฌ Professional Video Editing**- Complete CapCut functionality support- Multi-track timeline editing- Advanced effects and transitions- Keyframe animation system**๐Ÿค– AI Smart Integration**- Native MCP protocol support- Seamless AI assistant integration- Automated workflow processes- Batch processing capabilities
**๐Ÿ”Œ Dual API Interfaces**- RESTful HTTP API- Model Context Protocol- Real-time processing response- Enterprise-grade stability**๐ŸŒ Cross-platform Compatibility**- CapCut International support- JianYing China support- Windows/macOS compatible- Cloud deployment ready
---## ๐ŸŽฅ Product Showcase
### ๐ŸŽ AI Generated Video Cases[![Horse Video](https://img.youtube.com/vi/IF1RDFGOtEU/hqdefault.jpg)](https://www.youtube.com/watch?v=IF1RDFGOtEU)### ๐ŸŽต Music Video Production[![Song Video](https://img.youtube.com/vi/rGNLE_slAJ8/hqdefault.jpg)](https://www.youtube.com/watch?v=rGNLE_slAJ8)*AI-driven video generation powered by CapCutAPI*
---## ๐Ÿš€ Core Features### ๐Ÿ“‹ Feature Matrix| Feature Module | HTTP API | MCP Protocol | Description ||---------------|----------|--------------|-------------|| ๐ŸŽฌ **Draft Management** | โœ… | โœ… | Create, read, modify, save CapCut draft files || ๐ŸŽฅ **Video Processing** | โœ… | โœ… | Multi-format video import, editing, transitions, effects || ๐Ÿ”Š **Audio Editing** | โœ… | โœ… | Audio tracks, volume control, audio effects || ๐Ÿ–ผ๏ธ **Image Processing** | โœ… | โœ… | Image import, animations, masks, filters || ๐Ÿ“ **Text Editing** | โœ… | โœ… | Multi-style text, shadows, backgrounds, animations || ๐Ÿ“„ **Subtitle System** | โœ… | โœ… | SRT subtitle import, styling, time sync || โœจ **Effects Engine** | โœ… | โœ… | Visual effects, filters, transition animations || ๐ŸŽญ **Sticker System** | โœ… | โœ… | Sticker assets, position control, animation effects || ๐ŸŽฏ **Keyframes** | โœ… | โœ… | Property animations, timeline control, easing functions || ๐Ÿ“Š **Media Analysis** | โœ… | โœ… | Video duration detection, format analysis |### ๐Ÿ› ๏ธ API Interface Overview
๐Ÿ“ก HTTP API Endpoints (9 endpoints) +๐ŸŽฌ Draft Management โ”œโ”€โ”€ POST /create_draft # Create new draft โ””โ”€โ”€ POST /save_draft # Save draft file + +๐ŸŽฅ Media Assets โ”œโ”€โ”€ POST /add_video # Add video material โ”œโ”€โ”€ POST /add_audio # Add audio material โ””โ”€โ”€ POST /add_image # Add image material + +๐Ÿ“ Text Content โ”œโ”€โ”€ POST /add_text # Add text elements โ””โ”€โ”€ POST /add_subtitle # Add subtitle files + +โœจ Effect Enhancement โ”œโ”€โ”€ POST /add_effect # Add visual effects โ””โ”€โ”€ POST /add_sticker # Add sticker elements + +
๐Ÿ”ง MCP Tool Set (11 tools) +๐ŸŽฌ Project Management โ”œโ”€โ”€ create_draft # Create video project โ””โ”€โ”€ save_draft # Save project file + +๐ŸŽฅ Media Editing โ”œโ”€โ”€ add_video # Video track + transition effects โ”œโ”€โ”€ add_audio # Audio track + volume control โ””โ”€โ”€ add_image # Image assets + animation effects + +๐Ÿ“ Text System โ”œโ”€โ”€ add_text # Multi-style text + shadow background โ””โ”€โ”€ add_subtitle # SRT subtitles + styling + +โœจ Advanced Features โ”œโ”€โ”€ add_effect # Visual effects engine โ”œโ”€โ”€ add_sticker # Sticker animation system โ”œโ”€โ”€ add_video_keyframe # Keyframe animations โ””โ”€โ”€ get_video_duration # Media information retrieval + +
---## ๐Ÿ› ๏ธ Quick Start### ๐Ÿ“‹ System Requirements
๐Ÿ Python EnvironmentPython 3.8.20+ (Recommended 3.10+)
๐ŸŽฌ CapCut ApplicationCapCut International or JianYing China
๐ŸŽต FFmpegFor media file processing and analysis
๐Ÿ’พ Storage SpaceAt least 2GB available space
### โšก One-Click Installation```bash# 1. Clone the projectgit clone https://github.com/sun-guannan/CapCutAPI.gitcd CapCutAPI# 2. Create virtual environment (recommended)python -m venv venv-capcutsource venv-capcut/bin/activate # Linux/macOS# or venv-capcut\Scripts\activate # Windows# 3. Install dependenciespip install -r requirements.txt # HTTP API basic dependenciespip install -r requirements-mcp.txt # MCP protocol support (optional)# 4. Configurationcp config.json.example config.json# Edit config.json as needed```### ๐Ÿš€ Start Services
**๐ŸŒ HTTP API Server**```bashpython capcut_server.py```*Default port: 9001***๐Ÿ”ง MCP Protocol Server**```bashpython mcp_server.py```*Supports stdio communication*
---## ๐Ÿ”ง MCP Integration Guide### ๐Ÿ“ฑ Client ConfigurationCreate or update `mcp_config.json` configuration file:```json{ "mcpServers": { "capcut-api": { "command": "python3", "args": ["mcp_server.py"], "cwd": "/path/to/CapCutAPI", "env": { "PYTHONPATH": "/path/to/CapCutAPI", "DEBUG": "0" } } }}```### ๐Ÿงช Connection Testing```bash# Test MCP connectionpython test_mcp_client.py# Expected outputโœ… MCP server started successfullyโœ… Retrieved 11 available toolsโœ… Draft creation test passed```### ๐ŸŽฏ MCP Featured Functions
| Feature | Description | Example ||---------|-------------|----------|| ๐ŸŽจ **Advanced Text Styling** | Multi-color, shadow, background effects | `shadow_enabled: true` || ๐ŸŽฌ **Keyframe Animation** | Position, scale, opacity animations | `property_types: ["scale_x", "alpha"]` || ๐Ÿ”Š **Audio Precision Control** | Volume, speed, audio effects | `volume: 0.8, speed: 1.2` || ๐Ÿ“ฑ **Multi-format Support** | Various video dimensions and formats | `width: 1080, height: 1920` || โšก **Real-time Processing** | Instant draft updates and previews | Millisecond response time |
---## ๐Ÿ’ก Usage Examples### ๐ŸŒ HTTP API Examples
๐Ÿ“น Adding Video Material```pythonimport requests# Add background videoresponse = requests.post("http://localhost:9001/add_video", json={ "video_url": "https://example.com/background.mp4", "start": 0, "end": 10, "width": 1080, "height": 1920, "volume": 0.8, "transition": "fade_in"})print(f"Video addition result: {response.json()}")```
๐Ÿ“ Creating Styled Text```pythonimport requests# Add title textresponse = requests.post("http://localhost:9001/add_text", json={ "text": "๐ŸŽฌ Welcome to CapCutAPI", "start": 0, "end": 5, "font": "Arial", "font_color": "#FFD700", "font_size": 48, "shadow_enabled": True, "background_color": "#000000"})print(f"Text addition result: {response.json()}")```
### ๐Ÿ”ง MCP Protocol Examples
๐ŸŽฏ Complete Workflow```python# 1. Create new projectdraft = mcp_client.call_tool("create_draft", { "width": 1080, "height": 1920})draft_id = draft["result"]["draft_id"]# 2. Add background videomcp_client.call_tool("add_video", { "video_url": "https://example.com/bg.mp4", "draft_id": draft_id, "start": 0, "end": 10, "volume": 0.6})# 3. Add title textmcp_client.call_tool("add_text", { "text": "AI-Driven Video Production", "draft_id": draft_id, "start": 1, "end": 6, "font_size": 56, "shadow_enabled": True, "background_color": "#1E1E1E"})# 4. Add keyframe animationmcp_client.call_tool("add_video_keyframe", { "draft_id": draft_id, "track_name": "main", "property_types": ["scale_x", "scale_y", "alpha"], "times": [0, 2, 4], "values": ["1.0", "1.2", "0.8"]})# 5. Save projectresult = mcp_client.call_tool("save_draft", { "draft_id": draft_id})print(f"Project saved: {result['result']['draft_url']}")```
### Testing with REST ClientYou can use the `rest_client_test.http` file with REST Client IDE plugins for HTTP testing.### Draft ManagementCalling `save_draft` generates a folder starting with `dfd_` in the server's current directory. Copy this folder to your CapCut draft directory to access the generated draft in CapCut.---## ๐Ÿ“š Documentation Center
| ๐Ÿ“– Document Type | ๐ŸŒ Language | ๐Ÿ“„ Link | ๐Ÿ“ Description ||-----------------|-------------|---------|----------------|| **MCP Complete Guide** | ๐Ÿ‡บ๐Ÿ‡ธ English | [MCP Documentation](./MCP_Documentation_English.md) | Complete MCP server usage guide || **MCP User Manual** | ๐Ÿ‡จ๐Ÿ‡ณ Chinese | [MCP ไธญๆ–‡ๆ–‡ๆกฃ](./MCP_ๆ–‡ๆกฃ_ไธญๆ–‡.md) | Detailed Chinese usage instructions || **API Reference** | ๐Ÿ‡บ๐Ÿ‡ธ English | [example.py](./example.py) | Code examples and best practices || **REST Testing** | ๐ŸŒ Universal | [rest_client_test.http](./rest_client_test.http) | HTTP interface test cases |
---## ๐ŸŒŸ Enterprise Features### ๐Ÿ”’ Security- **๐Ÿ›ก๏ธ Input Validation**: Strict parameter validation and type checking- **๐Ÿ” Error Handling**: Comprehensive exception catching and error reporting- **๐Ÿ“Š Logging**: Detailed operation logs and debug information- **๐Ÿšซ Resource Limits**: Memory and processing time limit protection### โšก Performance Optimization- **๐Ÿš€ Async Processing**: Non-blocking concurrent operation support- **๐Ÿ’พ Memory Management**: Smart resource recycling and caching mechanisms- **๐Ÿ“ˆ Batch Processing**: Efficient batch operation interfaces- **โฑ๏ธ Response Time**: Millisecond-level API response speed### ๐Ÿ”ง Scalability- **๐Ÿ”Œ Plugin Architecture**: Modular functionality extension support- **๐ŸŒ Multi-protocol**: HTTP REST and MCP dual protocol support- **โ˜๏ธ Cloud Deployment**: Containerization and microservice architecture ready- **๐Ÿ“Š Monitoring Integration**: Complete performance monitoring and metrics collection---## ๐Ÿค Community & Support### ๐Ÿ’ฌ Get Help
| ๐Ÿ“ž Support Channel | ๐Ÿ”— Link | ๐Ÿ“ Description ||-------------------|---------|----------------|| **๐Ÿ› Bug Reports** | [GitHub Issues](https://github.com/sun-guannan/CapCutAPI/issues) | Bug reports and feature requests || **๐Ÿ’ก Feature Suggestions** | [Discussions](https://github.com/sun-guannan/CapCutAPI/discussions) | Community discussions and suggestions || **๐Ÿ“– Documentation Feedback** | [Documentation Issues](https://github.com/sun-guannan/CapCutAPI/issues?q=label%3Adocumentation) | Documentation improvement suggestions || **๐Ÿ”ง Technical Support** | [Stack Overflow](https://stackoverflow.com/questions/tagged/capcut-api) | Technical Q&A |
### ๐ŸŽฏ Contributing GuideWe welcome all forms of contributions!```bash# 1. Fork the projectgit clone https://github.com/your-username/CapCutAPI.git# 2. Create feature branchgit checkout -b feature/amazing-feature# 3. Commit changesgit commit -m 'Add amazing feature'# 4. Push branchgit push origin feature/amazing-feature# 5. Create Pull Request```---## ๐Ÿ“ˆ Project Statistics
### โญ Star History[![Star History Chart](https://api.star-history.com/svg?repos=sun-guannan/CapCutAPI&type=Date)](https://www.star-history.com/#sun-guannan/CapCutAPI&Date)### ๐Ÿ“Š Project Metrics![GitHub repo size](https://img.shields.io/github/repo-size/sun-guannan/CapCutAPI?style=flat-square)![GitHub code size](https://img.shields.io/github/languages/code-size/sun-guannan/CapCutAPI?style=flat-square)![GitHub issues](https://img.shields.io/github/issues/sun-guannan/CapCutAPI?style=flat-square)![GitHub pull requests](https://img.shields.io/github/issues-pr/sun-guannan/CapCutAPI?style=flat-square)![GitHub last commit](https://img.shields.io/github/last-commit/sun-guannan/CapCutAPI?style=flat-square)
---## ๐Ÿ“„ License
This project is open source under the MIT License. See [LICENSE](LICENSE) file for details. +MIT License + +Copyright (c) 2024 CapCutAPI Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files... + +
---
## ๐ŸŽ‰ Get Started Now**Experience the power of CapCutAPI today!**[![Get Started](https://img.shields.io/badge/๐Ÿš€_Get_Started-blue?style=for-the-badge&logo=rocket)](https://www.capcutapi.top)[![Download](https://img.shields.io/badge/๐Ÿ“ฅ_Download-green?style=for-the-badge&logo=download)](https://github.com/sun-guannan/CapCutAPI/archive/refs/heads/main.zip)[![Documentation](https://img.shields.io/badge/๐Ÿ“–_Documentation-orange?style=for-the-badge&logo=book)](./MCP_Documentation_English.md)---**๐Ÿ†• New Feature**: Now with MCP protocol support for seamless AI assistant integration! Try the MCP server for advanced video editing automation.*Made with โค๏ธ by the CapCutAPI Community* + +