본문으로 건너뛰기
cccskills
무료GitHub에 공개

openstoryline-install

Set up FireRed-OpenStoryline on a local computer, from installing Python dependencies and downloading models and assets to configuring API access, starting services, and checking that the installation works.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Install, configure, and start FireRed-OpenStoryline from source on a local machine. Use when a user asks to set up OpenStoryline, troubleshoot installation, download required resources, fill config.toml API keys, or launch the MCP and web services, as well as Chinese requests like “安装 OpenStoryline”, “配置 OpenStoryline”, “启动 OpenStoryline”, “把 OpenStoryline 跑起来”, “修复 OpenStoryline 安装问题”, or “排查 OpenStoryline 启动失败”.

설치 방법 보기

이럴 때 유용합니다

  • Installing FireRed-OpenStoryline locally
  • Configuring model connections and API keys
  • Investigating installation or startup failures
  • Checking required downloads and running services

포함된 파일(1)

  • SKILL.md6.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

OpenStoryline Install

Use this skill when the task is to install or repair a local source checkout of FireRed-OpenStoryline.

Keep the workflow deterministic:

  1. Confirm the repo path and read the current README.md and config.toml.
  2. Detect local prerequisites before changing anything.
  3. Prefer a local venv install unless the user explicitly asks for Docker or conda.
  4. Download resources only after Python dependencies succeed.
  5. Validate imports and config loading before claiming success.
  6. This skill assumes macOS, Linux, or WSL with a POSIX shell.

What This Skill Covers

  • Clone the GitHub repo if needed
  • Create a Python environment
  • Install Python dependencies
  • Download .storyline models and resource/ assets
  • Fill config.toml model settings
  • Start MCP and web servers
  • Explain common installation/documentation gaps

Preconditions

Check these first:

  • git
  • Python >= 3.11
  • ffmpeg
  • wget
  • unzip

Optional:

  • docker
  • conda

If ffmpeg, wget, or unzip are missing, install them through the OS package manager before continuing.

Examples:

  • macOS with Homebrew:

    brew install ffmpeg wget unzip
    
  • Debian/Ubuntu:

    sudo apt-get update
    sudo apt-get install -y ffmpeg wget unzip
    

If no supported package manager or permission is available, stop and report the missing system dependency clearly.

Interpreter selection

First prefer any interpreter that already exists and passes version checks:

  1. A system Python >= 3.11
  2. An already available conda Python >= 3.11
  3. An already available pyenv Python >= 3.11, but only if basic stdlib modules work

Validate candidate interpreters before using them:

/path/to/python -c "import ssl, sqlite3, venv; print('stdlib_ok')"

If no supported interpreter already exists, peferr conda fallback:

conda create -y -n openstoryline-py311 python=3.11
conda run -n openstoryline-py311 python --version
conda run -n openstoryline-py311 python -m venv .venv

After a supported interpreter is found, always create a repo-local .venv and continue using .venv/bin/python for install, config validation, and service startup.

Do not duplicate the rest of the workflow for pyenv or conda unless the user explicitly asks to stay inside a conda environment.

Preferred Install Path

From the repo root:

/path/to/python -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/python -m pip install -r requirements.txt
bash download.sh

Notes:

  • download.sh pulls both model weights and a large resource archive. It can take a long time and may resume after network drops.
  • The resource download is required for a full local run, not just the Python package install.

Configuration

Before starting the app, update config.toml.

You can use scripts/update_config.py.

At minimum, fill:

.venv/bin/python scripts/update_config.py --config ./config.toml --set llm.model=REPLACE_WITH_REAL_MODEL
.venv/bin/python scripts/update_config.py --config ./config.toml --set llm.base_url=REPLACE_WITH_REAL_URL
.venv/bin/python scripts/update_config.py --config ./config.toml --set llm.api_key=sk-REPLACE_WITH_REAL_KEY

.venv/bin/python scripts/update_config.py --config ./config.toml --set vlm.model=REPLACE_WITH_REAL_MODEL
.venv/bin/python scripts/update_config.py --config ./config.toml --set vlm.base_url=REPLACE_WITH_REAL_URL
.venv/bin/python scripts/update_config.py --config ./config.toml --set vlm.api_key=sk-REPLACE_WITH_REAL_KEY

Optional but common:

  • search_media.pexels_api_key for searching media
  • TTS provider keys under generate_voiceover.providers.* (choose one provider)

Verification

Run these checks before saying installation is complete:

.venv/bin/pip check
PYTHONPATH=src .venv/bin/python -c "from open_storyline.config import load_settings; load_settings('config.toml'); print('config_ok')"

Also confirm key resources exist:

test -f .storyline/models/transnetv2-pytorch-weights.pth
test -d resource/bgms

Start Services

There are two common paths. These are long-running processes. Do not wait for them to exit normally. Treat successful startup log lines or confirmed listening ports as success, and keep the services running in separate shells/sessions as needed.

Manual start:

PYTHONPATH=src .venv/bin/python -m open_storyline.mcp.server

In a second shell:

PYTHONPATH=src .venv/bin/python -m uvicorn agent_fastapi:app --host 127.0.0.1 --port 8005

Expected Outputs

After a successful install:

  • .venv/ exists
  • MCP listens on the configured local port (commonly 127.0.0.1:8001)
  • Web listens on the configured web port (commonly 127.0.0.1:8005, though run.sh defaults may differ)

Common Problems

download.sh is slow or interrupted

Symptom:

  • Large downloads stall or reconnect

Fix:

  • Let wget continue; it supports resume behavior here
  • Verify extracted outputs instead of trusting the progress meter

Web/MCP server fails to bind

Symptom:

  • operation not permitted while binding 127.0.0.1 or 0.0.0.0

Fix:

  • In agent sandboxes, request permission to open local listening ports
  • Prefer 127.0.0.1 over 0.0.0.0 unless external access is required

Response Pattern

When reporting status to the user, separate:

  • what is installed
  • what is still downloading
  • what config is still missing
  • what address the service is listening on

Do not say "installation complete" if only the Python packages are installed but the resource bundle is still missing.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Connect video clips with AI-generated transition footage. The workflow can select and arrange clips, add background music, and render a finished video through a dedicated timeline, with user confirmation before generating all transitions together.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Connecting video clips with AI-generated transitions
  • Arranging clips for transition-based editing
  • Finishing a transition video with background music
FireRedTeam/FireRed-OpenStoryline3.6천2026년 7월 31일 업데이트

Turn video editing preferences into a reusable skill document. It identifies patterns in pacing, sound, and visual choices, confirms the summary with the user, and saves editing instructions for an agent to follow in future work.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Documenting a preferred video editing style
  • Reusing pacing and audio rules in future edits
  • Updating an existing editing style skill
FireRedTeam/FireRed-OpenStoryline3.6천2026년 7월 31일 업데이트

Organize an editing workflow for daily or travel vlogs, including footage review, clip grouping, scripts, voiceover, and music. Build a timeline and render the finished video, choosing optional steps according to the request.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Editing everyday footage into a vlog
  • Arranging travel clips into a coherent story
  • Planning an edit when requirements are unclear
FireRedTeam/FireRed-OpenStoryline3.6천2026년 7월 31일 업데이트

Run an installed OpenStoryline setup to edit local footage through conversation. Start services, submit editing requests, continue revisions in the same session, and check the generated MP4 files and their paths.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Starting services and editing local footage
  • Changing background music through follow-up requests
  • Revising script tone in the same editing session
FireRedTeam/FireRed-OpenStoryline3.6천2026년 7월 31일 업데이트

Create a rough cut of a spoken video using timestamped speech recognition. It removes redundant content, checks that the remaining speech flows and sentences are complete, and renders the edit while preserving the original audio.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating a rough cut of a spoken video
  • Checking speech flow after cuts
  • Recutting footage to match specific editing requests
FireRedTeam/FireRed-OpenStoryline3.6천2026년 7월 31일 업데이트

Write video narration or dialogue using the style of a reference text. Analyze its rhythm, phrasing, and emotional tone, then create a connected script and title grounded in the actual footage.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Writing video narration in the style of a supplied sample
  • Matching script tone to reference phrasing and rhythm
  • Connecting grouped clips through a coherent script
FireRedTeam/FireRed-OpenStoryline3.6천2026년 7월 31일 업데이트

FireRedTeam의 스킬 모두 보기

이 스킬의 문제 신고