This commit is contained in:
@@ -44,6 +44,7 @@ export interface ImageProviderDebug {
|
||||
|
||||
export interface ImageTaskCreateResponse {
|
||||
taskId: string;
|
||||
resultUrl?: string | null;
|
||||
providerDebug?: ImageProviderDebug;
|
||||
}
|
||||
|
||||
@@ -97,6 +98,7 @@ export interface ImageEditInput {
|
||||
prompt?: string;
|
||||
maskUrl?: string;
|
||||
ratio?: string;
|
||||
referenceUrls?: string[];
|
||||
n?: number;
|
||||
}
|
||||
|
||||
@@ -126,7 +128,7 @@ export type ChatMessageContent =
|
||||
| Array<{ type: "text"; text: string } | { type: "image_url"; image_url: { url: string } }>;
|
||||
|
||||
export interface ChatInput {
|
||||
model: string;
|
||||
model?: string;
|
||||
messages: Array<{ role: string; content: ChatMessageContent }>;
|
||||
stream?: boolean;
|
||||
temperature?: number;
|
||||
|
||||
Reference in New Issue
Block a user