Update endpoints/imageProcessor
Browse files- endpoints/imageProcessor +1 -1
endpoints/imageProcessor
CHANGED
|
@@ -105,7 +105,7 @@ async function extractTextFromImage(imagePath) {
|
|
| 105 |
|
| 106 |
const options = {
|
| 107 |
hostname: 'api.nekolabs.web.id',
|
| 108 |
-
path: `/ai/gemini/2.
|
| 109 |
method: 'GET',
|
| 110 |
headers: {
|
| 111 |
'Accept': 'application/json',
|
|
|
|
| 105 |
|
| 106 |
const options = {
|
| 107 |
hostname: 'api.nekolabs.web.id',
|
| 108 |
+
path: `/ai/gemini/2.0-flash/v2?text=${textParam}&systemPrompt=${systemPrompt}&imageUrl=${imageUrlParam}&sessionId=${sessionId}`,
|
| 109 |
method: 'GET',
|
| 110 |
headers: {
|
| 111 |
'Accept': 'application/json',
|