From 5d1a7e98c13492383601ddbbf58c44e65aeb358c Mon Sep 17 00:00:00 2001 From: Max Richter Date: Thu, 23 Nov 2023 15:00:19 +0100 Subject: [PATCH] fix: dont log entire image in console --- src/lib/helpers/stability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/helpers/stability.ts b/src/lib/helpers/stability.ts index 0f87a7d..346a305 100644 --- a/src/lib/helpers/stability.ts +++ b/src/lib/helpers/stability.ts @@ -45,7 +45,7 @@ export async function generateImage(prompt: string, negativePrompt: string) { const responseJSON = await response.json(); - console.log(responseJSON.artifacts[0]) + console.log({ finishReason: responseJSON.artifacts[0].finishReason, seed: responseJSON.artifacts[0].seed }) return responseJSON.artifacts[0]; }