jbilcke-hf HF staff commited on
Commit
8d7ed5e
β€’
1 Parent(s): e508915

token + egyptian + medieval

Browse files
.env CHANGED
@@ -1,3 +1,6 @@
1
  NEXT_PUBLIC_BASE_URL=https://jbilcke-hf-fishtank.hf.space
2
  # NEXT_PUBLIC_RENDERING_ENGINE_API=https://hysts-zeroscope-v2.hf.space
3
- RENDERING_ENGINE_API=https://jbilcke-hf-videochain-api.hf.space
 
 
 
 
1
  NEXT_PUBLIC_BASE_URL=https://jbilcke-hf-fishtank.hf.space
2
  # NEXT_PUBLIC_RENDERING_ENGINE_API=https://hysts-zeroscope-v2.hf.space
3
+ RENDERING_ENGINE_API=https://jbilcke-hf-videochain-api.hf.space
4
+ #VC_SECRET_ACCESS_TOKEN=<SECRET>
5
+ #HF_API_TOKEN=<SECRET>
6
+ #HF_INFERENCE_ENDPOINT_URL=<SECRET>
src/app/engine/presets.ts CHANGED
@@ -381,6 +381,102 @@ export const presets: Record<string, Preset> = {
381
  "painting"
382
  ],
383
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  /*
385
  psx: {
386
  label: "PSX",
 
381
  "painting"
382
  ],
383
  },
384
+ medieval: {
385
+ id: "medieval",
386
+ label: "Medieval",
387
+ family: "european",
388
+ color: "color",
389
+ font: "actionman",
390
+ llmPrompt: "new story",
391
+ imagePrompt: (prompt: string) => [
392
+ `medieval illuminated manuscript`,
393
+ `illuminated manuscript of`,
394
+ // `medieval color engraving`,
395
+ `${prompt}`,
396
+ `medieval`
397
+ ],
398
+ negativePrompt: () => [
399
+ "manga",
400
+ "anime",
401
+ "american comic",
402
+ "grayscale",
403
+ "monochrome",
404
+ "painting"
405
+ ],
406
+ },
407
+ /*
408
+ glass: {
409
+ id: "glass",
410
+ label: "Glass",
411
+ family: "european",
412
+ color: "color",
413
+ font: "actionman",
414
+ llmPrompt: "new movie",
415
+ imagePrompt: (prompt: string) => [
416
+ `stained glass`,
417
+ `vitrail`,
418
+ `stained glass`,
419
+ // `medieval color engraving`,
420
+ `${prompt}`,
421
+ `medieval`,
422
+ ],
423
+ negativePrompt: () => [
424
+ "manga",
425
+ "anime",
426
+ "american comic",
427
+ "grayscale",
428
+ "monochrome",
429
+ "painting"
430
+ ],
431
+ },
432
+ */
433
+ /*
434
+ voynich: {
435
+ id: "voynich",
436
+ label: "Voynich",
437
+ family: "european",
438
+ color: "color",
439
+ font: "actionman",
440
+ llmPrompt: "new movie",
441
+ imagePrompt: (prompt: string) => [
442
+ `voynich`,
443
+ `voynich page`,
444
+ // `medieval color engraving`,
445
+ `${prompt}`,
446
+ `medieval`,
447
+ ],
448
+ negativePrompt: () => [
449
+ "manga",
450
+ "anime",
451
+ "american comic",
452
+ "grayscale",
453
+ "monochrome",
454
+ "painting"
455
+ ],
456
+ },
457
+ */
458
+ egyptian: {
459
+ id: "egyptian",
460
+ label: "Egyptian",
461
+ family: "european",
462
+ color: "color",
463
+ font: "actionman",
464
+ llmPrompt: "new movie",
465
+ imagePrompt: (prompt: string) => [
466
+ `ancient egyptian wall painting`,
467
+ // `medieval color engraving`,
468
+ `${prompt}`,
469
+ `ancient egypt`,
470
+ ],
471
+ negativePrompt: () => [
472
+ "manga",
473
+ "anime",
474
+ "american comic",
475
+ "grayscale",
476
+ "monochrome",
477
+ "painting"
478
+ ],
479
+ },
480
  /*
481
  psx: {
482
  label: "PSX",
src/app/engine/render.ts CHANGED
@@ -44,7 +44,7 @@ export async function newRender({
44
  headers: {
45
  Accept: "application/json",
46
  "Content-Type": "application/json",
47
- // Authorization: `Bearer ${process.env.VC_SECRET_ACCESS_TOKEN}`,
48
  },
49
  body: JSON.stringify({
50
  prompt,
 
44
  headers: {
45
  Accept: "application/json",
46
  "Content-Type": "application/json",
47
+ Authorization: `Bearer ${process.env.VC_SECRET_ACCESS_TOKEN}`,
48
  },
49
  body: JSON.stringify({
50
  prompt,
src/app/interface/bottom-bar/index.tsx CHANGED
@@ -66,6 +66,16 @@ ${uploadUrl
66
  `space-x-3`,
67
  `scale-[0.9]`
68
  )}>
 
 
 
 
 
 
 
 
 
 
69
  <div>
70
  <Button
71
  onClick={handlePrint}
 
66
  `space-x-3`,
67
  `scale-[0.9]`
68
  )}>
69
+ {/*
70
+ <div>
71
+ <Button
72
+ onClick={handleUpscale}
73
+ disabled={!prompt?.length && remainingImages}
74
+ >
75
+ Upscale
76
+ </Button>
77
+ </div>
78
+ */}
79
  <div>
80
  <Button
81
  onClick={handlePrint}