Add veo videos (#251)

This commit is contained in:
HCode authored and GitHub committed 2025-08-07 10:42:26 +00:00
1 parent a0a7c30c53
commit 14873dde9b
185 files changed
+9497 -3699

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ export * from './qrart';
export * from './luma';
export * from './pika';
export * from './kling';
export * from './veo';
export * from './pixverse';
export * from './flux';
export * from './hailuo';
+1
View File
@@ -3,6 +3,7 @@ export interface IMidjourneyConfig {
prompt?: string;
action?: string;
video_id?: string;
video_url?: string;
image_url?: string;
is_videos?: boolean;
model?: string;
+1
View File
@@ -8,6 +8,7 @@ export interface ISiteFeatures {
luma?: any;
pika?: any;
kling?: any;
veo?: any;
pixverse?: any;
hailuo?: any;
headshots?: any;
+51
View File
@@ -0,0 +1,51 @@
export interface IVeoConfig {
action?: string;
model?: string;
video_id?: string;
video_url?: string;
image_urls?: string[];
prompt?: string;
callback_url?: string;
}
export interface IVeoGenerateRequest {
action?: string;
model?: string;
video_id?: string;
video_url?: string;
image_urls?: string[];
prompt?: string;
callback_url?: string;
mirror?: boolean;
}
export interface IVeoVideo {
id?: string;
video_url?: string;
state?: string;
created_at?: string;
complete_at?: string;
}
export interface IVeoGenerateResponse {
success: boolean;
task_id: string;
trace_id?: string;
data?: IVeoVideo[];
error?: {
code?: string;
message?: string;
};
}
export interface IVeoTask {
id: string;
created_at?: number;
request?: IVeoGenerateRequest;
response?: IVeoGenerateResponse;
}
export type IVeoTaskResponse = IVeoTask;
export interface IVeoTasksResponse {
count: number;
items: IVeoTask[];
}