@innovastudio/contentbox 1.6.195 → 1.6.196
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/readme.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
========================================================================
|
|
2
|
-
CONTENTBOX.JS 6.0.
|
|
2
|
+
CONTENTBOX.JS 6.0.1
|
|
3
3
|
========================================================================
|
|
4
4
|
|
|
5
5
|
Thanks for using ContentBox - a browser-based drag & drop page builder.
|
|
@@ -217,19 +217,7 @@ Add your own security to the API endpoints before going to production!
|
|
|
217
217
|
|
|
218
218
|
The JavaScript project serves these endpoints from server.js.
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
5.2 SPEECH RECOGNITION (optional, for dictation)
|
|
224
|
-
|
|
225
|
-
If dictation is enabled, the browser's built-in speech recognition
|
|
226
|
-
is used - but some browsers don't support it. For broader
|
|
227
|
-
compatibility and accuracy, use Deepgram: get a key from
|
|
228
|
-
https://deepgram.com, add it to .env, then enable the
|
|
229
|
-
speechTranscribeUrl option in src/index.js.
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
5.3 AI IMAGE GENERATION
|
|
220
|
+
5.2 AI IMAGE GENERATION
|
|
233
221
|
|
|
234
222
|
Current provider - Fal.ai:
|
|
235
223
|
|
|
@@ -265,36 +253,6 @@ Add your own security to the API endpoints before going to production!
|
|
|
265
253
|
getResultUrl_Fal: 'api/result-fal.php',
|
|
266
254
|
});
|
|
267
255
|
|
|
268
|
-
|
|
269
|
-
Legacy provider - Getimg.ai:
|
|
270
|
-
|
|
271
|
-
1. Get an API key from https://getimg.ai/tools/api and add it to .env:
|
|
272
|
-
|
|
273
|
-
GETIMG_API_KEY=YOUR_API_KEY
|
|
274
|
-
|
|
275
|
-
(PHP: add $GETIMG_API_KEY = 'YOUR_API_KEY'; to api/config.php)
|
|
276
|
-
|
|
277
|
-
2. Set these options:
|
|
278
|
-
|
|
279
|
-
const builder = new ContentBox({
|
|
280
|
-
// ...
|
|
281
|
-
textToImageUrl: '/texttoimage',
|
|
282
|
-
upscaleImageUrl: '/upscaleimage',
|
|
283
|
-
imageModel: 'flux-schnell',
|
|
284
|
-
imageAutoUpscale: false,
|
|
285
|
-
// viewFileUrl: '/viewfile', // if using S3
|
|
286
|
-
});
|
|
287
|
-
|
|
288
|
-
For PHP:
|
|
289
|
-
|
|
290
|
-
const builder = new ContentBox({
|
|
291
|
-
// ...
|
|
292
|
-
textToImageUrl: 'api/texttoimage.php',
|
|
293
|
-
upscaleImageUrl: 'api/upscaleimage.php',
|
|
294
|
-
imageModel: 'flux-schnell',
|
|
295
|
-
imageAutoUpscale: false,
|
|
296
|
-
});
|
|
297
|
-
|
|
298
256
|
The JavaScript project serves these endpoints from server.js.
|
|
299
257
|
|
|
300
258
|
|