Co-authored-by: Germey <cqc@cuiqingcai.com>
This commit is contained in:
HCodeandGermey authored and GitHub committed 2024-08-16 17:49:20 +00:00
1 parent 2e0665f09c
commit 6be9299532
42 files changed
+2342 -5

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ export * from './user';
export * from './service';
export * from './credential';
export * from './qrart';
export * from './luma';
export * from './suno';
export * from './site';
export * from './exchange';
+55
View File
@@ -0,0 +1,55 @@
export interface ILumaConfig {
action?: string;
video_id?: string;
prompt?: string;
video_url?: string;
start_image_url?: string;
end_image_url?: string;
enhancement?: boolean;
loop?: boolean;
}
export interface ILumaGenerateRequest {
action?: string;
video_id?: string;
prompt?: string;
video_url?: string;
start_image_url?: string;
end_image_url?: string;
enhancement?: boolean;
loop?: boolean;
callback_url?: string;
}
export interface ILumaGenerateResponse {
success: boolean;
task_id: string;
video_id: string;
prompt: string;
video_url: string;
video_height: number;
video_width: number;
state: string;
thumbnail_url: string;
thumbnail_width: number;
thumbnail_height: number;
trace_id: string;
error: {
code?: string;
message?: string;
};
}
export interface ILumaTask {
id: string;
created_at?: string;
request?: ILumaGenerateRequest;
response?: ILumaGenerateResponse;
}
export type ILumaTaskResponse = ILumaTask;
export interface ILumaTasksResponse {
count: number;
items: ILumaTask[];
}
+1
View File
@@ -3,6 +3,7 @@ export interface ISiteFeatures {
midjourney?: any;
chatdoc?: any;
qrart?: any;
luma?: any;
suno?: any;
support?: any;
}