Python · workflow glue

Python
client

A one-file Python 3.10+ client for schedulers, data jobs, and AI-video automation. It calls recommend, then brief.

01Usage

Describe
to pack.

Install requests, then pass a clip description.

python -m pip install requests
python wouldliker.py "morning routine vlog with oatmeal"
02Best use

Automation
friendly.

Use it from cron jobs, batch product feeds, notebook experiments, or internal workflow tools.

Input

description

Natural-language clip or product description. Optional platform, language, content_type, is_aigc.

POST /api/recommend
Output

URL

Official TikTok sound URL and sound page URL. No MP3 or audio bytes.

Safe boundary
Output

captions

Brief, caption variants, hashtags, and AIGC disclosure when needed.

POST /api/brief

Download
the file.

Use the helper as a reference implementation or drop it into your own pipeline.