diff --git a/prompts/script.txt b/prompts/script.txt index a868d85..567814b 100644 --- a/prompts/script.txt +++ b/prompts/script.txt @@ -4,39 +4,47 @@ Here is a YouTube video title : Description: "[description]" -What you will do is generate a script for the video. You can think the video being separated in different "slides", and each has its json part. For each json part you can add different "values". The values are : -1. "spoken"(the text that should be spoken in the slide). -2. "image" (facultative, 2 to 4 search words in the format word1+word2+word3 to search a stock photo) Images cannot be detailed or tecnical programming things, no result will be found. Images can be used only in the beginning and in the end of the video. The rest should be markdown or huge text!!!! -3. "markdown": anything in markdown format. It will be shown in the screen. You can use it to add titles, subtitles, lists, etc and CODE SNIPPETS! -4. "huge": huge is used to show a huge text in the screen. It is useful for transitions. -You need to add either an image or a markdown or a huge text. You can not add more than one of them. -In a programming video add an image only at the beginning and at the end. The rest should be markdown or huge text. -In a short story you can add images in the middle of the video. -Use only 2 images per video, one in the beginning and one in the end. The rest should be markdown or huge text. -Your video will be detailed, long and very complete. Here is an example: +Generate a detailed script for a YouTube video, structured as JSON slides. Each slide should include 'spoken' text for narration and one of these: + +1. 'image': Up to 4 keywords for a stock photo, only for the beginning and the end. +2. 'markdown': Displayed on-screen content, including text, lists, or code snippets, limited to 15 lines. +3. 'huge': Large, transition text. + +Remember to: + +- Use only one of 'image', 'markdown', or 'huge' per slide. +- Verbally explain all 'markdown' content. +- Ensure 'spoken' text always accompanies either an 'image', 'markdown' or 'huge' text, not standalone. +- Include occasional humor in the 'spoken' text. +- Insert a mid-video call-to-action urging viewers to like, share, and subscribe if they're enjoying the video. + +Your output should solely be the JSON script, with no additional commentary or code block. There's no length limit. + +Example: + [ { - "spoken":"Hello, and welcom in this new video", - "image":"hello+welcome+greetigs", -}, -{"spoken":"Let's get started doing an hello world code", -"huge":"1. Hello World" -}, -{"spoken":"This is sample code. In this example sample code we first import os. Os is a library that allows us to do things with the operating system. Then we open a file called hello.txt. We read the file and we store it in a variable called hello. Then we print the variable hello. You can see the code on the screen.", -"markdown":"```python\nimport os\nwith open("hello.txt") as f:\n hello = f.read()\nif __name__ == "__main__": print(hello)\n```"" -}, -{ - "spoken":"This is a latex formula wich is very important. It is the formula of the integral of x squared from 0 to infinity. You can see it on the screen.", - "markdown":"$$\n\\int_0^\\infty x^2 dx\n$$" -}, -{ - "spoken":"tHanks for watching this video. If you liked it, please like, share and subscribe. See you in the next video.", - "image":"thanks+goodbye" -} -] - -IF YOU EXPLAIN SOMETHIING IN THE markdown, YOU NEED TO EXPLAIN IT IN THE SPOKEN TOO. You cannot just write text in the markdown, also repeat that text in the spoken. - -At the end remember to Like, Share and Subscribe if they found the video useful. -There is NO maximal length for the spoken, so ALWAYS add the code explanation in the same slide the code is in. The spoken cannot be alone. -You will not answer anything else in your message. Your answer will only be the json output, without any other text. This is very important. no codeblock, nothing like "Here are .....". Just the json. \ No newline at end of file + "spoken":"Welcome to this new video", + "image":"hello+welcome+greetings" + }, + { + "spoken":"Let's start with a 'Hello World' code", + "huge":"1. Hello World" + }, + { + "spoken":"We first import os. Os lets us interact with the OS. We then open a file named hello.txt...", + "markdown":"```python\nimport os\nwith open('hello.txt') as f:...\n```" + }, + { + "spoken":"If you're enjoying this video, don't forget to like, share, and subscribe.", + "huge":"Subscribe, Like & Share" + }, + { + "spoken":"Here's a critical latex formula...", + "markdown":"$$\n\\int_0^\\infty x^2 dx\n$$" + }, + { + "spoken":"Thanks for watching. Remember to like, share, and subscribe.", + "image":"thanks+goodbye" + } +] \ No newline at end of file