NICESONY/2024_kongju_Generative_Competition

2024_kongju_Generative_Competition

0

stars

80

commits

Python

primary language

Jun 7, 2026

updated

README

2024_kongju_Generative_Competition

텍스트 입력으로부터 교육자료 생성을 위한 파이프라인



프로젝트 구조

pipeline/                  # 메인 파이프라인 코드
├── main.py                # FastAPI 서버 (엔트리포인트)
├── pipe.py                # 파이프라인 오케스트레이터
├── utils.py               # 텍스트-이미지 변환
├── requirements.txt       # Python 의존성
├── ocr/
│   └── recog.py           # EasyOCR + GPT 텍스트 추출
├── crawl/
│   └── crawling.py        # Bing 이미지 검색/다운로드
└── img_video/
    ├── trans.py            # 한영 번역 (Iris-7B)
    └── video.py            # I2VGen-XL 영상 생성
결과물_GIF/                 # 생성된 GIF 결과물 샘플

실행 방법

1. 환경 변수 설정

export OPENAI_API_KEY="your-openai-api-key"

2. 의존성 설치

cd pipeline
pip install -r requirements.txt

3-A. 직접 실행 (CLI)

cd pipeline
python pipe.py

3-B. FastAPI 서버 실행

cd pipeline
uvicorn main:app --host 0.0.0.0 --port 8000

API 엔드포인트:

  • POST /generate — 영상 생성 (title, hashtag, content, style_prompt)
  • GET /health — 서버 상태 확인

결과물

Moving Robot

moving robot video__80

Moving Fish

video of moving fish__26

Paper Airplane

the sky is a paper airplane__25

추가 결과물은 결과물_GIF/ 폴더를 참고하세요.


참고 자료

Contributors

NICESONY

80 commits

NICESONY/2024_kongju_Generative_Competition

2024_kongju_Generative_Competition

0

stars

80

commits

Python

primary language

Jun 7, 2026

updated

README

2024_kongju_Generative_Competition

텍스트 입력으로부터 교육자료 생성을 위한 파이프라인



프로젝트 구조

pipeline/                  # 메인 파이프라인 코드
├── main.py                # FastAPI 서버 (엔트리포인트)
├── pipe.py                # 파이프라인 오케스트레이터
├── utils.py               # 텍스트-이미지 변환
├── requirements.txt       # Python 의존성
├── ocr/
│   └── recog.py           # EasyOCR + GPT 텍스트 추출
├── crawl/
│   └── crawling.py        # Bing 이미지 검색/다운로드
└── img_video/
    ├── trans.py            # 한영 번역 (Iris-7B)
    └── video.py            # I2VGen-XL 영상 생성
결과물_GIF/                 # 생성된 GIF 결과물 샘플

실행 방법

1. 환경 변수 설정

export OPENAI_API_KEY="your-openai-api-key"

2. 의존성 설치

cd pipeline
pip install -r requirements.txt

3-A. 직접 실행 (CLI)

cd pipeline
python pipe.py

3-B. FastAPI 서버 실행

cd pipeline
uvicorn main:app --host 0.0.0.0 --port 8000

API 엔드포인트:

  • POST /generate — 영상 생성 (title, hashtag, content, style_prompt)
  • GET /health — 서버 상태 확인

결과물

Moving Robot

moving robot video__80

Moving Fish

video of moving fish__26

Paper Airplane

the sky is a paper airplane__25

추가 결과물은 결과물_GIF/ 폴더를 참고하세요.


참고 자료

Contributors

NICESONY

80 commits

Languages

Python

100.0%