comics_generator
1.0.0
이 프로그램은 생성 AI를 사용하여 짧은 시나리오에서 전체 만화 스트립을 만듭니다.
시나리오는 물리적 설명이있는 문자를 언급해야합니다.
먼저 LLM (OpenAI API)은 설명과 관련 텍스트와 함께 시나리오를 6 개의 패널로 나누는 데 사용됩니다.
그런 다음 각 패널에 대해 :
텍스트가있는 6 개의 생성 된 이미지가 최종 스트립으로 병합됩니다!
OPENAI_API_KEY 및 STABILITY_KEY 내보내십시오. ( export OPENAI_API_KEY=xxx 사용하거나 .env 파일로 작성하십시오)
의존성 설치 : pip install langchain openai stability-sdk pillow
베개는 버전 9.50 최대 여야합니다
그런 다음 kartoon.py에서 SCENARIO 변수를 편집하십시오.
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.
