diff --git a/video-gen-api/app/config.py b/video-gen-api/app/config.py index 1cd8dc85..7b7600e2 100644 --- a/video-gen-api/app/config.py +++ b/video-gen-api/app/config.py @@ -307,7 +307,7 @@ class Settings(BaseSettings): SHOT_ANALYSIS_ACTIVE_REDIS_ZSET_KEY: str = "vg:celery:shot_analysis:active_index" SHOT_ANALYSIS_LOCK_KEY_PREFIX: str = "vg:lock:shot_analysis" SHOT_ANALYSIS_TEMPERATURE: float = 0.1 - SHOT_ANALYSIS_MAX_TOKENS: int = 5000 + SHOT_ANALYSIS_MAX_TOKENS: int = 10000 SHOT_ANALYSIS_VIDEO_FPS: float = 1.0 SHOT_ANALYSIS_MAX_LOCAL_VIDEO_MB: int = 45 diff --git a/video-gen-api/app/services/hot_opening_video_prompt_service.py b/video-gen-api/app/services/hot_opening_video_prompt_service.py index 7d6d3ada..ecf3ead0 100644 --- a/video-gen-api/app/services/hot_opening_video_prompt_service.py +++ b/video-gen-api/app/services/hot_opening_video_prompt_service.py @@ -1628,7 +1628,7 @@ async def optimize_hot_opening_video_prompt( request_data = { "model": config.model_name, "messages": [{"role": "system", "content": build_system_prompt()}, user_message], - "max_tokens": 6000, + "max_tokens": 10000, "temperature": 0.15, "response_format": {"type": "json_object"}, }