comics_generator
1.0.0
يستخدم هذا البرنامج الذكاء الاصطناعى التوليدي لإنشاء شريط كوميدي كامل من سيناريو قصير.
يجب أن يذكر السيناريو الأحرف ذات الوصف المادي.
أولاً ، يتم استخدام LLM (Openai API) لتقسيم السيناريو إلى 6 لوحات مع وصفها والنص المرتبط به.
ثم لكل لوحة:
ثم يتم دمج الصور 6 التي تم إنشاؤها مع نصوصها في شريط نهائي!
Export OPENAI_API_KEY و STABILITY_KEY . (استخدم export OPENAI_API_KEY=xxx أو اكتبها في ملف .env )
تثبيت التبعيات: pip install langchain openai stability-sdk pillow
يجب أن تكون الوسادة الإصدار 9.50 الحد الأقصى
ثم قم بتحرير متغير SCENARIO في Kartoon.py.
يمكنك أيضًا تحرير متغير STYLE لتغيير النمط.
قم بتشغيل البرنامج النصي: python kartoon.py
نمط بلجيكا كوميدي
Characters: Francis is medieval knight with a shield. Madeline is a princess with long hair.
Francis hear about a dragon that is terrorizing the kingdom.
He goes to the castle to kill the dragon in an epic battle.
The princess is angry because the dragon was her friend.

نمط المانجا
Characters: Adrien is a guy with blond hair. Vincent is a guy with black hair.
Adrien and Vincent work at the office and want to start a new product.
They create it in one night before presenting it to the board.

نمط الهزلي الأمريكي
Characters: Peter is a tall guy with blond hair. Steven is a small guy with black hair.
Peter and Steven walk together in new york when aliens attack the city.
They are afraid and try to run for their lives.
The army arrive and save them.
