Generate AI images and videos with forms, webhooks and imgmov API
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs when someone submits an n8n form (“imgmov AI Generation Trigger”) (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls api.imgmov.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“imgmov AI Generation Trigger”) (plus 1 other trigger).
- Normalize Input Parameters (Edit Fields (Set)): sets 3 fields: prompt, modelId, aspectRatio
- Start imgmov Generation (HTTP Request): calls api.imgmov.com (POST)
- Wait: waits 10 seconds
- Poll Task Status (HTTP Request): calls an HTTP API
- Is Completed? (If): checks a condition and branches into true / false
- Format Generation Results (Edit Fields (Set)): sets 7 fields: taskId, status, type…
- Is Failed? (If): checks a condition and branches into true / false
- Respond to Webhook: sends the response back to the webhook caller
- Stop on Failure (Stop and Error): stops the run with an error
HTTP calls to: api.imgmov.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick Overview This workflow accepts a prompt, model ID, and aspect ratio via an n8n form or webhook, starts an AI image/video generation task on imgmov.com, polls the task status until completion, and returns the final result URLs (or an error) as a JSON…