1 parent
2e0665f09c
commit
6be9299532
42 files changed
+2342
-5
No files matched your search
@@ -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[];
|
||||
}
|
||||
Reference in new issue
Block a user