feat: Implement video generation functionality and integrate with Kling API.

This commit is contained in:
xds
2026-02-12 10:27:07 +03:00
parent d1f67c773f
commit 32ff77e04b
13 changed files with 405 additions and 5 deletions

View File

@@ -34,10 +34,12 @@ class Quality(str, Enum):
class GenType(str, Enum):
TEXT = 'Text'
IMAGE = 'Image'
VIDEO = 'Video'
@property
def value_type(self) -> str:
return {
GenType.TEXT: 'Text',
GenType.IMAGE: 'Image',
GenType.VIDEO: 'Video',
}[self]