Skip to content

GET_FILTERS API Documentation ​

🌐 Language Switch ​

中文版 | English

Interface Information ​

POST /openapi/capcut-mate/v1/get_filters

Function Description ​

Return the built-in JianYing filter list, optionally narrowed to VIP or free filters. Use it to look up a valid filter_title before calling add_filters.

Request Parameters ​

json
{
  "mode": 0
}

Parameter Description ​

ParameterTypeRequiredDefaultDescription
modeinteger❌00 = all filters, 1 = VIP only, 2 = free only

Parameter Details ​

mode ​

  • Type: integer
  • Description: Which filters to return
  • Range: 0-2
  • Default: 0
  • Values:
    • 0 - All filters
    • 1 - VIP filters only
    • 2 - Free filters only

Response Format ​

Success Response (200) ​

json
{
  "code": 0,
  "message": "success",
  "filters": [
    {
      "name": "1980",
      "is_vip": false,
      "resource_id": "7127828208690433311",
      "effect_id": "7127828208690433311",
      "has_params": false
    }
  ]
}

Response Field Description ​

FieldTypeDescription
filtersarrayFilter object array
filters[].namestringFilter name; pass it as filter_title to add_filters
filters[].is_vipbooleanWhether the filter is a VIP filter
filters[].resource_idstringFilter resource ID
filters[].effect_idstringFilter effect ID
filters[].has_paramsbooleanWhether the filter carries extra parameters

Error Response ​

json
{
  "code": 2040,
  "message": "Get filter list failed"
}

Usage Examples ​

cURL Examples ​

1. All Filters ​

bash
curl -X POST https://capcut-mate.jcaigc.cn/openapi/capcut-mate/v1/get_filters \
  -H "Content-Type: application/json" \
  -d '{
    "mode": 0
  }'

2. Free Filters Only ​

bash
curl -X POST https://capcut-mate.jcaigc.cn/openapi/capcut-mate/v1/get_filters \
  -H "Content-Type: application/json" \
  -d '{
    "mode": 2
  }'

Error Code Description ​

Error CodeError MessageDescriptionSolution
1001Parameter validation failedmode is outside 0-2 or has the wrong typePass 0, 1 or 2
2040Get filter list failedFailed while reading the filter metadataRetry or contact technical support

Notes ​

  1. No Draft Needed: this interface is read-only and does not touch any draft
  2. Name Matching: name is exactly the value accepted by add_filters as filter_title
  3. List Size: the list comes from the local JianYing metadata and changes with the built-in metadata version (currently 1052 filters: 802 VIP, 250 free)
  4. Use with add_filters: names returned here are guaranteed to resolve; unmatched names make add_filters fail with 2039

Workflow ​

  1. Validate the mode parameter
  2. Read the filter metadata
  3. Keep all / VIP / free filters according to mode
  4. Return the filter object array