Recipe: daily Short via cron
# m h dom mon dow command
0 8 * * * CLIPFOUNDRY_API_KEY=cf_live_… npx @clipfoundry/cli create \
-t "Today's science fact" --style cinematic --waitOr in a scheduled function with the SDK:
import { ClipFoundry } from '@clipfoundry/sdk';
const cf = new ClipFoundry({ apiKey: process.env.CLIPFOUNDRY_API_KEY });
const job = await cf.jobs.create({ script: todaysScript(), style: 'cinematic', voiceId: 'el_brian' });
const final = await cf.jobs.waitUntilDone(job.jobId);
await publishToYouTube(final.videoUrl); // your upload step