@promptbook/openai
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
19 lines (18 loc) • 489 B
TypeScript
/**
* Constructs a standardized filename for a generated image based on its prompt and parameters.
*
* @param params - The parameters for the image generation
* @returns The constructed filename
*
* @private internal helper for image generation pipeline
*/
export declare function constructImageFilename(params: {
prompt: string;
model?: string;
size?: string;
quality?: string;
style?: string;
attachments?: Array<{
url: string;
}>;
}): string;