Run NijiCraft: Open NijiCraft from the Command Palette to open the panel. Each sidebar tab builds the corresponding CLI command and executes resources/main.exe in the extension’s resources folder.
Config
Setting
Description
API
API key used across Novel, Manga, and Anime when their API field is empty or refreshed from global state
Novel
Setting
Description
FOLDER
Output / work folder path
NUM
Number of episodes to generate
CONFIG
Configuration profile name
SERIF
Character dialogue settings
WRITING_STYLE
Writing style
DRAFT
Path to the draft file
API
API key (falls back to Config)
MODEL
Text model name
WINDOW
Context window size
Manga
Setting
Description
FOLDER
Manga work folder
NUM
Batch / episode count (CLI --NUM)
PLOT_FOLDER
Plot source folder (e.g. novel product path)
API
API key (falls back to Config)
MODEL_TEXT
Text model
MODEL_IMAGE
Image model
WINDOW
Window size
CONTEXT
Free-text instruction (e.g. page count prompt)
Anime
Setting
Description
FOLDER
Anime work folder
NUM
Batch / cut-related count (CLI --NUM)
PLOT_FOLDER
Plot / reference work folder
API
API key (falls back to Config)
MODEL
Text model
MODEL_IMAGE
Image model
VIDEO_MODEL
Video generation model
WINDOW
Window size
CONTEXT
Free-text instruction (e.g. number of cuts)
Model choices are persisted where applicable (e.g. Novel MODEL, Manga MODEL_TEXT / MODEL_IMAGE, Anime MODEL plus anime-specific image and video models) so the next open restores your selections.
Setup
npm install
npm run compile
Press F5 to launch the extension (build runs automatically).
Using Cursor
Align engines.vscode in package.json with your Cursor version. You can fix it automatically with:
npm run fix-engines
Distribution
Package as a VSIX:
npx @vscode/vsce package
Install the generated .vsix via Extensions: Install from VSIX... in VS Code or Cursor.