mirror of
https://github.com/Hommy-master/capcut-mate.git
synced 2026-06-20 17:46:06 +08:00
2.5 KiB
2.5 KiB
GET_URL API Documentation
🌐 Language Switch
Interface Information
POST /openapi/capcut-mate/v1/get_url
Function Description
Extract links. This interface is used to extract link information from input content, converting multiple values into single value return.
More Documentation
📖 For more detailed documentation and tutorials, please visit: https://docs.jcaigc.cn
Request Parameters
{
"output": "[魂牵梦萦https://sf.com;中国人https://jcaigc.cn],\"[]\""
}
Parameter Description
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| output | string | ✅ | - | Content to extract |
Parameter Details
output
- Type: string
- Description: Content from which to extract links
- Example:
"[魂牵梦萦https://sf.com;中国人https://jcaigc.cn],\"[]\""
Response Format
Success Response (200)
{
"output": "[魂牵梦萦https://sf.com;中国人https://jcaigc.cn],\"[]\""
}
Response Field Description
| Field | Type | Description |
|---|---|---|
| output | string | Extraction result |
Error Response (4xx/5xx)
{
"detail": "Error message description"
}
Usage Examples
cURL Examples
1. Basic Usage
curl -X POST https://capcut-mate.jcaigc.cn/openapi/capcut-mate/v1/get_url \
-H "Content-Type: application/json" \
-d '{
"output": "[魂牵梦萦https://sf.com;中国人https://jcaigc.cn],\"[]\""
}'
Error Code Description
| Error Code | Error Message | Description | Solution |
|---|---|---|---|
| 400 | output is required | Missing output parameter | Provide a valid output parameter |
| 500 | Link extraction failed | Internal processing error | Contact technical support |
Notes
- Parameter Requirements: output parameter is required
- Return Value: Current version directly returns input content without additional processing
Workflow
- Validate required parameter (output)
- Call service layer to handle business logic
- Return processing result
Related Interfaces
📚 Project Resources
GitHub: https://github.com/Hommy-master/capcut-mate
Gitee: https://gitee.com/taohongmin-gitee/capcut-mate