Automated AI Video Generation and Download
This template automates the entire workflow of generating a video from a text prompt on the wan.video website, from login to final download.
This automation provides a complete, end-to-end solution for creating AI-generated videos. The workflow performs the following steps:
- Secure Login: Logs into your
wan.videoaccount using the email and password you provide for each run. - Claim Credits: Attempts to claim any available free daily credits to ensure you can generate a video.
- Enter Prompt: Navigates to the generation page and inputs your unique text prompt.
- Generate & Monitor: Starts the video creation process and patiently waits for it to finish, periodically checking the status.
- Extract & Download: Once the video is ready, it extracts the direct
.mp4source URL and also downloads a watermarked copy of the video file directly to your Airtop workspace. - Secure Logout: Logs out of your account to ensure your session is closed.
The final output includes the downloaded video file and the direct source URL for the generated .mp4 video.
Usage Ideas
- Automate the creation of short-form video content for social media platforms like TikTok, Instagram Reels, and YouTube Shorts.
- Generate a batch of stock video clips from a list of descriptions for use in marketing or presentations.
- Quickly create video versions of blog posts or news articles to increase engagement.
- Produce background visuals or b-roll footage for longer video projects.
Customization Ideas
This template is a powerful starting point for your video creation automations. You have the flexibility to customize it for your specific needs:
- Use Any Account: The automation is not tied to a specific account; simply provide your own credentials and text prompt for each run.
- Target a Different Service: While built for
wan.video, the core logic can be adapted by an LLM to automate other AI video generation websites. - Customize Download Options: If you have a premium account, you can easily modify the automation to select different download options, such as downloading without a watermark or in a higher resolution.
- Streamline the Workflow: Optional steps like claiming daily credits or logging out can be removed to tailor the automation to your exact process.
- Adjust Wait Times: You can change how long the automation waits for a video to be generated, accommodating both quick clips and more complex, time-intensive scenes.
Agent inputs
Required
| Name | Type | Default |
|---|---|---|
email | string | None |
| Your WAN AI account email address used to log in | ||
password | string | None |
| Your WAN AI account password | ||
textPrompt | string | None |
| The text description for the video you want to generate (e.g. 'A golden retriever running through a sunny meadow with wildflowers') | ||
From manual to automated in minutes
Related templates
Extract Insights from Fathom Video Meetings
This automation connects to your Fathom account to analyze recent meeting recordings. It uses AI to automatically classify each meeting and extract valuable, actionable insights based on your preferences, then delivers a consolidated report to your inbox.
The TikTok Listener
This automation agent searches for a specific keyword on TikTok, gathers information on recent videos, and sends a compiled HTML report to a designated email address.
Hiring Signal Lead Sourcing to Google Sheets
Find companies hiring for target roles with LinkedIn job search, identify likely hiring managers, enrich contact data, verify emails when available, and write companies and people to Google Sheets for downstream activation.
See it run.
Spin up your first agent in five minutes.
