Skip to main content

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:

Metadata

Release files for seedance-2-0-video-generator 1775034.136.920

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seedance-2-0-video-generator 1775034.136.920
File Size Uploaded
seedance_2_0_video_generator-1775034.136.920.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for seedance-2-0-video-generator 1775034.136.920
File Interpreter ABI Platform
seedance_2_0_video_generator-1775034.136.920-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / seedance_2_0_video_generator-1775034.136.920.tar.gz

Download URL seedance_2_0_video_generator-1775034.136.920.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7607e76a399661aed7d781ab268607fd9c2f71133fd010b40542c3acec8a0ffa
BLAKE2b-256 checksum
How to use checksums
333d0b6329a0f9254b84f440a502ecacbfea4bd668220625582937640f7fbabe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / seedance_2_0_video_generator-1775034.136.920-py3-none-any.whl

Download URL seedance_2_0_video_generator-1775034.136.920-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7785b4a6836a80c25988decfe46b0cb83abf2399b3e43563a21703f2b8cceeb
BLAKE2b-256 checksum
How to use checksums
89bb852110ea7d67e064b4bf63a35a12e82ba2ccd22cc9fcc7b1bd3f8a0acb0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1775034.136.920 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page