Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
videogen
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
videogen
Commits
b8e1a63e
Commit
b8e1a63e
authored
Feb 25, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add model management and cache control features
parent
48215e18
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
498 additions
and
29 deletions
+498
-29
README.md
README.md
+24
-0
SKILL.md
SKILL.md
+26
-6
videogen
videogen
+360
-23
videogen_mcp_server.py
videogen_mcp_server.py
+88
-0
No files found.
README.md
View file @
b8e1a63e
...
...
@@ -233,6 +233,11 @@ Add to Claude Desktop config (`~/Library/Application Support/Claude/claude_deskt
|
`videogen_update_models`
| Update model database |
|
`videogen_search_models`
| Search HuggingFace |
|
`videogen_add_model`
| Add model to database |
|
`videogen_disable_model`
| Disable model from auto selection |
|
`videogen_enable_model`
| Enable model for auto selection |
|
`videogen_list_cached_models`
| List cached models with sizes |
|
`videogen_remove_cached_model`
| Remove specific cached model |
|
`videogen_clear_cache`
| Clear entire local cache |
|
`videogen_list_tts_voices`
| List TTS voices |
### Skill Documentation
...
...
@@ -312,6 +317,25 @@ python3 videogen --add-model stabilityai/stable-video-diffusion-img2vid-xt-1.1 -
# Show model details
python3 videogen
--show-model
1
# Disable a model from auto selection
python3 videogen
--disable-model
<ID_or_name>
# Enable a model for auto selection
python3 videogen
--enable-model
<ID_or_name>
```
## Cache Management
```
bash
# List cached models with sizes and last accessed times
python3 videogen
--list-cached-models
# Remove specific cached model
python3 videogen
--remove-cached-model
<model_id>
# Clear entire cache
python3 videogen
--clear-cache
```
---
...
...
SKILL.md
View file @
b8e1a63e
...
...
@@ -74,10 +74,15 @@ python3 videogen --show-model <model_id_or_name>
| V2I |
`--video input.mp4 --extract-keyframes`
| Extract frames from video |
| 3D |
`--video input.mp4 --convert-3d-sbs`
| Convert 2D to 3D |
### Model Filters
### Model Management
#### List and Manage Models
```
bash
# List models by type
# List all available models (with auto mode status)
python3 videogen
--model-list
# Filter models
python3 videogen
--model-list
--t2v-only
# Text-to-Video models
python3 videogen
--model-list
--i2v-only
# Image-to-Video models
python3 videogen
--model-list
--t2i-only
# Text-to-Image models
...
...
@@ -86,14 +91,29 @@ python3 videogen --model-list --v2i-only # Video-to-Image models
python3 videogen
--model-list
--3d-only
# 2D-to-3D models
python3 videogen
--model-list
--tts-only
# TTS models
python3 videogen
--model-list
--audio-only
# Audio models
# List by VRAM requirement
python3 videogen
--model-list
--low-vram
# ≤16GB VRAM
python3 videogen
--model-list
--high-vram
# >30GB VRAM
python3 videogen
--model-list
--huge-vram
# >55GB VRAM
# List NSFW-friendly models
python3 videogen
--model-list
--nsfw-friendly
# Disable a model from auto selection
python3 videogen
--disable-model
<ID_or_name>
# Enable a model for auto selection
python3 videogen
--enable-model
<ID_or_name>
```
#### Cache Management
```
bash
# List cached models
python3 videogen
--list-cached-models
# Remove specific cached model
python3 videogen
--remove-cached-model
<model_id>
# Clear entire cache
python3 videogen
--clear-cache
```
### Auto Mode
...
...
videogen
View file @
b8e1a63e
This diff is collapsed.
Click to expand it.
videogen_mcp_server.py
View file @
b8e1a63e
...
...
@@ -653,6 +653,69 @@ async def list_tools() -> list:
}
),
Tool
(
name
=
"videogen_disable_model"
,
description
=
"Disable a model from auto-selection."
,
inputSchema
=
{
"type"
:
"object"
,
"properties"
:
{
"model"
:
{
"type"
:
"string"
,
"description"
:
"Model ID (number), name, or HuggingFace ID to disable"
}
},
"required"
:
[
"model"
]
}
),
Tool
(
name
=
"videogen_enable_model"
,
description
=
"Enable a model for auto-selection."
,
inputSchema
=
{
"type"
:
"object"
,
"properties"
:
{
"model"
:
{
"type"
:
"string"
,
"description"
:
"Model ID (number), name, or HuggingFace ID to enable"
}
},
"required"
:
[
"model"
]
}
),
Tool
(
name
=
"videogen_list_cached_models"
,
description
=
"List locally cached HuggingFace models with their sizes."
,
inputSchema
=
{
"type"
:
"object"
,
"properties"
:
{}
}
),
Tool
(
name
=
"videogen_remove_cached_model"
,
description
=
"Remove a specific model from the local HuggingFace cache."
,
inputSchema
=
{
"type"
:
"object"
,
"properties"
:
{
"model_id"
:
{
"type"
:
"string"
,
"description"
:
"HuggingFace model ID to remove from cache (e.g., stabilityai/stable-video-diffusion-img2vid-xt-1.1)"
}
},
"required"
:
[
"model_id"
]
}
),
Tool
(
name
=
"videogen_clear_cache"
,
description
=
"Clear the entire local HuggingFace cache."
,
inputSchema
=
{
"type"
:
"object"
,
"properties"
:
{}
}
),
Tool
(
name
=
"videogen_list_tts_voices"
,
description
=
"List all available TTS voices for audio generation."
,
...
...
@@ -1118,6 +1181,31 @@ async def call_tool(name: str, arguments: dict) -> list:
output
,
code
=
run_videogen_command
(
args
)
return
[
TextContent
(
type
=
"text"
,
text
=
output
)]
elif
name
==
"videogen_disable_model"
:
args
=
[
"--disable-model"
,
arguments
[
"model"
]]
output
,
code
=
run_videogen_command
(
args
)
return
[
TextContent
(
type
=
"text"
,
text
=
output
)]
elif
name
==
"videogen_enable_model"
:
args
=
[
"--enable-model"
,
arguments
[
"model"
]]
output
,
code
=
run_videogen_command
(
args
)
return
[
TextContent
(
type
=
"text"
,
text
=
output
)]
elif
name
==
"videogen_list_cached_models"
:
args
=
[
"--list-cached-models"
]
output
,
code
=
run_videogen_command
(
args
)
return
[
TextContent
(
type
=
"text"
,
text
=
output
)]
elif
name
==
"videogen_remove_cached_model"
:
args
=
[
"--remove-cached-model"
,
arguments
[
"model_id"
]]
output
,
code
=
run_videogen_command
(
args
)
return
[
TextContent
(
type
=
"text"
,
text
=
output
)]
elif
name
==
"videogen_clear_cache"
:
args
=
[
"--clear-cache"
]
output
,
code
=
run_videogen_command
(
args
)
return
[
TextContent
(
type
=
"text"
,
text
=
output
)]
elif
name
==
"videogen_list_tts_voices"
:
args
=
[
"--tts-list"
]
output
,
code
=
run_videogen_command
(
args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment