AI Generated Ad Films for Product Videography: Wellsaid, Open AI & VideoDB
Automatically Creating a professional quality advertisement from product videography B-Roll
Overview
Crafting AI content and blending results from multiple tools can be incredibly powerful and time-efficient. Manual execution of these tasks is often cumbersome and time-consuming. However, with the right tools and techniques, you can automate various processes to achieve remarkable results effortlessly.
In this tutorial, we will explore how to leverage the seamless integration between
to create captivating voiceovers for product advertisements. By harnessing the advanced capabilities of these platforms, you can enhance the storytelling and engagement of your product videos with AI-generated voiceovers; all within a single environment.
For this tutorial, we’ll be using product footage from
. ( Free for first 50 uploads, No credit card required ) 🎉
import os
os.environ["OPENAI_API_KEY"]=""
os.environ["WELLSAID_API_KEY"]=""
os.environ["VIDEO_DB_API_KEY"]=""
🎙️ Wellsaid's Voice Avatar
You will also need Wellsaid's Voice Avatar that you want to use to generate your voiceover.
For this demo, we’ll choose a slick, professional ads voiceover artist’s voice. Wellsaid has a wide range of options to choose from- you can check them out by signing up on their platform and accessing their
[{'end': '0.5338666666666667', 'response': 'The jewellery is a beautiful and delicate piece that would be perfect for any occasion. The necklace is made of a thin gold chain with a small diamond pendant, and the earrings are made of the same gold with a small diamond stud. The bracelet is made of the same gold and has a small diamond charm. The ring is made of the same gold and has a small diamond solitaire.', 'start': '0'},
🎤 Step 4: Generate Voiceover Script with LLM
Combine scene descriptions with a script prompt, instructing LLM (OpenAI) to create a suitable voiceover for your product advertisement.
This script prompt can be refined and tweaked to generate the most suitable output. Check out
script_prompt ="Here's the data from a scene index for a video from a jewellery product photoshoot. Study this and then generate a synced script based on the description below. Make sure the script is in the language, voice and style of a professional voiceover artist skilled at weaving beautiful storytelling in advertisements.\n \n"
# Add the video asset to the timeline for playback
video_asset =VideoAsset(asset_id=video.id)
timeline.add_inline(asset=video_asset)
# Add the audio asset to the timeline for playback
audio_asset =AudioAsset(asset_id=audio.id)
timeline.add_overlay(start=0, asset=audio_asset)
🪄 Step 7: Review and Share
Preview the product video with the integrated voiceover to ensure it aligns with your vision. Once satisfied, share the video to showcase your product effectively.