Skip to main content
AI Video Generation tools allow you to create high-quality videos from simple text descriptions using advanced AI models. These tools support multiple video formats, aspect ratios, and durations for various use cases.
  • LUMA_TEXT_TO_VIDEO
    • Generate videos using Luma AI’s models (model: ray-2 (default), ray-flash-2, ray-1-6)
    • resolution: 540p, 720p (default), 1080p, or 4k; aspect_ratio: 16:9 (default), 9:16, 1:1, 4:3, 3:4, 21:9
    • duration: 5s (default) or 10s; set loop to true for a seamlessly looping video
    • Returns video_url, thumbnail_url, generation_id, status, width, height, and duration
  • LUMA_TEXT_TO_IMAGE
    • Generate images from text descriptions (model: photon-1 (default) or photon-flash-1; aspect_ratio: 1:1, 3:4, 4:3, 9:16, 16:9 (default), 9:21, 21:9)
    • Returns image_url, generation_id, status, width, and height
  • KLING_TEXT_TO_VIDEO
    • Generate videos using Kling AI’s models (model: v2/master (default) or v1.6/standard)
    • duration: 5 (default) or 10 seconds; aspect_ratio: 16:9 (default), 9:16, 1:1; optional negative_prompt and cfg_scale (0–1, default 0.5)
    • Returns video_url, status, duration, and aspect_ratio
All generation options are step inputs; the only configuration field is the api_key. For further details, click here and click here. To use video generation tools, you need API keys from the respective services: Note: Treat API keys as sensitive information and never commit them to public repositories.

Generate a video from text

Example: Video Content Creation Pipeline

Example: Video Generation with Quality Control

Generate an image and videos from text

Tips and Best Practices

  • Use specific, detailed prompts for better video quality
  • Choose the right model based on your needs (quality vs speed)
  • Consider aspect ratio based on intended platform (16:9 for web, 9:16 for mobile)
  • Test different prompt variations to find the best results
  • Use looping for background videos and website elements
  • Plan video duration based on platform requirements
  • Include lighting, camera movement, and composition details in prompts
  • Consider creating multiple versions for A/B testing
  • Monitor API usage and costs for high-volume generation