This commit is contained in:
HCode authored and GitHub committed 2025-02-19 15:01:06 +00:00
1 parent 1203ef569b
commit 5d8902e566
40 files changed
+2416 -1

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
export interface IFluxConfig {
action?: string;
prompt?: string;
model?: string;
callback_url?: string;
}
export interface IFluxGenerateRequest {
action?: string;
prompt?: string;
model?: string;
callback_url?: string;
mirror?: boolean;
}
export interface IFluxImage {
image_url?: string;
timings?: number;
prompt?: string;
action?: string;
seed?: number;
}
export interface IFluxGenerateResponse {
success: boolean;
task_id: string;
trace_id: string;
data?: IFluxImage[];
error?: {
code?: string;
message?: string;
};
}
export interface IFluxTask {
id: string;
created_at?: number;
request?: IFluxGenerateRequest;
response?: IFluxGenerateResponse;
}
export type IFluxTaskResponse = IFluxTask;
export interface IFluxTasksResponse {
count: number;
items: IFluxTask[];
}
+1
View File
@@ -14,6 +14,7 @@ export * from './credential';
export * from './qrart';
export * from './luma';
export * from './pika';
export * from './flux';
export * from './hailuo';
export * from './headshots';
export * from './suno';