@nodaro/prompts 1.49.0 → 1.50.1

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.
Files changed (97) hide show
  1. package/dist/{catalog-packs-C--EzV3K.d.cts → catalog-packs-DeMcSVCR.d.cts} +1 -1
  2. package/dist/{catalog-packs-BzzZCjbz.d.ts → catalog-packs-DjqvicAR.d.ts} +1 -1
  3. package/dist/{chunk-RRHU6MD5.js → chunk-34JK2G34.js} +4 -4
  4. package/dist/{chunk-RRHU6MD5.js.map → chunk-34JK2G34.js.map} +1 -1
  5. package/dist/{chunk-4V4JJUEH.js → chunk-3XSB5YDY.js} +4 -4
  6. package/dist/chunk-3XSB5YDY.js.map +1 -0
  7. package/dist/{chunk-QN3OP6TG.js → chunk-5XPELUES.js} +4 -4
  8. package/dist/chunk-5XPELUES.js.map +1 -0
  9. package/dist/{chunk-3J52HGBL.js → chunk-BWDQEAX2.js} +4 -4
  10. package/dist/{chunk-3J52HGBL.js.map → chunk-BWDQEAX2.js.map} +1 -1
  11. package/dist/{chunk-MJ5OXUDF.js → chunk-C5LP7DAQ.js} +6 -6
  12. package/dist/{chunk-MJ5OXUDF.js.map → chunk-C5LP7DAQ.js.map} +1 -1
  13. package/dist/{chunk-PJPCNKEJ.js → chunk-DB6A5I6V.js} +3 -3
  14. package/dist/{chunk-PJPCNKEJ.js.map → chunk-DB6A5I6V.js.map} +1 -1
  15. package/dist/{chunk-FDTRN7OE.js → chunk-FEOVUTFC.js} +10 -7
  16. package/dist/{chunk-FDTRN7OE.js.map → chunk-FEOVUTFC.js.map} +1 -1
  17. package/dist/{chunk-WW7IHRIE.cjs → chunk-FFPFBNXH.cjs} +4 -4
  18. package/dist/chunk-FFPFBNXH.cjs.map +1 -0
  19. package/dist/{chunk-OXJ5GN57.cjs → chunk-HR4TFBU2.cjs} +35 -35
  20. package/dist/{chunk-OXJ5GN57.cjs.map → chunk-HR4TFBU2.cjs.map} +1 -1
  21. package/dist/{chunk-NBJR7JS4.cjs → chunk-IADAATZK.cjs} +49 -49
  22. package/dist/{chunk-NBJR7JS4.cjs.map → chunk-IADAATZK.cjs.map} +1 -1
  23. package/dist/{chunk-XVAVCHPJ.js → chunk-IXBTD2LW.js} +4 -4
  24. package/dist/{chunk-XVAVCHPJ.js.map → chunk-IXBTD2LW.js.map} +1 -1
  25. package/dist/{chunk-3HMMG6W4.cjs → chunk-JGEBO6L6.cjs} +8 -8
  26. package/dist/{chunk-3HMMG6W4.cjs.map → chunk-JGEBO6L6.cjs.map} +1 -1
  27. package/dist/{chunk-NET25TEQ.cjs → chunk-KYKCHOOS.cjs} +13 -13
  28. package/dist/{chunk-NET25TEQ.cjs.map → chunk-KYKCHOOS.cjs.map} +1 -1
  29. package/dist/{chunk-KBIA4R6X.cjs → chunk-MJIKM4YZ.cjs} +130 -127
  30. package/dist/{chunk-KBIA4R6X.cjs.map → chunk-MJIKM4YZ.cjs.map} +1 -1
  31. package/dist/chunk-MUTUHJIV.js +36 -0
  32. package/dist/chunk-MUTUHJIV.js.map +1 -0
  33. package/dist/chunk-PLQFXCBU.cjs +39 -0
  34. package/dist/chunk-PLQFXCBU.cjs.map +1 -0
  35. package/dist/{chunk-MGK6SFTV.cjs → chunk-RVBO63D5.cjs} +4 -4
  36. package/dist/{chunk-MGK6SFTV.cjs.map → chunk-RVBO63D5.cjs.map} +1 -1
  37. package/dist/{chunk-3AVLIA4B.cjs → chunk-TYJCCODP.cjs} +18 -18
  38. package/dist/{chunk-3AVLIA4B.cjs.map → chunk-TYJCCODP.cjs.map} +1 -1
  39. package/dist/{chunk-7C7XLZPU.js → chunk-VJYKE6AY.js} +3 -3
  40. package/dist/{chunk-7C7XLZPU.js.map → chunk-VJYKE6AY.js.map} +1 -1
  41. package/dist/{chunk-7VVVHIMH.cjs → chunk-VYCTRGJ7.cjs} +39 -39
  42. package/dist/{chunk-7VVVHIMH.cjs.map → chunk-VYCTRGJ7.cjs.map} +1 -1
  43. package/dist/{chunk-GTN3UO74.cjs → chunk-WLN2MJ7F.cjs} +7 -7
  44. package/dist/chunk-WLN2MJ7F.cjs.map +1 -0
  45. package/dist/{chunk-NRBO4I4G.js → chunk-ZZ6UOK2P.js} +4 -4
  46. package/dist/{chunk-NRBO4I4G.js.map → chunk-ZZ6UOK2P.js.map} +1 -1
  47. package/dist/entries/assembly.cjs +29 -29
  48. package/dist/entries/assembly.js +6 -6
  49. package/dist/entries/catalog-packs.d.cts +4 -4
  50. package/dist/entries/catalog-packs.d.ts +4 -4
  51. package/dist/entries/person.d.cts +3 -3
  52. package/dist/entries/person.d.ts +3 -3
  53. package/dist/entries/picker-art.cjs +28 -20
  54. package/dist/entries/picker-art.d.cts +13 -2
  55. package/dist/entries/picker-art.d.ts +13 -2
  56. package/dist/entries/picker-art.js +2 -2
  57. package/dist/entries/picker-catalogs.cjs +57 -57
  58. package/dist/entries/picker-catalogs.d.cts +5 -3
  59. package/dist/entries/picker-catalogs.d.ts +5 -3
  60. package/dist/entries/picker-catalogs.js +5 -5
  61. package/dist/entries/pickers.cjs +383 -383
  62. package/dist/entries/pickers.d.cts +7 -1
  63. package/dist/entries/pickers.d.ts +7 -1
  64. package/dist/entries/pickers.js +3 -3
  65. package/dist/entries/presets.cjs +35 -35
  66. package/dist/entries/presets.js +1 -1
  67. package/dist/entries/prompt-builder.cjs +76 -76
  68. package/dist/entries/prompt-builder.js +5 -5
  69. package/dist/{images-DrbQB9Yh.d.ts → images-ChAOLY5V.d.cts} +5 -4
  70. package/dist/{images-DrbQB9Yh.d.cts → images-ChAOLY5V.d.ts} +5 -4
  71. package/dist/index.cjs +597 -589
  72. package/dist/index.d.cts +4 -4
  73. package/dist/index.d.ts +4 -4
  74. package/dist/index.js +11 -11
  75. package/dist/{picker-catalogs-BylSIFKL.d.cts → picker-catalogs-DzLCu6qQ.d.cts} +1 -1
  76. package/dist/{picker-catalogs-DHRyjPXb.d.ts → picker-catalogs-SDSWrufc.d.ts} +1 -1
  77. package/package.json +2 -2
  78. package/src/__tests__/fixtures/root-exports.baseline.json +5 -0
  79. package/src/__tests__/picker-art-images.test.ts +40 -0
  80. package/src/__tests__/style-display-name.test.ts +153 -0
  81. package/src/__tests__/style-labels-offered-locales.test.ts +48 -0
  82. package/src/factory-presets/generate-image.ts +1 -1
  83. package/src/factory-presets/generate-video.ts +1 -1
  84. package/src/picker-analyzer-registry.ts +9 -2
  85. package/src/picker-art/images.ts +6 -5
  86. package/src/picker-art/index.ts +1 -0
  87. package/src/picker-art/restyle-previews.ts +53 -0
  88. package/src/setting.ts +1 -1
  89. package/src/style.ts +7 -1
  90. package/dist/chunk-4V4JJUEH.js.map +0 -1
  91. package/dist/chunk-GTN3UO74.cjs.map +0 -1
  92. package/dist/chunk-HOMR5XFP.js +0 -3
  93. package/dist/chunk-HOMR5XFP.js.map +0 -1
  94. package/dist/chunk-QN3OP6TG.js.map +0 -1
  95. package/dist/chunk-T4OJFIJK.cjs +0 -4
  96. package/dist/chunk-T4OJFIJK.cjs.map +0 -1
  97. package/dist/chunk-WW7IHRIE.cjs.map +0 -1
@@ -0,0 +1,36 @@
1
+ import { lookPreviewStillUrl } from './chunk-5XPELUES.js';
2
+
3
+ // src/picker-art/restyle-previews.ts
4
+ var RESTYLE_PREVIEWS = {
5
+ // Source shot: https://cdn.nodaro.ai/picker-renders/4054a0e1-af60-47f9-86bd-a78ab93f3800.mp4
6
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/9dc6b337-58b4-4a63-889f-70561a8f1f00.mp4
7
+ anime: { url: "https://cdn.nodaro.ai/picker-renders/7fbad6e4-023f-4282-ac3d-d186f2cbb37b.mp4", stillAtSeconds: 7 },
8
+ // Source shot: https://cdn.nodaro.ai/picker-renders/4ffff922-e807-42cc-a2a0-c66c3a8d492c.mp4
9
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/fca5d96d-ee9c-430e-ba82-2795c0adb8d6.mp4
10
+ claymation: { url: "https://cdn.nodaro.ai/picker-renders/2916a2f7-114c-4c7e-9be0-5bf229d76133.mp4" },
11
+ // Source shot: https://cdn.nodaro.ai/picker-renders/41faaa51-5e77-4097-aa9b-bef6738328b7.mp4
12
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5a28da72-f3ee-49a8-b732-f73e79741b62.mp4
13
+ "comic-book": { url: "https://cdn.nodaro.ai/picker-renders/7a2cd17c-b02f-4ae4-9723-ef48d0eda52a.mp4" },
14
+ // Source shot: https://cdn.nodaro.ai/picker-renders/a0ca72d5-1d4e-4f57-be74-ba3ac46dd9bd.mp4
15
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/cf977f6c-e755-4b72-b959-e6b954d631c3.mp4
16
+ cyberpunk: { url: "https://cdn.nodaro.ai/picker-renders/4868595c-cc88-4f82-b2a4-f33bfafe8198.mp4", stillAtSeconds: 7 },
17
+ // Source shot: https://cdn.nodaro.ai/picker-renders/4a70c22d-04f0-4b5a-90d4-e9dd7ddb01c4.mp4
18
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5ab33529-ef2a-42bc-a625-d6b1abfeef1c.mp4
19
+ "felt-puppet": { url: "https://cdn.nodaro.ai/picker-renders/3aa3c81b-ba19-4776-becc-e0c47c700699.mp4" },
20
+ // Source shot: https://cdn.nodaro.ai/picker-renders/b1e77bdc-7c58-4cd8-a2d6-fd49379fee9e.mp4
21
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/a9aeca2d-bcd6-477b-80d7-5e6454ee2c25.mp4
22
+ "oil-painting": { url: "https://cdn.nodaro.ai/picker-renders/73c98260-9444-45e7-bccb-040b5d33fb53.mp4" },
23
+ // Source shot: https://cdn.nodaro.ai/picker-renders/d9e12a4a-677e-4e36-8f44-8503f14dd6b8.mp4
24
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/d4dad451-802a-4795-9cc3-71ff3ed70c69.mp4
25
+ "pixar-3d": { url: "https://cdn.nodaro.ai/picker-renders/c5ea2111-3283-4f80-ab05-8ab4450946ce.mp4" },
26
+ // Source shot: https://cdn.nodaro.ai/picker-renders/789f4330-660b-42bd-8d11-6e638e8c7c88.mp4
27
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/10471107-b26a-42e9-a3a5-068a42436d3c.mp4
28
+ watercolor: { url: "https://cdn.nodaro.ai/picker-renders/61a26588-d09a-4959-b677-ee8b32e3281a.mp4" }
29
+ };
30
+ function restylePreviewStillUrl(preview, width) {
31
+ return lookPreviewStillUrl(preview.url, width, preview.stillAtSeconds);
32
+ }
33
+
34
+ export { RESTYLE_PREVIEWS, restylePreviewStillUrl };
35
+ //# sourceMappingURL=chunk-MUTUHJIV.js.map
36
+ //# sourceMappingURL=chunk-MUTUHJIV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/picker-art/restyle-previews.ts"],"names":[],"mappings":";;;AAsBO,IAAM,gBAAA,GAA6D;AAAA;AAAA;AAAA,EAGxE,KAAA,EAAO,EAAE,GAAA,EAAK,+EAAA,EAAiF,gBAAgB,CAAA,EAAE;AAAA;AAAA;AAAA,EAGjH,UAAA,EAAY,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGnG,YAAA,EAAc,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGrG,SAAA,EAAW,EAAE,GAAA,EAAK,+EAAA,EAAiF,gBAAgB,CAAA,EAAE;AAAA;AAAA;AAAA,EAGrH,aAAA,EAAe,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGtG,cAAA,EAAgB,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGvG,UAAA,EAAY,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGnG,UAAA,EAAY,EAAE,GAAA,EAAK,+EAAA;AACrB;AAGO,SAAS,sBAAA,CAAuB,SAAyB,KAAA,EAAoC;AAClG,EAAA,OAAO,mBAAA,CAAoB,OAAA,CAAQ,GAAA,EAAK,KAAA,EAAO,QAAQ,cAAc,CAAA;AACvE","file":"chunk-MUTUHJIV.js","sourcesContent":["// Restyle previews: for each art style, a short clip of real footage wiping\n// into that style, for a picker that restyles a video. Keyed by the `style`\n// catalog's option id. An entry exists only for an approved clip: a style\n// without one has no preview here.\n//\n// Each approved style keeps the URLs of its source shot and its generated clip\n// (no wipe) in a comment beside its entry, so the clip can be composed again if\n// the switch animation changes.\n//\n// Separate from LOOK_PREVIEW_SETS.style, whose stills every other art style\n// picker keeps showing. Like every render, a clip lives under picker-renders/\n// on the CDN, a key no user owns; a test holds this.\nimport { lookPreviewStillUrl } from \"./images.js\"\n\n/** One style's preview clip. */\nexport interface RestylePreview {\n readonly url: string\n /** The moment of the clip its still is cut from, for a clip whose usual moment frames it badly. Absent: the usual moment (`lookPreviewStillUrl`). */\n readonly stillAtSeconds?: number\n}\n\n/** Art style id → its restyle preview clip. */\nexport const RESTYLE_PREVIEWS: Readonly<Record<string, RestylePreview>> = {\n // Source shot: https://cdn.nodaro.ai/picker-renders/4054a0e1-af60-47f9-86bd-a78ab93f3800.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/9dc6b337-58b4-4a63-889f-70561a8f1f00.mp4\n anime: { url: \"https://cdn.nodaro.ai/picker-renders/7fbad6e4-023f-4282-ac3d-d186f2cbb37b.mp4\", stillAtSeconds: 7 },\n // Source shot: https://cdn.nodaro.ai/picker-renders/4ffff922-e807-42cc-a2a0-c66c3a8d492c.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/fca5d96d-ee9c-430e-ba82-2795c0adb8d6.mp4\n claymation: { url: \"https://cdn.nodaro.ai/picker-renders/2916a2f7-114c-4c7e-9be0-5bf229d76133.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/41faaa51-5e77-4097-aa9b-bef6738328b7.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5a28da72-f3ee-49a8-b732-f73e79741b62.mp4\n \"comic-book\": { url: \"https://cdn.nodaro.ai/picker-renders/7a2cd17c-b02f-4ae4-9723-ef48d0eda52a.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/a0ca72d5-1d4e-4f57-be74-ba3ac46dd9bd.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/cf977f6c-e755-4b72-b959-e6b954d631c3.mp4\n cyberpunk: { url: \"https://cdn.nodaro.ai/picker-renders/4868595c-cc88-4f82-b2a4-f33bfafe8198.mp4\", stillAtSeconds: 7 },\n // Source shot: https://cdn.nodaro.ai/picker-renders/4a70c22d-04f0-4b5a-90d4-e9dd7ddb01c4.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5ab33529-ef2a-42bc-a625-d6b1abfeef1c.mp4\n \"felt-puppet\": { url: \"https://cdn.nodaro.ai/picker-renders/3aa3c81b-ba19-4776-becc-e0c47c700699.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/b1e77bdc-7c58-4cd8-a2d6-fd49379fee9e.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/a9aeca2d-bcd6-477b-80d7-5e6454ee2c25.mp4\n \"oil-painting\": { url: \"https://cdn.nodaro.ai/picker-renders/73c98260-9444-45e7-bccb-040b5d33fb53.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/d9e12a4a-677e-4e36-8f44-8503f14dd6b8.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/d4dad451-802a-4795-9cc3-71ff3ed70c69.mp4\n \"pixar-3d\": { url: \"https://cdn.nodaro.ai/picker-renders/c5ea2111-3283-4f80-ab05-8ab4450946ce.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/789f4330-660b-42bd-8d11-6e638e8c7c88.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/10471107-b26a-42e9-a3a5-068a42436d3c.mp4\n watercolor: { url: \"https://cdn.nodaro.ai/picker-renders/61a26588-d09a-4959-b677-ee8b32e3281a.mp4\" },\n}\n\n/** A preview clip's still, a frame the CDN cuts from it at the clip's own moment. */\nexport function restylePreviewStillUrl(preview: RestylePreview, width?: number): string | undefined {\n return lookPreviewStillUrl(preview.url, width, preview.stillAtSeconds)\n}\n"]}
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ var chunkFFPFBNXH_cjs = require('./chunk-FFPFBNXH.cjs');
4
+
5
+ // src/picker-art/restyle-previews.ts
6
+ var RESTYLE_PREVIEWS = {
7
+ // Source shot: https://cdn.nodaro.ai/picker-renders/4054a0e1-af60-47f9-86bd-a78ab93f3800.mp4
8
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/9dc6b337-58b4-4a63-889f-70561a8f1f00.mp4
9
+ anime: { url: "https://cdn.nodaro.ai/picker-renders/7fbad6e4-023f-4282-ac3d-d186f2cbb37b.mp4", stillAtSeconds: 7 },
10
+ // Source shot: https://cdn.nodaro.ai/picker-renders/4ffff922-e807-42cc-a2a0-c66c3a8d492c.mp4
11
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/fca5d96d-ee9c-430e-ba82-2795c0adb8d6.mp4
12
+ claymation: { url: "https://cdn.nodaro.ai/picker-renders/2916a2f7-114c-4c7e-9be0-5bf229d76133.mp4" },
13
+ // Source shot: https://cdn.nodaro.ai/picker-renders/41faaa51-5e77-4097-aa9b-bef6738328b7.mp4
14
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5a28da72-f3ee-49a8-b732-f73e79741b62.mp4
15
+ "comic-book": { url: "https://cdn.nodaro.ai/picker-renders/7a2cd17c-b02f-4ae4-9723-ef48d0eda52a.mp4" },
16
+ // Source shot: https://cdn.nodaro.ai/picker-renders/a0ca72d5-1d4e-4f57-be74-ba3ac46dd9bd.mp4
17
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/cf977f6c-e755-4b72-b959-e6b954d631c3.mp4
18
+ cyberpunk: { url: "https://cdn.nodaro.ai/picker-renders/4868595c-cc88-4f82-b2a4-f33bfafe8198.mp4", stillAtSeconds: 7 },
19
+ // Source shot: https://cdn.nodaro.ai/picker-renders/4a70c22d-04f0-4b5a-90d4-e9dd7ddb01c4.mp4
20
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5ab33529-ef2a-42bc-a625-d6b1abfeef1c.mp4
21
+ "felt-puppet": { url: "https://cdn.nodaro.ai/picker-renders/3aa3c81b-ba19-4776-becc-e0c47c700699.mp4" },
22
+ // Source shot: https://cdn.nodaro.ai/picker-renders/b1e77bdc-7c58-4cd8-a2d6-fd49379fee9e.mp4
23
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/a9aeca2d-bcd6-477b-80d7-5e6454ee2c25.mp4
24
+ "oil-painting": { url: "https://cdn.nodaro.ai/picker-renders/73c98260-9444-45e7-bccb-040b5d33fb53.mp4" },
25
+ // Source shot: https://cdn.nodaro.ai/picker-renders/d9e12a4a-677e-4e36-8f44-8503f14dd6b8.mp4
26
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/d4dad451-802a-4795-9cc3-71ff3ed70c69.mp4
27
+ "pixar-3d": { url: "https://cdn.nodaro.ai/picker-renders/c5ea2111-3283-4f80-ab05-8ab4450946ce.mp4" },
28
+ // Source shot: https://cdn.nodaro.ai/picker-renders/789f4330-660b-42bd-8d11-6e638e8c7c88.mp4
29
+ // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/10471107-b26a-42e9-a3a5-068a42436d3c.mp4
30
+ watercolor: { url: "https://cdn.nodaro.ai/picker-renders/61a26588-d09a-4959-b677-ee8b32e3281a.mp4" }
31
+ };
32
+ function restylePreviewStillUrl(preview, width) {
33
+ return chunkFFPFBNXH_cjs.lookPreviewStillUrl(preview.url, width, preview.stillAtSeconds);
34
+ }
35
+
36
+ exports.RESTYLE_PREVIEWS = RESTYLE_PREVIEWS;
37
+ exports.restylePreviewStillUrl = restylePreviewStillUrl;
38
+ //# sourceMappingURL=chunk-PLQFXCBU.cjs.map
39
+ //# sourceMappingURL=chunk-PLQFXCBU.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/picker-art/restyle-previews.ts"],"names":["lookPreviewStillUrl"],"mappings":";;;;;AAsBO,IAAM,gBAAA,GAA6D;AAAA;AAAA;AAAA,EAGxE,KAAA,EAAO,EAAE,GAAA,EAAK,+EAAA,EAAiF,gBAAgB,CAAA,EAAE;AAAA;AAAA;AAAA,EAGjH,UAAA,EAAY,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGnG,YAAA,EAAc,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGrG,SAAA,EAAW,EAAE,GAAA,EAAK,+EAAA,EAAiF,gBAAgB,CAAA,EAAE;AAAA;AAAA;AAAA,EAGrH,aAAA,EAAe,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGtG,cAAA,EAAgB,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGvG,UAAA,EAAY,EAAE,GAAA,EAAK,+EAAA,EAAgF;AAAA;AAAA;AAAA,EAGnG,UAAA,EAAY,EAAE,GAAA,EAAK,+EAAA;AACrB;AAGO,SAAS,sBAAA,CAAuB,SAAyB,KAAA,EAAoC;AAClG,EAAA,OAAOA,qCAAA,CAAoB,OAAA,CAAQ,GAAA,EAAK,KAAA,EAAO,QAAQ,cAAc,CAAA;AACvE","file":"chunk-PLQFXCBU.cjs","sourcesContent":["// Restyle previews: for each art style, a short clip of real footage wiping\n// into that style, for a picker that restyles a video. Keyed by the `style`\n// catalog's option id. An entry exists only for an approved clip: a style\n// without one has no preview here.\n//\n// Each approved style keeps the URLs of its source shot and its generated clip\n// (no wipe) in a comment beside its entry, so the clip can be composed again if\n// the switch animation changes.\n//\n// Separate from LOOK_PREVIEW_SETS.style, whose stills every other art style\n// picker keeps showing. Like every render, a clip lives under picker-renders/\n// on the CDN, a key no user owns; a test holds this.\nimport { lookPreviewStillUrl } from \"./images.js\"\n\n/** One style's preview clip. */\nexport interface RestylePreview {\n readonly url: string\n /** The moment of the clip its still is cut from, for a clip whose usual moment frames it badly. Absent: the usual moment (`lookPreviewStillUrl`). */\n readonly stillAtSeconds?: number\n}\n\n/** Art style id → its restyle preview clip. */\nexport const RESTYLE_PREVIEWS: Readonly<Record<string, RestylePreview>> = {\n // Source shot: https://cdn.nodaro.ai/picker-renders/4054a0e1-af60-47f9-86bd-a78ab93f3800.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/9dc6b337-58b4-4a63-889f-70561a8f1f00.mp4\n anime: { url: \"https://cdn.nodaro.ai/picker-renders/7fbad6e4-023f-4282-ac3d-d186f2cbb37b.mp4\", stillAtSeconds: 7 },\n // Source shot: https://cdn.nodaro.ai/picker-renders/4ffff922-e807-42cc-a2a0-c66c3a8d492c.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/fca5d96d-ee9c-430e-ba82-2795c0adb8d6.mp4\n claymation: { url: \"https://cdn.nodaro.ai/picker-renders/2916a2f7-114c-4c7e-9be0-5bf229d76133.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/41faaa51-5e77-4097-aa9b-bef6738328b7.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5a28da72-f3ee-49a8-b732-f73e79741b62.mp4\n \"comic-book\": { url: \"https://cdn.nodaro.ai/picker-renders/7a2cd17c-b02f-4ae4-9723-ef48d0eda52a.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/a0ca72d5-1d4e-4f57-be74-ba3ac46dd9bd.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/cf977f6c-e755-4b72-b959-e6b954d631c3.mp4\n cyberpunk: { url: \"https://cdn.nodaro.ai/picker-renders/4868595c-cc88-4f82-b2a4-f33bfafe8198.mp4\", stillAtSeconds: 7 },\n // Source shot: https://cdn.nodaro.ai/picker-renders/4a70c22d-04f0-4b5a-90d4-e9dd7ddb01c4.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/5ab33529-ef2a-42bc-a625-d6b1abfeef1c.mp4\n \"felt-puppet\": { url: \"https://cdn.nodaro.ai/picker-renders/3aa3c81b-ba19-4776-becc-e0c47c700699.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/b1e77bdc-7c58-4cd8-a2d6-fd49379fee9e.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/a9aeca2d-bcd6-477b-80d7-5e6454ee2c25.mp4\n \"oil-painting\": { url: \"https://cdn.nodaro.ai/picker-renders/73c98260-9444-45e7-bccb-040b5d33fb53.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/d9e12a4a-677e-4e36-8f44-8503f14dd6b8.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/d4dad451-802a-4795-9cc3-71ff3ed70c69.mp4\n \"pixar-3d\": { url: \"https://cdn.nodaro.ai/picker-renders/c5ea2111-3283-4f80-ab05-8ab4450946ce.mp4\" },\n // Source shot: https://cdn.nodaro.ai/picker-renders/789f4330-660b-42bd-8d11-6e638e8c7c88.mp4\n // Generated, no wipe: https://cdn.nodaro.ai/picker-renders/10471107-b26a-42e9-a3a5-068a42436d3c.mp4\n watercolor: { url: \"https://cdn.nodaro.ai/picker-renders/61a26588-d09a-4959-b677-ee8b32e3281a.mp4\" },\n}\n\n/** A preview clip's still, a frame the CDN cuts from it at the clip's own moment. */\nexport function restylePreviewStillUrl(preview: RestylePreview, width?: number): string | undefined {\n return lookPreviewStillUrl(preview.url, width, preview.stillAtSeconds)\n}\n"]}
@@ -5905,7 +5905,7 @@ var GENERATE_IMAGE_PRESETS = [
5905
5905
  },
5906
5906
  {
5907
5907
  id: "generate-image/pixar-3d",
5908
- name: "3D Animated (Pixar-style)",
5908
+ name: "3D Animated Film",
5909
5909
  description: "Polished CG character look.",
5910
5910
  group: "Illustration & Art Styles",
5911
5911
  data: {
@@ -7165,7 +7165,7 @@ var GENERATE_VIDEO_PRESETS = [
7165
7165
  {
7166
7166
  id: "generate-video/cartoon-3d",
7167
7167
  name: "3D Cartoon",
7168
- description: "Playful Pixar-like motion.",
7168
+ description: "Playful animated-film motion.",
7169
7169
  group: "Animation & Style",
7170
7170
  data: {
7171
7171
  provider: "kling-3.0",
@@ -11262,5 +11262,5 @@ exports.groupFactoryPresets = groupFactoryPresets;
11262
11262
  exports.hookPlateCaptionSegments = hookPlateCaptionSegments;
11263
11263
  exports.presetMinReferences = presetMinReferences;
11264
11264
  exports.resolveBrandInput = resolveBrandInput;
11265
- //# sourceMappingURL=chunk-MGK6SFTV.cjs.map
11266
- //# sourceMappingURL=chunk-MGK6SFTV.cjs.map
11265
+ //# sourceMappingURL=chunk-RVBO63D5.cjs.map
11266
+ //# sourceMappingURL=chunk-RVBO63D5.cjs.map