From 04717648fd6342625e9cd0bb85ed17d4f60ecf46 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Wed, 12 Apr 2023 14:08:39 -0400 Subject: [PATCH] switch to faster model - https://replicate.com/rossjillian/controlnet - supports all controlnets - is up to 40% faster --- pages/api/generate.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/api/generate.ts b/pages/api/generate.ts index 251404c7..bca5fec0 100644 --- a/pages/api/generate.ts +++ b/pages/api/generate.ts @@ -72,9 +72,10 @@ export default async function handler( }, body: JSON.stringify({ version: - "854e8727697a057c525cdb45ab037f64ecca770a1769cc52287c2e56472a247b", + "d55b9f2dcfb156089686b8f767776d5b61b007187a4e1e611881818098100fbb", input: { image: imageUrl, + structure: "hough", prompt: prompt, scale: 9, a_prompt: