adds dall-e full history page and metadata downloader

This commit is contained in:
nai-degen
2024-03-10 14:53:11 -05:00
parent 37f17ded60
commit 7610369c6d
15 changed files with 199 additions and 12 deletions
+1 -2
View File
@@ -19,10 +19,9 @@ export const saveImage: ProxyResHandlerWithBody = async (
}
if (body.data) {
const baseUrl = req.protocol + "://" + req.get("host");
const prompt = body.data[0].revised_prompt ?? req.body.prompt;
const res = await mirrorGeneratedImage(
baseUrl,
req,
prompt,
body as OpenAIImageGenerationResult
);