GETTEXTEFFECTS API Documentation

July 28, 2026 Β· View on GitHub

🌐 Language Switch

δΈ­ζ–‡η‰ˆ | English

Interface Information

POST /openapi/capcut-mate/v1/get_text_effects

Function Description

Get the list of supported text flower effects (decorative text styles), with optional filtering by membership mode (all, VIP, free). This interface follows the same RESTful POST pattern as similar resource list APIs.

More Documentation

πŸ“– For more detailed documentation and tutorials, please visit: https://docs.jcaigc.cn

Request Parameters

{
  "mode": 0
}

Parameter Description

ParameterTypeRequiredDefaultDescription
modeinteger❌0Text effect mode: 0=all, 1=VIP, 2=free

Parameter Details

Text Effect Mode

Mode ValueMode NameDescription
0AllReturn all text effects (including VIP and free)
1VIPVIP text effects only
2FreeFree text effects only

Response Format

Success Response (200)

{
  "text_effects": [
    {
      "id": "7539407429763796249",
      "title": "ηΊ’ι»„η«η„°η»Όθ‰ΊθŠ±ε­—",
      "is_vip": false
    },
    {
      "id": "7351316503771368713",
      "title": "η»Όθ‰Ί - ι»‘ζš—ζ–‘ι©³ηΊ’θ‰²",
      "is_vip": false
    }
  ]
}

Response Field Description

FieldTypeDescription
text_effectsarrayText flower effect object array

TextEffectItem Object

FieldTypeDescription
idstringText effect ID
titlestringText effect name
is_vipbooleanWhether this is a VIP effect

Error Response (4xx/5xx)

{
  "detail": "Error message description"
}

Usage Examples

cURL Examples

1. Get All Text Effects

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

2. Get VIP Text Effects

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

3. Get Free Text Effects

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

Use with add_captions

// 1. Fetch text effects list
const effectsResponse = await fetch('/openapi/capcut-mate/v1/get_text_effects', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ mode: 0 })
});
const effects = await effectsResponse.json();

// 2. User selects a text effect
const selectedEffect = effects.text_effects[0];

// 3. Apply the effect when adding captions
await fetch('/openapi/capcut-mate/v1/add_captions', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    draft_id: "your_draft_id",
    captions: [...],
    text_effect: selectedEffect.title  // or selectedEffect.id
  })
});

Error Code Description

Error CodeError MessageDescriptionSolution
400Invalid mode parametermode parameter out of rangeUse 0, 1, or 2 as mode value
500filter_get_failedFailed to get text effects listContact technical support

Notes

  1. Parameter Requirements: mode is optional and defaults to 0
  2. Mode Values: mode must be one of 0, 1, or 2
  3. Performance: The text effects list can be large; client-side caching is recommended
  4. Compatibility: If there are no VIP effects, the interface returns an empty array without error
  5. Identifier Resolution: Text effects can be referenced by name or ID when calling add_captions

πŸ“š Project Resources
GitHub: https://github.com/Hommy-master/capcut-mate
Gitee: https://gitee.com/taohongmin-gitee/capcut-mate