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 Parameters
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') | ||