Generate Seedance videos with the Vancine Doubao API using polling

Go to Workflow
0 views
Built by Vancine AI Vancine AI
Created on July 16, 2026

Description

Quick overview
Generate Seedance videos through the Vancine API, automatically poll asynchronous tasks, return the final video URL, and handle failed or timed-out generations with bounded retries.

How it works
Starts manually to define the Seedance model, prompt, video size, base URL, and polling limits.
Sends a POST request to the Vancine /v1/video/generations endpoint to create a video generation task.
Extracts and stores the returned task ID and initializes polling state (interval and maximum attempts).
Waits for the configured interval, then sends a GET request to /v1/video/generations/{task_id} to check task status.
Repeats polling until the task status is completed or until the maximum poll count is reached.
Outputs the generated video result_url when completed, or stops with an error if the task fails or times out.

Setup
Create an HTTP Header Auth credential with Name set to Authorization and Value set to Bearer YOUR_VANCINE_API_KEY. Assign the same credential to both HTTP Request nodes: submitTask and pollTask.
Confirm the Vancine API base URL in the workflow (default https://vancine.com) matches your environment.
Update the prompt, model, size, and polling settings (intervalSeconds and maxPolls) to fit your use case and expected render time.

Requirements
Requires an n8n instance with standard HTTP Request, Wait, IF, Merge, Set, Code, and Stop And Error nodes, plus a Vancine account, API key, available credit, and access to the supported Seedance model. Verified on n8n 2.30.4.

Customization
Replace the Manual Trigger with a Webhook, Form, or Schedule Trigger; customize the model, prompt, video size, polling interval, and maxPolls in setFields; then route result_url to storage, databases, messaging apps, or publishing workflows.

Additional info
New Vancine accounts receive $1 in free credit and no credit card is required.

Start here:
https://vancine.com/seedance-api?utm_source=n8n&utm_medium=workflow_template&utm_campaign=seedance_starter_kit&utm_content=creator_template

API documentation:
https://vancine.com/docs#video

Tested cURL, Node.js, Python, Postman, and n8n examples:
https://github.com/VancineAI/seedance-api-starter

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest