text_templates / README.md
Visecall's picture
Replace text template catalog with 2159 classified entries and pinned download assets
adb62f9 verified
|
Raw History Blame Contribute Delete
3.12 kB
metadata
license: other
language:
  - en
  - vi
tags:
  - text-template
  - preview-assets

AIO text templates

Fresh CapCut local database snapshot, 2026-10-20. 2,159 templates, 47 catalog categories, 68 template script sets. 2,104 downloadable templates have newly rendered transparent 256 x 256 previews with AIO Template; capture 512, 30 fps, playback 1.4x. Native layout correction revision 2.

Download catalog.db | Compressed catalog.db.gz | JSON catalog | Schema | Checksums | Unavailable items

Every complete template is one ZIP containing its scripts, fonts, effects, animations and stickers. No CapCut API lookup is required to download/install. ZIP bytes have SHA-256, MD5 and size fields. Preview/poster URLs and checksums support persistent disk caches; consumers should animate visible cards only. Assets are pinned to the commit recorded in meta.asset_revision.

Catalog schema 2: templates retains all 2,159 records; use available_templates (or downloadable=1) for the usable list. The 54 templates missing 46 upstream resources have no fake preview or downloadable bundle. One fully resourced template produces entirely transparent native frames and remains unavailable. Its complete bundle is retained for diagnosis only.

Install a template with Python 3 (standard library only):

python download_template.py TEMPLATE_ID --catalog catalog.db --output ./cache

The installer verifies the bundle hash, extracts safely, and converts portable path tokens in manifest-listed text files into the installation directory. Raw extraction alone is insufficient. Dependencies use dependencies/ID/MD5; depends points to the actual font file or resource directory. Bundle sources retain authored text. To produce AIO Template previews, the Lab warms the original layout four times at the authored poster time, then applies a native rich-text select-all edit, retaining authored line breaks and secondary text fields.

These are CapCut native reference renders, not a standalone template SDK. Older scene-loader templates have explicit widget ABI adapters. Eight available legacy-schema templates use a projection whose char_bgs and animation/layout parity are not established. A successful render is not a pixel-parity assertion. See classification and diagnostics. Original downloads remain unchanged in Lab; portable bundles are derived assets and have separate checksums. Native DLLs, private database snapshots, signed URLs and machine-specific paths are excluded.

This replaces the old remote catalog; AIO integration must support schema 2 and the portable installation contract. This publication does not change the AIO application or certify its runtime/export behavior for every template.

catalog_manifest.json is a small version/checksum document. The installer reuses a matching cached SQLite file and otherwise downloads the lossless compressed catalog. Unchanged catalogs and ZIPs are reused.