Generate Seedance 2 AI videos from form input and email links with Gmail

Quick overview This workflow collects video parameters via an n8n form, creates a Seedance 2 video generation job through the Kie.ai API, polls until the job succeeds, and emails the resulting video link using Gmail.

How it works Receives a video generation request from an n8n form with a prompt, reference image URL, duration, resolution, and aspect ratio. Sends these inputs to the Kie.ai API to create a Seedance 2 video generation task and retrieves a task ID. Waits briefly, then calls the Kie.ai API to fetch the task status using the task ID. Repeats the wait-and-status-check loop until the API reports the task state as "success". Sends an email via Gmail containing the generated video result link/details returned by the API.

Setup Create a Kie.ai API token and add it to the Authorization header in both Kie.ai HTTP requests (createTask and recordInfo). Connect a Gmail OAuth2 credential in n8n for sending the email. Set the email recipient address in the Gmail step (or map it from the form fields if you want it to be user-provided). Ensure the reference image URL you submit in the form is publicly accessible so Kie.ai can fetch it.

Requirements A Kie.ai account with an active API token and sufficient credits. An n8n instance with access to the Form Trigger, HTTP Request, Wait, IF, and Gmail nodes. A connected Gmail OAuth2 credential. A publicly accessible reference image URL.

Customization Add an email field to the form so users can choose where the generated video link is sent. Change the waiting interval depending on average Seedance generation time. Add failure handling for insufficient credits, invalid API responses, or failed generation jobs. Save generated video links to Google Sheets, Google Drive, Airtable, Slack, or another destination. Adjust available duration, resolution, and aspect-ratio options in the form.

Additional info Seedance video generation is asynchronous, so completion time may vary. The workflow continues checking the task until the API returns a successful state. Kie.ai usage may consume paid credits, and users should connect their own API token before running the workflow. Do not include a personal or production API token in the public template.

0
Downloads
0
Views
7.28
Quality Score
beginner
Complexity
Author:Awais Khalil(View Original →)
Created:8/13/2026
Updated:8/13/2026

šŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments