Automated Python Script for ChatGPT API

Job ID: 38748160

Budget: $30 – $250 AUD

Need a automated Python script to automate following using ChatGPT API integration:

ChatGPT: Perform following tasks as per the prompt for each of them:

• Get Storyline idea from the ChatGPT.
• Generate Storyline from the idea.
• Divide the storyline to different scenes.
• Generate script of 10 scenes in each go until all scenes complete. (each scene is approx. 15-20 seconds in normal conversation and around 50 scenes in total)
• Generate beginning scene 0 (hook), second last scene 51 about the next storyline and last scene 52 subscribe prompt scene.
• Refine each of the scenes 10 scenes in each go until all scenes.
• Generate SSML script for each of the scenes 10 scenes in one go until all.
• Refine SSML scripts in chunks of 10 and Save locally wr.t. nos, e.g. 1, 2, 3 etc.
• Generate Dale AI prompts for each of the Scenes in chunks of 10.
• Generate Dale Images for each of the scenes and story as per scenes. e.g. 3.wpeg and save locally
• Do above process of long video to generate 2 stories (3 scenes each) and 5 reels (1 scene each)
• Generate Social media title, description and details etc for video, stories and reels. Save locally
• Adapt prompt inputs dynamically based on previous ChatGPT responses to improve context.
• Implement comprehensive error handling to manage API limits and exceptions gracefully.
• Create an automated backup mechanism for generated scripts and images.
• Validate JSON format of ChatGPT responses to ensure data integrity.
• Develop a simple UI for non-developers to interact with the script and manage tasks.
• Implement a notification system to alert users upon completion of each task or in case of errors.
Related categories: JavaScript Python Web Scraping Automation ChatGPT