Automate Cloudinary Image-to-Video Workflows with n8n
说明与用途
使用 n8n 和 Cloudinary 自动化图像到视频的转换:上传触发、验证标签和提示、异步生成、循环轮询、标记源图像并输出可嵌入播放器 URL。
问题
Media teams need a repeatable, no-code process to convert tagged images into cinematic videos and track the output alongside the source.
结果
The workflow produces a 4‑second, 720p cinematic video from a still image, reduces file size with auto format and quality, tags the source image for audit, and outputs a Cloudinary Video Player embed URL ready for CMS insertion.
工作流
- Webhook receives Cloudinary upload notification
- Get Asset fetches full asset record
- Eligible? checks resource_type, tags, and prompt
- Start Generation posts to Cloudinary image‑to‑video API and receives job_id
- Wait 15s pauses execution
- Poll Job GETs job status
- Completed? routes to success or give‑up
- Give Up? aborts after 20 polls or on failure
- Stop and Error logs failure details
- Tag Source Image appends video_gen_done tag
- Video Player URL builds embeddable player link
证据
Eleven n8n nodes, with no code. The generation call is one HTTP request.
$runIndex >= 20 in Give Up? is the only thing between you and an infinite poll loop.
The generated MP4 is 1.25 MB at source. Adding f_auto and q_auto reduces it to 436 KB.
- 记录日期: 2026-09-02T14:27:11.141Z