Quick overview
This workflow collects a video prompt and optional image URL via an n8n form, starts a Kling 3.0 generation job through the Pollo API, repeatedly polls for completion, and returns the final task status and generated video URL.
How it works
- Receives a submission from an n8n form containing a prompt, optional image URL, model path, and Pollo API key.
- Sends a POST request to the Pollo API generation endpoint for the provided model (for example,
kling-ai/kling-v3-0) to start a video generation task.
- Waits 10 seconds and then requests the task status from the Pollo API using the returned task ID.
- Repeats the wait-and-status-check loop until the generation status is either
succeed or failed.
- Outputs the task ID, final status, video URL, media type, and remaining credits (with credits set to 0 if the response indicates they were refunded).
Setup
- Create a Pollo API account and have an API key available to use in the form submission.
- Set the
model_path value you want to call (for Kling 3.0, use kling-ai/kling-v3-0).
- If you use
image_url, ensure it is a publicly accessible direct link to the image.
- Run the workflow once to get the form URL, then share or embed it wherever you want users to submit prompts.