We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29278f7 commit 1908901Copy full SHA for 1908901
apps/masterbots.ai/app/api/generate-images/route.ts
@@ -5,9 +5,9 @@ import { type NextRequest, NextResponse } from 'next/server'
5
import OpenAI from 'openai'
6
7
/**
8
- * Maximum execution time (55 seconds, slightly less than the Edge runtime limit)
+ * Maximum execution time (2 minutes)
9
*/
10
-const TIMEOUT_MILLIS = 55 * 1000
+const TIMEOUT_MILLIS = 2 * 60 * 1000
11
12
13
* Default image size for OpenAI models
0 commit comments