Add steps parameter to audio inference, fix empty video/audio object handling, add Creatify models, and improve VideoObject save_to method

This commit is contained in:
Sirshendu Ganguly
2026-01-12 12:48:19 -05:00
parent 745acacd2b
commit b2efe563b3
7 changed files with 136 additions and 26 deletions
+5
View File
@@ -596,6 +596,11 @@ class VideoObject:
def save_to(self, filename, **kwargs):
"""Save video to file by downloading from URL with retry logic"""
# If video URL is empty, this is a placeholder object (e.g., when only audio is returned)
if not self.video_url or self.video_url.strip() == "":
print(f"[Video Download] Skipping download - empty video URL (placeholder object)")
return False
max_retries = 10
retry_delays = [2, 5, 10, 15, 20] # Longer delays for retries with larger videos