rashi-discord-bot-lib
Version:
🚀 Powerful Discord bot framework with built-in database, event handling, and utilities
17 lines • 481 B
TypeScript
export interface ImageGenerationOptions {
prompt: string;
size?: '256x256' | '512x512' | '1024x1024';
n?: number;
response_format?: 'url' | 'b64_json';
user?: string;
}
export interface GeneratedImage {
url?: string;
base64?: string;
}
export declare class ImageGenerator {
private openai;
constructor(apiKey?: string);
generateImage(options: ImageGenerationOptions): Promise<GeneratedImage[]>;
}
//# sourceMappingURL=ImageGenerator.d.ts.map