This commit is contained in:
zramsay 2024-12-20 17:50:33 -05:00
parent f521fe4087
commit ea82bbce75
2 changed files with 1 additions and 6 deletions

View File

@ -35,11 +35,6 @@ export async function POST(req: NextRequest): Promise<NextResponse> {
width: IMAGE_WIDTH,
height: IMAGE_HEIGHT
},
// Additional parameters for consistent output
num_images: 1,
scheduler: "DDIM",
num_inference_steps: 50,
guidance_scale: 7.5
},
logs: true,
onQueueUpdate: (update) => {

View File

@ -21,7 +21,7 @@ const connection = new Connection(
{
commitment: 'confirmed',
wsEndpoint: SOLANA_WEBSOCKET_URL,
confirmTransactionInitialTimeout: 30000, // 30 seconds
confirmTransactionInitialTimeout: 60000, // 60 seconds
}
)