auto-generate-video

1.0.0 • Public • Published

Automatic Video Generation from Python This project demonstrates how to generate a video automatically using Python. It utilizes the OpenAI API for text generation and image generation to create a video based on a given prompt or description.

Installation Before running the code, make sure you have the necessary Python packages installed. You can install them using pip:

bash Copy code pip install requests opencv-python You will also need an API key from OpenAI for both text and image generation. Replace chatgpt_api_key and dalle_api_key variables in the code with your own API keys.

Usage Run the Python script generate_video.py. Enter the story or description when prompted. The script will then translate the text to English (if necessary), generate images based on the text using the OpenAI DALL-E model, and finally create a video from the generated images. Contributing Contributions to this project are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

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

Contact For any questions or feedback regarding this project, feel free to contact Your Name.

Readme

Keywords

Package Sidebar

Install

npm i auto-generate-video

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

5.96 kB

Total Files

4

Last publish

Collaborators

  • xrdan