Tags: pavel-zhur/HarmonyDB
Tags
Enhance video generation with Sora and Veo models Updated video generation functionality in the OneShelf.Common.OpenAi.Internal namespace. Replaced `IncludeVideoFunctionName` with `IncludeSoraVideoFunctionName` and `IncludeVeoVideoFunctionName` in `DialogConstants`. Modified `DialogRunner` to support new video generation methods, introducing `SoraVideoArguments` and `VeoVideoArguments` classes for handling respective parameters. Updated `DialogConfiguration` to include `SoraModel` and `VeoModel` properties, and added `GoogleApiKey` to `OpenAiOptions` for API authentication. Registered new `SoraVideoGenerator` and `VeoVideoGenerator` services in `ServiceCollectionExtensions`, replacing the previous `VideoGenerator`. Adjusted `test_veo_video.py` for the new model ID and prompt. Database migrations have been added/modified to align with the updated schema. These changes improve the application's video generation capabilities, allowing for more flexible model usage.
PreviousNext