Skip to main content

High-quality integration for https://seeda.app/

Project description

seedance-2-0-video-generator

The seedance-2-0-video-generator library provides an automated way to generate videos, showcasing key features and enabling seamless integration with the Seeda platform. It simplifies the process of creating engaging video content.

Installation

To install the seedance-2-0-video-generator package, use pip: bash pip install seedance-2-0-video-generator

Basic Usage

Here are some examples demonstrating how to use the seedance-2-0-video-generator library:

1. Generating a basic video from a sequence of images: python from seedance_2_0_video_generator import VideoGenerator

Example image paths

image_paths = ["image1.jpg", "image2.png", "image3.jpeg"]

Initialize the video generator

video_generator = VideoGenerator(output_path="basic_video.mp4")

Generate the video

video_generator.create_video_from_images(image_paths)

print("Basic video generated successfully!")

2. Adding audio to an existing video: python from seedance_2_0_video_generator import VideoGenerator

Existing video path and audio path

video_path = "basic_video.mp4" audio_path = "background_music.mp3"

Initialize the video generator

video_generator = VideoGenerator()

Add audio to the video

video_generator.add_audio_to_video(video_path, audio_path, output_path="video_with_audio.mp4")

print("Video with audio generated successfully!")

3. Creating a video with a text overlay: python from seedance_2_0_video_generator import VideoGenerator

Image path and text overlay details

image_path = "single_image.jpg" text = "Seedance 2.0 - Video Generated!" font_path = "arial.ttf" # Ensure this font file exists font_size = 36 color = (255, 255, 255) # White color position = (50, 50) # Top-left corner

Initialize the video generator

video_generator = VideoGenerator(output_path="text_overlay_video.mp4")

Create video with text overlay

video_generator.create_video_with_text(image_path, text, font_path, font_size, color, position, duration=5)

print("Video with text overlay generated successfully!")

4. Generating a video from a list of video clips: python from seedance_2_0_video_generator import VideoGenerator

List of video clips

video_clips = ["clip1.mp4", "clip2.mov", "clip3.avi"]

Initialize the video generator

video_generator = VideoGenerator(output_path="compiled_video.mp4")

Compile video clips into single video

video_generator.compile_videos(video_clips)

print("Compiled video generated successfully!")

Feature List

  • Image to Video Conversion: Easily create videos from a sequence of still images.
  • Audio Integration: Add background music or voiceovers to your videos.
  • Text Overlays: Include dynamic text elements for branding or information.
  • Video Compilation: Combine multiple video clips into a single, cohesive video.
  • Customizable Output: Control the output video's resolution, frame rate, and other parameters.
  • Error Handling: Provides informative error messages for smoother development.
  • Cross-Platform Compatibility: Designed to work seamlessly on various operating systems.

License

This project is licensed under the MIT License - see the LICENSE file for details.

This project is a gateway to the seedance-2-0-video-generator ecosystem. For advanced features and full capabilities, please visit: https://seeda.app/

Official site links:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file seedance_2_0_video_generator-1775034.136.920.tar.gz.

File metadata

File hashes

Hashes for seedance_2_0_video_generator-1775034.136.920.tar.gz
Algorithm Hash digest
SHA256 7607e76a399661aed7d781ab268607fd9c2f71133fd010b40542c3acec8a0ffa
MD5 14aa78d18216802fcfeb058fcd21bfd4
BLAKE2b-256 333d0b6329a0f9254b84f440a502ecacbfea4bd668220625582937640f7fbabe

See more details on using hashes here.

File details

Details for the file seedance_2_0_video_generator-1775034.136.920-py3-none-any.whl.

File metadata

File hashes

Hashes for seedance_2_0_video_generator-1775034.136.920-py3-none-any.whl
Algorithm Hash digest
SHA256 d7785b4a6836a80c25988decfe46b0cb83abf2399b3e43563a21703f2b8cceeb
MD5 89c28d6a35916a422b1e6b6aea554081
BLAKE2b-256 89bb852110ea7d67e064b4bf63a35a12e82ba2ccd22cc9fcc7b1bd3f8a0acb0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page