Use this skill when the task only needs the public temporary preview flow.
https://renderingvideo.com/docs/api-and-usage.md before calling the public preview endpoints.https://renderingvideo.com/docs/json-spec.md before drafting or changing schema JSON.https://renderingvideo.com/docs/clips.md, https://renderingvideo.com/docs/elements.md, and https://renderingvideo.com/docs/elements/base-clip.md when choosing clip types or fields.https://renderingvideo.com/docs/animation-and-timing.md when the task changes timing, transitions, or animations.POST /api/preview for preview creation.{ "config": ... }.api-and-usage.md covers them.Use the bundled script:
node ./scripts/gen-preview.cjs [path_to_json_file]
gen-preview.cjs: POST https://video.renderingvideo.com/api/preview/t/:id or /preview/:idGET /api/temp/:idjson-spec.md, clips.md, and the relevant element page.scripts/gen-preview.cjs to create a temporary preview.meta or tracks should be treated as invalid input.viewerUrl when present. Fall back to url if needed.tempId, viewerUrl, url, and expiresIn instead of guessing routes.tempId, viewerUrl, url, and expiresIn when present.共 1 个版本