#!/usr/bin/env node /** * Pulls down the upstream prompt corpora (CC BY 4.0) and emits curated * JSON files under `prompt-templates/{image,video}/`. Re-run anytime to * pick up new featured prompts. * * Usage: * node scripts/import-prompt-templates.mjs * * Source READMEs: * - https://github.com/YouMind-OpenLab/awesome-gpt-image-2 (CC BY 4.0) * - https://github.com/YouMind-OpenLab/awesome-seedance-2-prompts (CC BY 4.0) * * Each upstream README is a structured catalog. Two patterns we care about: * * Featured block: * ### No. N: