add luma custom extend (#119)

This commit is contained in:
HCode authored and GitHub committed 2024-08-19 10:53:51 +08:00
1 parent 2e652a658b
commit 65163e31d7
10 files changed
+287 -12

No files matched your search

+5
View File
@@ -8,6 +8,7 @@ export interface ILumaConfig {
enhancement?: boolean;
loop?: boolean;
thumbnail_url?: string;
custom?: boolean;
}
export interface ILumaGenerateRequest {
@@ -35,6 +36,10 @@ export interface ILumaGenerateResponse {
thumbnail_width: number;
thumbnail_height: number;
trace_id: string;
data?: {
video_id?: string;
state?: string;
};
error: {
code?: string;
message?: string;