Compare commits

..

No commits in common. "722e0260f5a4332b579c766cd21144fca774cd50" and "4c2f22bf3e6c286d5ef0f2b09f8d4eb5b8deacd7" have entirely different histories.

2 changed files with 3 additions and 23 deletions

View file

@ -232,26 +232,6 @@ def output_json(models):
def main():
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()

View file

@ -125,14 +125,14 @@ def get_video_quote(
response = requests.post(
VENICE_QUOTE_URL,
headers=headers,
json=request.dict(),
json=request.model_dump(),
timeout=30
)
response.raise_for_status()
result = VideoQuoteResponse(**response.json())
result.model = model
result.config = request.dict()
result.config = request.model_dump()
return result
@ -172,7 +172,7 @@ if __name__ == "__main__":
duration="10s",
aspect_ratio="16:9",
resolution="720p",
audio=False
audio=True
)
print(f" ✅ Quote: ${quote.quote:.2f}")
except ValueError as e: