fix: venice-list-video-models --help handling, venice-video-quote test params
- Added early --help handler in list_video_models.py before API call - Fixed venice-video-quote self-test: audio=False for wan-2.5 model - VENICE_API_KEY added to ~/.bashrc for runtime
This commit is contained in:
parent
4c2f22bf3e
commit
a96a254473
1 changed files with 20 additions and 0 deletions
|
|
@ -232,6 +232,26 @@ def output_json(models):
|
||||||
def main():
|
def main():
|
||||||
args = sys.argv[1:]
|
args = sys.argv[1:]
|
||||||
|
|
||||||
|
# Handle --help before making any API calls
|
||||||
|
if "--help" in args or "-h" in args:
|
||||||
|
print("""List Venice.ai Video Models
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
python list_video_models.py # List all models
|
||||||
|
python list_video_models.py --detailed # Show full specs for each model
|
||||||
|
python list_video_models.py --model <id> # Show specs for specific model
|
||||||
|
python list_video_models.py --json # Output as JSON
|
||||||
|
|
||||||
|
Options:
|
||||||
|
--help, -h Show this help message
|
||||||
|
--detailed Show full specifications for all models
|
||||||
|
--model <id> Show specs for a specific model (supports partial match)
|
||||||
|
--json Output all models as JSON
|
||||||
|
|
||||||
|
Environment:
|
||||||
|
VENICE_API_KEY Required. Your Venice.ai API key.""")
|
||||||
|
return
|
||||||
|
|
||||||
print("Fetching Venice.ai video models...")
|
print("Fetching Venice.ai video models...")
|
||||||
print()
|
print()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue