返回 ViMax
script2video.yaml
根目录 / configs / script2video.yaml
1 chat_model:
2 init_args:
3 model: google/gemini-2.5-flash-lite-preview-09-2025
4 model_provider: openai
5 api_key:
6 base_url: https://openrouter.ai/api/v1
7 # Rate limits for chat model API calls
8 # Set to null to disable rate limiting for this service
9 max_requests_per_minute: null
10 max_requests_per_day: null
11
12
13 image_generator:
14 class_path: tools.ImageGeneratorNanobananaGoogleAPI
15 init_args:
16 api_key:
17 # Rate limits for image generation API calls
18 # Set to null to disable rate limiting for this service
19 max_requests_per_minute: 2
20 max_requests_per_day: 50
21
22
23 video_generator:
24 class_path: tools.VideoGeneratorVeoGoogleAPI
25 init_args:
26 api_key:
27 # Rate limits for video generation API calls
28 # Set to null to disable rate limiting for this service
29 max_requests_per_minute: 2
30 max_requests_per_day: 50
31
32
33 working_dir: .working_dir/script2video
34
34 lines YAML