Global AI Network
Agent Template v1.0

Text to Video Generator AI with Kling

Create stunning AI-generated forest videos instantly. Generate photorealistic images with Google Nano Banana, then animate them with Kling AI for cinematic natural movement—all automated in one seamless workflow.

231+
Deployments
5m
Setup Time
Free
Pricing

Need custom configuration?

Our solution engineers can help you adapt this agent to your specific infrastructure and requirements.

Enterprise Grade Best Practices Production Optimized

INTEGRATED_MODULES

Google Nano-Banana
Google Nano-Banana
Kling V1.6 Pro
Kling V1.6 Pro
Step by Step

Setup Tutorial

mission-briefing.md

What This Agent Does

This workflow automates the creation of cinematic video content by combining AI-powered image generation with advanced video animation. Starting from a simple manual trigger, the agent generates a detailed static image based on your creative prompt, then transforms that image into a smooth, animated video with natural movement and effects. This end-to-end automation eliminates the need for expensive video production software, stock footage libraries, or manual frame-by-frame editing.

Key benefits include:

  • Time savings: Generate professional-quality videos in minutes instead of hours or days
  • Cost efficiency: Eliminate expensive video production tools and licensing fees
  • Creative flexibility: Easily iterate on ideas by adjusting prompts and regenerating content
  • Consistency: Maintain visual coherence from static concept to animated final product
  • Scalability: Create multiple video variations quickly for A/B testing, social media, or marketing campaigns

Target use cases:

  • Marketing and promotional video creation
  • Social media content generation (TikTok, Instagram Reels, YouTube Shorts)
  • Concept visualization for creative projects
  • Background content for presentations and webinars
  • Ambient video loops for digital displays and installations

Who Is It For

This workflow is ideal for content creators, marketers, small business owners, and creative professionals who need to produce video content regularly but lack access to professional video production resources. Whether you're managing social media channels, creating marketing materials, or exploring creative concepts, this agent empowers you to produce polished, animated videos without specialized technical skills or expensive software subscriptions.

It's particularly valuable for teams operating on tight budgets or aggressive timelines, as well as for individuals experimenting with AI-generated content for the first time.


Required Integrations

Before you can run this workflow, you'll need to set up two essential integrations with AI service providers. Each integration connects TaskAGI to powerful image and video generation engines.

Google Nano Banana (Image Generation)

Why it's needed: Google Nano Banana provides the foundational image generation capability. This service creates detailed, high-quality static images based on your text prompts. These images serve as the visual foundation for your animated videos, ensuring that the final video output matches your creative vision.

Setup steps:

  1. Create a Google Nano Banana account by visiting the official platform and signing up with your email address
  2. Navigate to the API credentials section in your account dashboard
  3. Generate a new API key by clicking "Create Credentials" and selecting "API Key"
  4. Copy your API key to a secure location (you'll need this in the next step)
  5. Return to TaskAGI and open the Integrations menu
  6. Select "Add Integration" and choose "Google Nano Banana" from the available options
  7. Paste your API key into the authentication field
  8. Click "Test Connection" to verify the integration is working correctly
  9. Save the integration and confirm it appears in your active integrations list

How to obtain API keys/credentials: Visit the Google Nano Banana developer portal at https://console.nanobanana.google.com. Log in with your Google account, navigate to the "API Keys" section, and generate a new key. You may need to enable billing for your account to access the image generation API. Free tier options are typically available with usage limits.

Configuration in TaskAGI: Once integrated, the Google Nano Banana connection will be available in the Generate Image node. No additional configuration is required beyond the initial API key setup—TaskAGI handles the connection automatically.

Kling V16 Pro (Video Generation)

Why it's needed: Kling V16 Pro is a state-of-the-art video generation model that transforms static images into smooth, animated videos with realistic motion and effects. This service takes the image created in the first step and brings it to life with natural, physics-based movement and environmental effects.

Setup steps:

  1. Register for a Kling V16 Pro account at the official Kling platform website
  2. Complete email verification by clicking the confirmation link sent to your inbox
  3. Access your account dashboard and navigate to "API Settings"
  4. Generate an API token by clicking "Create New Token"
  5. Select appropriate permissions (ensure "Video Generation" is enabled)
  6. Copy the generated token to a secure location
  7. Open TaskAGI and go to Integrations
  8. Click "Add Integration" and select "Kling V16 Pro"
  9. Paste your API token into the authentication field
  10. Configure rate limits if needed (recommended: start with 1 video per minute)
  11. Test the connection and save the integration

How to obtain API keys/credentials: Visit https://api.kling.ai and sign up for a developer account. After email verification, navigate to your dashboard and select "API Credentials." Generate a new API token with video generation permissions. Note that Kling V16 Pro may require account verification and initial credit setup before API access is granted.

Configuration in TaskAGI: The Kling V16 Pro integration will power the Generate Video from Image node. The connection is automatic once configured, and you can adjust video generation parameters (resolution, duration, quality) directly in the node settings.


Configuration Steps

Node 1: How This Agent Works (Documentation Node)

This node serves as an internal reference and doesn't require configuration. It documents the workflow's purpose and structure for your team.

Node 2: Manual Trigger

Purpose: Initiates the workflow when you're ready to generate content.

Configuration:

  • Trigger Type: Already set to "Manual"
  • No parameters required — simply click the trigger button to start the workflow
  • This node accepts no input data; it serves as the starting point

When to use: Click this trigger whenever you want to generate a new video. Each trigger execution will create one complete image-to-video sequence.

Node 3: Generate Image (Google Nano Banana)

Purpose: Creates a detailed static image based on your creative prompt.

Configuration parameters:

Parameter Description Example
Prompt Detailed text description of the image you want to generate "Static camera shot: A dense, dark forest during a misty morning, with ancient trees and soft golden sunlight filtering through the canopy"
Resolution Output image dimensions 1024x576 (recommended for video)
Quality Generation quality level high or ultra
Style Visual style preference cinematic, photorealistic, artistic

Best practices for prompts:

  • Be specific and descriptive: Include lighting, mood, composition, and details
  • Mention camera perspective: "Static camera shot," "wide angle," "close-up"
  • Specify time of day: "morning," "golden hour," "night"
  • Include environmental details: Weather, season, atmosphere, textures
  • Avoid contradictions: Don't request conflicting styles or impossible physics

Example prompt:

Static camera shot: A dense, dark forest during a misty morning, 
with ancient trees and soft golden sunlight filtering through the 
canopy. Fog rolls gently across the forest floor. Photorealistic 
style, cinematic lighting, wide angle perspective.

Data flow: This node outputs the generated image (Node 6035) which flows directly to the next node.

Node 4: Generate Video from Image (Kling V16 Pro)

Purpose: Transforms the static image into an animated video with natural movement.

Configuration parameters:

Parameter Description Example
Input Image Automatically receives output from Node 3 Auto-connected
Animation Prompt Instructions for how to animate the scene "Animate this scene with gentle natural movement. Rustling leaves, swaying trees, mist drifting slowly"
Duration Video length in seconds 5, 10, or 15
Frame Rate Frames per second 24 (cinematic) or 30 (smooth)
Motion Intensity How much movement to add subtle, moderate, dynamic

Best practices for animation prompts:

  • Describe natural movements: "Swaying," "drifting," "flowing," "rustling"
  • Specify camera movement (if desired): "Slow pan left," "gentle zoom," "static"
  • Include environmental effects: "Wind," "particles," "light changes"
  • Set the mood: "Peaceful," "dramatic," "ethereal"
  • Avoid jerky or unnatural motion: Kling works best with smooth, physics-based movement

Example animation prompt:

Animate this scene with gentle natural movement. Rustling leaves 
and swaying trees in a soft breeze. Mist drifting slowly across 
the forest floor. Dappled sunlight shifting subtly. Maintain a 
static camera perspective. Keep motion smooth and peaceful.

Data flow: This node receives the image from Node 3 and outputs the final video file (Node 6036).


Testing Your Agent

Step 1: Execute a Test Run

  1. Open your workflow in TaskAGI
  2. Verify all integrations are active (green status indicators in the Integrations panel)
  3. Click the Manual Trigger button to start execution
  4. Monitor the execution panel as the workflow progresses through each node

Step 2: Verify Each Node

At Node 3 (Image Generation):

  • ✓ Check that the image generation begins (you'll see a "Processing" status)
  • ✓ Wait for completion (typically 30-60 seconds)
  • ✓ Verify the generated image appears in the node output preview
  • ✓ Confirm the image matches your prompt description
  • ✓ Look for correct resolution, lighting, and composition

At Node 4 (Video Generation):

  • ✓ Confirm the image automatically feeds into this node
  • ✓ Monitor video generation progress (typically 1-3 minutes)
  • ✓ Check the output preview for smooth animation
  • ✓ Verify motion matches your animation prompt
  • ✓ Confirm video duration and frame rate are correct

Step 3: Expected Results and Success Indicators

Successful workflow execution shows:

  • ✅ Both nodes complete without errors
  • ✅ Generated image is clear, detailed, and matches your prompt
  • ✅ Video plays smoothly with natural, fluid motion
  • ✅ Animation enhances the scene without appearing jerky or artificial
  • ✅ Video file is downloadable and playable in standard video players
  • ✅ Execution time is reasonable (typically 2-4 minutes total)

Troubleshooting common issues:

  • Image doesn't match prompt: Refine your prompt with more specific details and style preferences
  • Video generation fails: Verify Kling V16 Pro integration is active and you have sufficient API credits
  • Motion looks unnatural: Adjust the animation prompt to request gentler, more subtle movement
  • Slow execution: Check your internet connection and API rate limits

Congratulations! Your workflow is now ready to generate stunning cinematic videos on demand.