Create Illustrated Storybooks Instantly with Crew AI Agents! (Groq)

  Рет қаралды 9,866

Mervin Praison

Mervin Praison

Күн бұрын

Hi everyone! 👋 In today's exciting video, I'm thrilled to walk you through the groundbreaking process of generating illustrated storybooks using AI agents. We've leveraged the power of Crew AI, Groq, and DI3 to bring your stories to life in PDF format, complete with stunning illustrations. 🎨 Whether you're an educator, a parent, or simply a storytelling enthusiast, this video is your step-by-step guide to transforming your imagination into beautifully crafted storybooks. 📚
From outlining your story with a dedicated AI agent to writing the narrative and generating captivating images, we've got you covered. We'll also dive into the technical steps, such as setting up your environment and installing necessary packages, ensuring a smooth and successful creation process. 🛠️💼
Don't forget to subscribe and hit the bell icon to stay updated on all things Artificial Intelligence on my channel. Like this video to help it reach more creative minds like yours! Let's embark on this creative journey together.
🔗 Resources:
Patreon: / mervinpraison
Ko-fi: ko-fi.com/mervinpraison
Discord: / discord
Twitter / X : / mervinpraison
Code: mer.vin/2024/03/crewai-groq-c...
Timestamps:
0:00 Introduction to AI-Powered Storybook Creation
0:58 Setting Up Your AI Tools
2:00 Installing and Configuring Crew AI and Groq
3:02 Creating Custom Tools for Image Generation and PDF Conversion
4:00 Building and Assigning AI Agents for Each Task
5:06 Generating the Storybook Content
6:14 Final Steps: Combining Text and Illustrations into a PDF
7:01 Running the Code and Showcasing the Final Product
#Generate #StoryBook #CrewAI #CrewAITutorial #AIAgents #CrewAIAgents #CrewAIFullTutorial #CrewAILocalLLM #CrewAITools #CrewAIExamples #CrewAIOllama #CrewAILocal #CrewAITutorial #CrewAIBookGenerator #CrewAIBook #CrewAIStoryBook #CrewAIStoryBook #CrewAIBooksGenerator #CrewAIBookGenerate #CrewAIBook #CrewAIGenerate #CrewAIAutomate #CrewAIAutomate #CrewAIChildrenBook #ChildrenBook #GenerateBook #AIGeneratedBook #BookGenerate #AIAgentsBook #Amazon

Пікірлер: 66
@FloodGold
@FloodGold 3 ай бұрын
Good timing on this, and I really appreciate you doing this. I'll be adding a few more features myself.
@MervinPraison
@MervinPraison 3 ай бұрын
Nice. Also please share it with the community if you find it useful. Thanks
@NotesandPens-ro9wx
@NotesandPens-ro9wx 3 ай бұрын
more features :O such as ?
@utorian4144
@utorian4144 3 ай бұрын
What was the cost of generating the story?
@HyperUpscale
@HyperUpscale 3 ай бұрын
Absolutely stunning tutorial! 🤩 Last year it took me 4 months for 100 pages princess story book ... you did for 1 minute... not bad 😅
@MervinPraison
@MervinPraison 3 ай бұрын
Thank you 😊
@siddharthshukla3557
@siddharthshukla3557 3 ай бұрын
can you make a tutorial for generating such images locally, using stable diffusion, programmatically. would love to make this workflow locally.
@crum--business
@crum--business 3 ай бұрын
Download the desired modal , if you have a good gpu, download the XL modal , else download the smaller one, Download the weights of the modal, Download all the required packages Create a script that uses the modal and provide the desired prompt, Run the script Running modals is really easy actually
@siddharthshukla3557
@siddharthshukla3557 3 ай бұрын
@@crum--business yes i was asking for the sample script
@GiovaDuarte
@GiovaDuarte 3 ай бұрын
I vote for this one as well! Using local options allow us to experiment and test things before using the stronger (and expensive) options.
@optiondrone5468
@optiondrone5468 2 ай бұрын
I vote for it too
@stevey19861
@stevey19861 2 ай бұрын
I hit a rate limit really fast! also, I get: Action 'Create markdown string' don't exist, these are the only available Actions: Read a file's content: Read a file's content() - A tool that can be used to read template.md's content.
@stevey19861
@stevey19861 Ай бұрын
Can anyone advise me on what to do?
@tonygil8617
@tonygil8617 5 сағат бұрын
I have the same issue
@truthwillout2371
@truthwillout2371 3 ай бұрын
Thanks again Mervin, though unfortunately I've been having a lot of trouble with Groq of late. It just fails constantly. Very strange. EDIT: I should say, not to discredit the video of course! I love CrewAI. I prefer it to AutoGen and I hear there's a UI on the horizon so looking forward to see how it develops.
@MervinPraison
@MervinPraison 3 ай бұрын
Yes I understand you. Groq itself is good for speed but Groq currently uses Mixtral, and AI agents are not good with Mixtral. I had to try few times to get Mixtral working
@MervinPraison
@MervinPraison 3 ай бұрын
Soon Groq will be adding more models
@truthwillout2371
@truthwillout2371 3 ай бұрын
@@MervinPraisonYes I was looking at the cards yesterday. They cost 20,000 Euros!!! I should also say when I said it fails, it fails. I can't ever get a response no matter how many times I refresh my API key. The Playground doesn't work, either. Maybe I was unlucky and tried it at bad times. But yes, OpenAI over Mixtral. And you can reduce cost by 11x by using a good RAG setup and GPT3.5
@scitechtalktv9742
@scitechtalktv9742 2 ай бұрын
⁠@@MervinPraisonApril 2024: In the meantime Groq has added a very good model, namely: Llama3 ! Perhaps you can make a video using that model?
@aimademerich
@aimademerich 3 ай бұрын
Phenomenal!!
@MervinPraison
@MervinPraison 3 ай бұрын
Thank you
@adamchan4403
@adamchan4403 3 ай бұрын
Love it 😻
@MervinPraison
@MervinPraison 3 ай бұрын
Thank you
@Future-CX
@Future-CX 2 ай бұрын
Love this I have tried this but I used ollama so I could get local agents. However even though it works reletivatively fast in the terminal it is extremely slow in crew ai. Not sure how to potentially fix this. If you could try it out that would be great because I think other people have similar issues.
@snuwan
@snuwan 3 ай бұрын
Thanks. I was going to do this myself today😊 we need to improve on formatting I guess
@MervinPraison
@MervinPraison 3 ай бұрын
Yes we need to improve a lot from here. But has greater potential
@snuwan
@snuwan 3 ай бұрын
yes. but for me I could not get it for create 5 images. it always create 2 or 3 images and do not save other images. tried many things but could not figure out why. Also I tried to use the samething to write a novel with about 2000 worlds for a chapter. But I always right a short story. I change to promots accordingly to ask agents to create a novel. Still no luck
@ojasvisingh786
@ojasvisingh786 2 ай бұрын
👏👏
@ccouto2869
@ccouto2869 3 ай бұрын
Amazing
@MervinPraison
@MervinPraison 3 ай бұрын
Thanks
@GAllium14
@GAllium14 3 ай бұрын
Best crew ai tutorial ever ❤❤❤❤
@MervinPraison
@MervinPraison 3 ай бұрын
Thank you
@youngmediageeks
@youngmediageeks 3 ай бұрын
True
@NotesandPens-ro9wx
@NotesandPens-ro9wx 3 ай бұрын
Amazing really
@MervinPraison
@MervinPraison 3 ай бұрын
Thank you
@LofiHarmony-gj2by
@LofiHarmony-gj2by 3 ай бұрын
Good video. Unfortunately, this is not a step-by-step guide. For someone like me, who knows nothing about coding. There is no information on how to reproduce what is shown in the video. Conda? Where and how to download and install it on Windows. How to start the project with visual studio, etc...
@RICHARDSON143
@RICHARDSON143 3 ай бұрын
Cooll❤
@MervinPraison
@MervinPraison 3 ай бұрын
Thank you
@rohankini6444
@rohankini6444 23 күн бұрын
Dalle-3 is a vision model right ? And it is paid ? Could you suggest any unpaid vision model image generator to use that's free and not required any cost
@mehditaslimifar2521
@mehditaslimifar2521 3 ай бұрын
Great tutorial, thanks a lot! Can you please also share the word template as well?
@MervinPraison
@MervinPraison 3 ай бұрын
Here it is : mer.vin/2024/03/crewai-groq-create-story-books/
@20windfisch11
@20windfisch11 3 ай бұрын
Could you do a video about hierarchical crews with CrewAI? Great content otherwise, short but comprehensive. The whole AI field feels like in the 80s and 90s when we got our first computers and many of us took the first steps into programming, oftentimes with BASIC. Ironically, Python has a lot of the feelings of BASIC, only that it is much more powerful and with the Internet and the open source community today, it’s much more inclusive, you don’t have to buy expensive programming resources any more.
@MervinPraison
@MervinPraison 3 ай бұрын
Hierarchical : kzbin.info/www/bejne/aaTMoniwgsqKmq8 Yes, I can understand you. I did learn BASIC too 😂. It's the same feel but in a way higher level.
@ssssssssss213
@ssssssssss213 2 ай бұрын
How to get data from pdf, I’m planning of creating an crew ai for converting pdf materials into a online course and automate the process
@tonygil8617
@tonygil8617 10 күн бұрын
how do i deal with the groq exceeded limit
@anil1234
@anil1234 Ай бұрын
I encountered an error while trying to use the tool. This was the error: [WinError 2] The system cannot find the file specified. Tool convermarkdowntopdf accepts these inputs: convermarkdowntopdf(markdownfile_name: 'string') - Converts a Markdown file to a PDF document using the mdpdf command line application. Args: markdownfile_name (str): Path to the input Markdown file. Returns: str: Path to the generated PDF file. on windows , bui I installed all packages mentioned. any help here
@gauthambalraj
@gauthambalraj 3 ай бұрын
in groq implementation the model name is misspelled its mixtral-8x7b-32768
@shuntera
@shuntera 3 ай бұрын
3 of the images generated had the same filenames as the first 2 generated and do were overwritten leaving only 2 actual .png files. I suggest prefixing the filename with the chapter name, so chapter1_filename.png, chapter2_filename.png etc Then the PDF file couldn't be generated, I think because the converter used forward slashes (mac/linux) / and I am using Windows so expecting backslashes \
@MervinPraison
@MervinPraison 3 ай бұрын
Mixtral is not the best model. I hope soon Groq will add other models . That could make this more accurate.
@jguillengarcia
@jguillengarcia 3 ай бұрын
are you working in vscode? how do you install conda in vscode?
@MervinPraison
@MervinPraison 3 ай бұрын
As long as u have conda installed in your computer, It should work on VS code
@patrikpapec1923
@patrikpapec1923 2 ай бұрын
creazy
@shuntera
@shuntera 3 ай бұрын
Ha! got mine to work, but there is zero consistency between the main characters from image to image!!!
@MervinPraison
@MervinPraison 3 ай бұрын
Yes, for that we need to modify the prompts accordingly . Also try using a image generator api which generates consistent characters.
@AlbertEinstein-cr8sv
@AlbertEinstein-cr8sv 3 ай бұрын
the code does not wait for images to get generated. i am using sdxl model api from hugging face. Any idea?
@MervinPraison
@MervinPraison 3 ай бұрын
Haven’t tried SDXL yet. You could try implementing await in python or using something like celery
@user-wr4yl7tx3w
@user-wr4yl7tx3w 2 ай бұрын
why do you need openai api key if you are running mistral model?
@HVSombrilla
@HVSombrilla 2 ай бұрын
for dalle-2
@tonywhite4476
@tonywhite4476 3 ай бұрын
having problems with mdpdf
@MervinPraison
@MervinPraison 3 ай бұрын
Make sure you have installed mdpdf using pip. or you could use any other markdown to pdf converter , but you might need to modify the code slightly
@asiddiqi123
@asiddiqi123 3 ай бұрын
Mervin for President
@MervinPraison
@MervinPraison 3 ай бұрын
Haha
@niyazshaffi6978
@niyazshaffi6978 2 ай бұрын
Anyone faced this issue? I encountered an error while trying to use the tool. This was the error: Command '['mdpdf', '--output', 'story.pdf', 'story.md']' returned non-zero exit status 1..
@MervinPraison
@MervinPraison 2 ай бұрын
Install mdpdf
@niyazshaffi6978
@niyazshaffi6978 2 ай бұрын
@@MervinPraison Its installed. May be something related to the crewai tools? Full Error: I encountered an error while trying to use the tool. This was the error: Command '['mdpdf', '--output', 'story.pdf', 'story.md']' returned non-zero exit status 1.. Tool convermarkdowntopdf accepts these inputs: convermarkdowntopdf(markdownfile_name: 'string') - Converts a Markdown file to a PDF document using the mdpdf command line application. Args: markdownfile_name (str): Path to the input Markdown file. Returns: str: Path to the generated PDF file.
@stevenesposito9305
@stevenesposito9305 26 күн бұрын
@@niyazshaffi6978 same here
CrewAI LLaMa 3: How I created AI Agents to Automate News Agency
8:43
Mervin Praison
Рет қаралды 12 М.
Anthropic's Meta Prompt: A Must-try!
12:34
Sam Witteveen
Рет қаралды 86 М.
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 7 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 9 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 13 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 61 МЛН
DSPy: MOST Advanced AI RAG Framework with Auto Reasoning and Prompting
18:55
World’s Fastest Talking AI: Deepgram + Groq
11:45
Greg Kamradt (Data Indy)
Рет қаралды 36 М.
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
pixegami
Рет қаралды 117 М.
RAG from the Ground Up with Python and Ollama
15:32
Decoder
Рет қаралды 24 М.
My AI-Powered Blog Writing Process Revealed
7:03
Mervin Praison
Рет қаралды 2,3 М.
Berbagi permen ke orang bisu‼️
0:15
Abil Fatan Key
Рет қаралды 5 МЛН