We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2d9e1 commit 45f31f1Copy full SHA for 45f31f1
adminforth/types/Adapters.ts
@@ -47,7 +47,12 @@ export interface ImageGenerationAdapter {
47
*/
48
inputFileExtensionSupported(): string[];
49
50
- generate(
+ generate({
51
+ prompt,
52
+ inputFiles,
53
+ n,
54
+ size,
55
+ }: {
56
prompt: string,
57
inputFiles: string[],
58
@@ -56,8 +61,8 @@ export interface ImageGenerationAdapter {
61
62
// one by default
63
n: number
59
- ): Promise<{
60
- imageURL?: string[];
64
+ }): Promise<{
65
+ imageURLs?: string[];
66
error?: string;
67
}>;
68
}
0 commit comments