@nodaro/prompts 1.6.0 → 1.7.0

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/dist/index.cjs CHANGED
@@ -25694,9 +25694,10 @@ function date4(params) {
25694
25694
 
25695
25695
  // ../../node_modules/zod/v4/classic/external.js
25696
25696
  config(en_default());
25697
-
25698
- // src/picker-analyzer-registry.ts
25699
25697
  var PERSON_EXCLUDED = /* @__PURE__ */ new Set(["age-custom"]);
25698
+ function tagDim(arr, dimension) {
25699
+ return arr.map((e) => ({ id: e.id, label: e.label, description: e.description, dimension }));
25700
+ }
25700
25701
  var personCleanup = (patch, mode) => {
25701
25702
  if (mode === "override") {
25702
25703
  patch.customAge = void 0;
@@ -25751,9 +25752,148 @@ var PICKER_ANALYZER_REGISTRY = {
25751
25752
  field: "cameraFormat",
25752
25753
  label: "Camera / Film Stock",
25753
25754
  entries: CAMERA_FORMATS
25755
+ },
25756
+ // ─── Text-to-picker expansion (Cine AI Fill): every remaining catalog ─────
25757
+ // Flat single-value pickers — field names match the picker wiring's
25758
+ // valueField (and the node-data shape the published-app input card writes).
25759
+ setting: { kind: "flat", toolName: "emit_setting", field: "setting", label: "Setting", entries: SETTINGS },
25760
+ atmosphere: { kind: "flat", toolName: "emit_atmosphere", field: "atmosphere", label: "Atmosphere", entries: ATMOSPHERES },
25761
+ style: { kind: "flat", toolName: "emit_style", field: "style", label: "Style", entries: STYLES },
25762
+ mood: { kind: "flat", toolName: "emit_mood", field: "mood", label: "Mood", entries: MOODS },
25763
+ "color-look": { kind: "flat", toolName: "emit_color_look", field: "colorLook", label: "Color / Look", entries: COLOR_LOOKS },
25764
+ photographer: { kind: "flat", toolName: "emit_photographer", field: "photographer", label: "Photographer / Artist", entries: PHOTOGRAPHERS },
25765
+ aesthetic: { kind: "flat", toolName: "emit_aesthetic", field: "aesthetic", label: "Aesthetic / Microtrend", entries: AESTHETICS },
25766
+ era: { kind: "flat", toolName: "emit_era", field: "era", label: "Era / Period", entries: ERAS },
25767
+ "photo-genre": { kind: "flat", toolName: "emit_photo_genre", field: "photoGenre", label: "Photo Genre", entries: PHOTO_GENRES },
25768
+ backdrop: { kind: "flat", toolName: "emit_backdrop", field: "backdrop", label: "Backdrop", entries: BACKDROPS },
25769
+ "render-quality": { kind: "flat", toolName: "emit_render_quality", field: "renderQuality", label: "Render Quality", entries: RENDER_QUALITIES },
25770
+ "composition-effects": { kind: "flat", toolName: "emit_composition_effects", field: "compositionEffect", label: "Composition Effect", entries: COMPOSITION_EFFECTS },
25771
+ "post-process-effects": { kind: "flat", toolName: "emit_post_process_effects", field: "postProcess", label: "Post-Process Effect", entries: POST_PROCESS_EFFECTS },
25772
+ "action-fx": { kind: "flat", toolName: "emit_action_fx", field: "actionFx", label: "Action FX", entries: ACTION_FX },
25773
+ "loop-subject": { kind: "flat", toolName: "emit_loop_subject", field: "loopSubject", label: "Loop Subject", entries: LOOP_SUBJECTS },
25774
+ transition: { kind: "flat", toolName: "emit_transition", field: "transition", label: "Transition", entries: TRANSITIONS },
25775
+ "character-fx": { kind: "flat", toolName: "emit_character_fx", field: "characterFx", label: "Character FX", entries: CHARACTER_FX },
25776
+ pose: { kind: "flat", toolName: "emit_pose", field: "pose", label: "Pose", entries: POSES },
25777
+ material: { kind: "flat", toolName: "emit_material", field: "material", label: "Material", entries: MATERIALS },
25778
+ "held-prop": { kind: "flat", toolName: "emit_held_prop", field: "heldProp", label: "Held Prop", entries: HELD_PROPS },
25779
+ "camera-motion": { kind: "flat", toolName: "emit_camera_motion", field: "cameraMotion", label: "Camera Motion", entries: CAMERA_MOTIONS },
25780
+ animal: { kind: "flat", toolName: "emit_animal", field: "animal", label: "Animal", entries: shared.ANIMALS },
25781
+ vehicle: { kind: "flat", toolName: "emit_vehicle", field: "vehicle", label: "Vehicle", entries: shared.VEHICLES },
25782
+ weapon: { kind: "flat", toolName: "emit_weapon", field: "weapon", label: "Weapon", entries: shared.WEAPONS },
25783
+ furniture: { kind: "flat", toolName: "emit_furniture", field: "furniture", label: "Furniture", entries: shared.FURNITURE },
25784
+ // Discriminated multi-dim pickers. lighting/temporal/exposure discriminate
25785
+ // on the single catalog's `category`; the sound/voice pickers span several
25786
+ // per-field catalogs, so their entries are synthesized with an explicit
25787
+ // `dimension` tag (tagDim below) — same wire shape either way.
25788
+ lighting: {
25789
+ kind: "discriminated",
25790
+ toolName: "emit_lighting",
25791
+ discriminator: "category",
25792
+ order: LIGHTING_CATEGORY_ORDER,
25793
+ fieldByKey: LIGHTING_FIELD_BY_CATEGORY,
25794
+ labels: LIGHTING_CATEGORY_LABELS,
25795
+ entries: LIGHTINGS,
25796
+ limitFn: () => 1
25797
+ },
25798
+ temporal: {
25799
+ kind: "discriminated",
25800
+ toolName: "emit_temporal",
25801
+ discriminator: "category",
25802
+ order: ["speed", "freeze", "direction", "shutter"],
25803
+ fieldByKey: { speed: "temporalSpeed", freeze: "temporalFreeze", direction: "temporalDirection", shutter: "temporalShutter" },
25804
+ labels: { speed: "Playback Speed", freeze: "Freeze", direction: "Direction", shutter: "Shutter" },
25805
+ entries: TEMPORALS,
25806
+ limitFn: () => 1
25807
+ },
25808
+ "exposure-settings": {
25809
+ kind: "discriminated",
25810
+ toolName: "emit_exposure_settings",
25811
+ discriminator: "category",
25812
+ order: ["aperture", "shutter-speed", "iso"],
25813
+ fieldByKey: { aperture: "aperture", "shutter-speed": "shutterSpeed", iso: "isoValue" },
25814
+ labels: { aperture: "Aperture", "shutter-speed": "Shutter Speed", iso: "ISO" },
25815
+ entries: EXPOSURE_SETTINGS,
25816
+ limitFn: () => 1
25817
+ },
25818
+ "music-genre": {
25819
+ kind: "discriminated",
25820
+ toolName: "emit_music_genre",
25821
+ discriminator: "dimension",
25822
+ order: ["genre", "subgenre", "era"],
25823
+ fieldByKey: { genre: "genre", subgenre: "subgenre", era: "era" },
25824
+ labels: { genre: "Genre", subgenre: "Subgenre", era: "Era" },
25825
+ entries: [
25826
+ ...tagDim(MUSIC_GENRES, "genre"),
25827
+ // Subgenres carry promptHint but no description — the hint doubles as
25828
+ // the legend text (it describes the sound well enough for matching).
25829
+ ...MUSIC_GENRES.flatMap(
25830
+ (g) => g.subgenres.map((s) => ({ id: s.id, label: s.label, description: s.promptHint, dimension: "subgenre" }))
25831
+ ),
25832
+ ...tagDim(MUSIC_ERAS, "era")
25833
+ ],
25834
+ limitFn: (k) => k === "genre" ? 2 : 1
25835
+ },
25836
+ "music-mood": {
25837
+ kind: "discriminated",
25838
+ toolName: "emit_music_mood",
25839
+ discriminator: "dimension",
25840
+ order: ["energy", "emotion", "vibe"],
25841
+ fieldByKey: { energy: "energy", emotion: "emotion", vibe: "vibe" },
25842
+ labels: { energy: "Energy", emotion: "Emotion", vibe: "Vibe" },
25843
+ entries: [...tagDim(MUSIC_ENERGIES, "energy"), ...tagDim(MUSIC_EMOTIONS, "emotion"), ...tagDim(MUSIC_VIBES, "vibe")],
25844
+ limitFn: (k) => k === "energy" ? 1 : 2
25845
+ },
25846
+ instrumentation: {
25847
+ kind: "discriminated",
25848
+ toolName: "emit_instrumentation",
25849
+ discriminator: "dimension",
25850
+ order: ["instruments", "production", "vocalPresence", "singingStyle"],
25851
+ fieldByKey: { instruments: "instruments", production: "production", vocalPresence: "vocalPresence", singingStyle: "singingStyle" },
25852
+ labels: { instruments: "Instruments", production: "Production Style", vocalPresence: "Vocal Presence", singingStyle: "Singing Style" },
25853
+ entries: [
25854
+ ...tagDim(INSTRUMENTS, "instruments"),
25855
+ ...tagDim(PRODUCTION_STYLES, "production"),
25856
+ ...tagDim(VOCAL_PRESENCE, "vocalPresence"),
25857
+ ...tagDim(SINGING_STYLES, "singingStyle")
25858
+ ],
25859
+ limitFn: (k) => k === "instruments" ? 3 : k === "production" ? 1 : 2
25860
+ },
25861
+ "voice-character": {
25862
+ kind: "discriminated",
25863
+ toolName: "emit_voice_character",
25864
+ discriminator: "dimension",
25865
+ order: ["age", "gender", "language", "accent", "timbre"],
25866
+ fieldByKey: { age: "age", gender: "gender", language: "language", accent: "accent", timbre: "timbre" },
25867
+ labels: { age: "Age", gender: "Gender", language: "Language", accent: "Accent", timbre: "Timbre" },
25868
+ entries: [
25869
+ ...tagDim(VOICE_AGES, "age"),
25870
+ ...tagDim(VOICE_GENDERS, "gender"),
25871
+ ...tagDim(VOICE_LANGUAGES, "language"),
25872
+ ...tagDim(VOICE_ACCENTS, "accent"),
25873
+ ...tagDim(VOICE_TIMBRES, "timbre")
25874
+ ],
25875
+ limitFn: (k) => k === "language" ? 2 : 1
25876
+ },
25877
+ "voice-delivery": {
25878
+ kind: "discriminated",
25879
+ toolName: "emit_voice_delivery",
25880
+ discriminator: "dimension",
25881
+ order: ["pace", "emotion", "archetype"],
25882
+ fieldByKey: { pace: "pace", emotion: "emotion", archetype: "archetype" },
25883
+ labels: { pace: "Pace", emotion: "Emotion", archetype: "Archetype" },
25884
+ entries: [...tagDim(VOICE_PACES, "pace"), ...tagDim(VOICE_EMOTIONS, "emotion"), ...tagDim(VOICE_ARCHETYPES, "archetype")],
25885
+ limitFn: () => 1
25754
25886
  }
25755
25887
  };
25756
25888
  var PICKER_TYPES = Object.keys(PICKER_ANALYZER_REGISTRY);
25889
+ var PICKER_ANALYZER_FAMILIES = {
25890
+ scene: ["setting", "atmosphere", "backdrop", "era", "temporal"],
25891
+ look: ["style", "color-look", "mood", "aesthetic", "photographer", "photo-genre", "render-quality", "composition-effects", "post-process-effects"],
25892
+ camera: ["framing", "camera-motion", "lens", "camera-format", "lighting", "exposure-settings"],
25893
+ character: ["person", "styling", "pose", "character-fx"],
25894
+ elements: ["animal", "vehicle", "weapon", "furniture", "held-prop", "material", "action-fx", "loop-subject", "transition"],
25895
+ audio: ["music-genre", "music-mood", "instrumentation", "voice-character", "voice-delivery"]
25896
+ };
25757
25897
  var ANALYZABLE_PICKER_TYPES = new Set(PICKER_TYPES);
25758
25898
  function isAnalyzablePicker(t) {
25759
25899
  return ANALYZABLE_PICKER_TYPES.has(t);
@@ -26068,7 +26208,8 @@ var SEEDANCE_2_DOCTRINE = {
26068
26208
  "Native multi-track audio \u2014 cue it inline: \uFF08background music\uFF09, <sound effects>, and quoted dialogue.",
26069
26209
  "References go by ordinal (@Image 1, Video 2) in attachment order; earlier = higher priority. Identity = ONE headshot + ONE full-body (multi-view sheets cause ID drift). 4-5 assets total beats maxing the 9/3/3 caps.",
26070
26210
  "No negative-prompt parameter \u2014 put constraints in the prompt: 'keep it subtitle-free, do not generate a watermark, do not generate a logo'.",
26071
- "seedance-2-5 only: one shot runs to 30s (the 2.0 SKUs stop at 15s), so storyboard a whole beat instead of planning a stitch. Ref caps are wider (30/10/10), but 4-5 assets still gives the best identity fidelity."
26211
+ "seedance-2-5 only: one shot runs to 30s (the 2.0 SKUs stop at 15s), so storyboard a whole beat instead of planning a stitch. Ref caps are wider (30/10/10), but 4-5 assets still gives the best identity fidelity.",
26212
+ "Auto-path formula: Subject \u2192 Action \u2192 Environment \u2192 Camera \u2192 Style \u2192 Constraints in 60-100 words; ONE camera instruction (chain with 'then'); separate camera motion from subject motion; always add one lighting phrase."
26072
26213
  ],
26073
26214
  doctrine: `Prompt structure (front-load what matters most):
26074
26215
  precise subject \u2192 action details \u2192 scene/environment \u2192 lighting & color tone \u2192 camera movement \u2192 visual style \u2192 image quality \u2192 constraints.
@@ -26106,11 +26247,34 @@ precise subject \u2192 action details \u2192 scene/environment \u2192 lighting &
26106
26247
  **Known weaknesses \u2192 workarounds**
26107
26248
  - Text rendering is weak: keep on-screen text to short common words; for exact text or logos, attach the artwork as a reference image and instruct "the logo from Image N stays in the corner unchanged".
26108
26249
  - More than 4 referenced people gets unstable: group people into composite images of \u22644 first (image generation), then reference those composites.
26109
- - Repeated extension degrades quality: prefer high-definition reference assets and avoid stacking many continuations.`
26250
+ - Repeated extension degrades quality: prefer high-definition reference assets and avoid stacking many continuations.
26251
+
26252
+ **Auto-path formula (community-sourced enrichment \u2014 apiyi.com Seedance 2.0 prompt guide,
26253
+ higgsfield.ai 4K breakdown; captured 2026-08-09)**
26254
+ - Six steps IN ORDER, 60-100 words total (longer measurably degrades): Subject \u2192 Action \u2192 Environment \u2192 Camera \u2192 Style \u2192 Constraints.
26255
+ - ONE primary camera instruction per shot. Compound moves chain with "then": "camera slow tracking then subtle rise" \u2014 never two competing verbs. The 8 reliable camera types: push-in, pull-out, pan, tracking, orbit/arc, aerial, handheld, locked-off.
26256
+ - SEPARATE camera movement from subject movement \u2014 the single biggest quality lever: "The dancer spins slowly. Camera holds fixed framing." \u2014 never "spinning camera around a dancing person".
26257
+ - Pace with human words (slow / gentle / gradual / smooth / controlled) \u2014 never fps numbers or f-stops in the basic path.
26258
+ - ALWAYS add one lighting phrase (highest-impact single addition): golden hour / rim light / neon glow / backlit / overcast.
26259
+ - Bake stability constraints in: "avoid jitter and bent limbs", "avoid temporal flicker", "avoid identity drift".
26260
+ - Ban vague adjectives standing alone ("epic", "amazing", "beautiful", bare "cinematic") \u2014 every adjective needs a concrete noun.
26261
+ - Mode notes: i2v \u2014 skip subject description (the frame has it), focus on motion, append "preserve composition and colors". v2v \u2014 describe the style TRANSFORM, keep motion + identity.
26262
+ - Advanced (pro path): focal angles in degrees ("47\xB0 normal", "29\xB0 telephoto", "107\xB0 wide"); "180\xB0 shutter" for filmic motion blur; handheld texture as "organic shake, micro-drift, subtle dutch"; "white balance locked 5200K"; explicit POSITIVE LOCKS section + "100% matches the reference" for identity-critical shots.
26263
+
26264
+ **Camera-path control \u2014 the magenta-line method (STORYBOARD community technique; the
26265
+ manual pro path for precise trajectories, NOT the auto path)**
26266
+ 1. Duplicate the start frame; on the COPY draw a thick magenta line + arrowhead \u2014 the line is the camera's flight path, the arrow its end point. Keep the clean original.
26267
+ 2. Attach BOTH frames and declare the guide: "Image N contains a magenta line and arrow \u2014 a hidden camera trajectory guide, NOT part of the scene. Completely remove it: no line, no arrow, no paint, no trail, no reflection." Skipping the removal order RENDERS the line.
26268
+ 3. Command the path: "one continuous FPV drone glide following the S-shaped curve as closely as possible \u2014 do not shortcut. Camera motion is the priority." Lock the clean frame as first frame + scene reference; lock the destination frame if wired.
26269
+ 4. Pace with timing blocks ("[00:00-00:02] rise over the rooftop \u2026 [00:07-00:09] settle on the doorway") and keep any dialogue SHORT \u2014 long lines fight the move.
26270
+ 5. Assign image-input roles explicitly: first-frame/scene-ref \xB7 destination frame \xB7 path-guide \xB7 3-6 character-identity refs \u2014 and bind identities with @-mentions exactly like the platform's reference pills.`
26110
26271
  };
26111
26272
  var KLING_AUDIO_DOCTRINE = {
26112
- providers: ["kling", "kling-3.0", "kling-3-omni"],
26113
- heading: "Kling 2.6 / 3.0 / 3 Omni (kling, kling-3.0, kling-3-omni)",
26273
+ // kling-turbo (2.5 Turbo Pro) + kling-master (2.1 Master) are SILENT tiers of
26274
+ // the same engine: the structure/motion guidance applies, the Audio block
26275
+ // does not (variant note in the doctrine body).
26276
+ providers: ["kling", "kling-3.0", "kling-3-omni", "kling-turbo", "kling-master"],
26277
+ heading: "Kling 2.1 / 2.5 / 2.6 / 3.0 / 3 Omni (kling, kling-3.0, kling-3-omni, kling-turbo, kling-master)",
26114
26278
  tips: [
26115
26279
  'Kling speaks scripted dialogue natively with lip sync \u2014 quote the line and enable sound: [Anna: warm calm voice]: "We made it." On kling/kling-3.0 audio raises the credit cost; kling-3-omni includes it.',
26116
26280
  "Structure prompts as Scene \u2192 character/element \u2192 Motion \u2192 Audio \u2192 style. Put ALL sound in one 'Audio:' block: dialogue in quotes, then SFX and ambience described plainly ('rain tapping on glass, no music').",
@@ -26142,7 +26306,11 @@ var KLING_AUDIO_DOCTRINE = {
26142
26306
 
26143
26307
  **Limits**
26144
26308
  - Kling 2.6 prompts cap at 1000 characters \u2014 front-load scene + dialogue and trim style tails first. kling-3.0 accepts long prompts.
26145
- - Durations: 2.6 = 5/10s; 3.0/omni = 3-15s. A spoken line needs roughly 1s per 2-3 words \u2014 don't script more dialogue than the clip can hold.`
26309
+ - Durations: 2.6 = 5/10s; 3.0/omni = 3-15s. A spoken line needs roughly 1s per 2-3 words \u2014 don't script more dialogue than the clip can hold.
26310
+
26311
+ **Variant note \u2014 kling-turbo (2.5 Turbo Pro) & kling-master (2.1 Master)**
26312
+ - SILENT tiers: no audio parameter, so the entire Audio block above does not apply \u2014 skip dialogue/SFX cues; the Scene \u2192 Character \u2192 Motion \u2192 Style structure and motion guidance carry over unchanged.
26313
+ - Durations 5/10s; kling-turbo takes an end frame (tail_image_url); kling-master is single-image i2v.`
26146
26314
  };
26147
26315
  var MINIMAX_H3_DOCTRINE = {
26148
26316
  providers: ["minimax-h3"],
@@ -26179,10 +26347,199 @@ precise subject \u2192 action details \u2192 scene/environment \u2192 lighting &
26179
26347
  **Constraints**
26180
26348
  - There is NO negative-prompt parameter \u2014 all constraints belong in the prompt text itself: "keep it subtitle-free, do not generate a watermark, do not generate a logo, stable picture".`
26181
26349
  };
26350
+ var VEO_31_DOCTRINE = {
26351
+ providers: ["veo3", "veo3.1", "veo3_lite", "veo-1080p", "veo-4k", "veo-extend"],
26352
+ heading: "VEO 3.1 \u2014 Quality / Fast / Lite (veo3, veo3.1, veo3_lite)",
26353
+ tips: [
26354
+ "Structure prompts as [Cinematography] + [Subject] + [Action] + [Context] + [Style & Ambiance] \u2014 lead with the camera, not the subject (Google's official formula).",
26355
+ 'Dialogue: quote the exact line with attribution \u2014 A woman says, "We have to leave now." (no subtitles). Cue sound as separate lines: SFX: thunder cracks; Ambient noise: quiet hum of a starship bridge.',
26356
+ "Multi-shot pacing via timestamp blocks: [00:00-00:02] medium shot\u2026 [00:02-00:04] reverse shot\u2026 \u2014 VEO honors per-window actions inside one 8s generation.",
26357
+ "Negative prompting is positive phrasing: not 'no buildings' but 'a desolate landscape with no buildings or roads'. Keep prompts under ~175 words \u2014 longer overloads the generation.",
26358
+ "Start+end frame: pass both and describe the transition move ('smooth 180-degree arc ending on the POV behind her'). References (ingredients) keep characters/objects consistent and DO generate audio."
26359
+ ],
26360
+ doctrine: `Prompt structure (Google's official Veo 3.1 formula \u2014 lead with the camera):
26361
+ [Cinematography] + [Subject] + [Action] + [Context] + [Style & Ambiance].
26362
+ Example: "Medium shot, a tired corporate worker, rubbing his temples in exhaustion, in front of a bulky 1980s computer in a cluttered office late at night, lit by harsh fluorescents and the green monitor glow. Retro aesthetic, 1980s color film, slightly grainy."
26363
+
26364
+ **Camera vocabulary (use the exact terms)**
26365
+ - Movement: dolly shot, tracking shot, crane shot, aerial view, slow pan, POV shot, 180-degree arc shot.
26366
+ - Composition: wide shot, medium shot, close-up, extreme close-up, two-shot, low angle, high angle.
26367
+ - Lens/focus: shallow depth of field, deep focus, wide-angle lens, macro lens, soft focus.
26368
+
26369
+ **Audio (native, multi-track \u2014 dialogue / SFX / ambience)**
26370
+ - Dialogue: quote the exact line with attribution: The detective says in a weary voice, "Of all the offices in this town, you had to walk into mine." Append "(no subtitles)" \u2014 VEO otherwise tends to burn captions in.
26371
+ - Sound effects on their own line: "SFX: a crystal wine glass shatters on the marble floor". Ambient bed: "Ambient noise: rain against the window, distant traffic".
26372
+ - Sound can drive the visual ("the sound reverberating through the empty ballroom") \u2014 VEO syncs audio-visual timing.
26373
+
26374
+ **Multi-shot timestamp prompting (inside one generation)**
26375
+ - Split the clip into [mm:ss-mm:ss] windows, one action per window:
26376
+ [00:00-00:02] Medium shot from behind a young explorer walking toward a clearing.
26377
+ [00:02-00:04] Reverse shot of her freckled face, eyes widening.
26378
+ [00:04-00:08] Wide, high-angle crane shot revealing the ruins below.
26379
+ - 4 / 6 / 8 second clips; budget ~2s per window.
26380
+
26381
+ **Frames & references**
26382
+ - Start + end frame: wire both (imageUrls [start, end]) and describe the camera path between them \u2014 "a smooth 180-degree arc shot, starting front-facing and circling to end on the POV from behind her".
26383
+ - Reference images (ingredients): attach character/object/scene refs and name them in the prompt ("using the provided images for the detective and the office, \u2026"). Reference runs DO generate audio.
26384
+
26385
+ **Constraints**
26386
+ - Negative prompting works by positive description: write "a desolate landscape with no buildings or roads", not "no buildings".
26387
+ - Keep prompts \u2264 ~175 words \u2014 beyond that instructions conflict and adherence drops. Resolution 720p/1080p; aspect 16:9 / 9:16.
26388
+
26389
+ Sources: Google Cloud "Ultimate prompting guide for Veo 3.1"
26390
+ (cloud.google.com/blog/products/ai-machine-learning/ultimate-prompting-guide-for-veo-3-1),
26391
+ KIE VEO API docs (docs.kie.ai/veo3-api/generate-veo-3-video). Captured 2026-08-09.`
26392
+ };
26393
+ var GEMINI_OMNI_DOCTRINE = {
26394
+ providers: ["gemini-omni-video"],
26395
+ heading: "Gemini Omni Video (gemini-omni-video)",
26396
+ tips: [
26397
+ "Multimodal Google video with native audio: text-to-video, image-to-video, and video-edit through the same prompt surface. 4/6/8/10s; 720p/1080p or 4K tier.",
26398
+ "Structure like the platform default: subject \u2192 action \u2192 scene \u2192 lighting \u2192 camera \u2192 style. Quote dialogue lines to have them spoken; describe SFX/ambience plainly in the prompt.",
26399
+ "Text-to-video REQUIRES a concrete aspect ratio (the API hard-rejects a missing one); image runs infer aspect from the input.",
26400
+ "Reference images ride along as additional imageUrls \u2014 bind them in the prompt ('the woman from the first image'). Video-edit: wire a source clip and describe the change, not the whole scene."
26401
+ ],
26402
+ doctrine: `Prompt structure (no public Google prompt guide exists for the Omni video endpoint \u2014
26403
+ the API contract is the doctrine source, like MiniMax H3; structure guidance mirrors the
26404
+ platform's ordinal-reference conventions):
26405
+ subject \u2192 action \u2192 scene/environment \u2192 lighting \u2192 camera movement \u2192 style \u2192 constraints.
26406
+
26407
+ **Modes (picked from the wired inputs)**
26408
+ - Nothing visual \u2192 text-to-video. A concrete aspect ratio is REQUIRED \u2014 the API hard-rejects a missing one (Nodaro sends the node's ratio; there is no adaptive).
26409
+ - Image(s) wired \u2192 image-to-video: the first image anchors the scene; extra images are references \u2014 bind each in the prompt ("the woman from the first image", "the interior from the second image").
26410
+ - Source video wired \u2192 video-edit (served through the same handle): describe the CHANGE ("replace the daylight with dusk, keep the motion and framing"), not a full re-description.
26411
+
26412
+ **Audio (native)**
26413
+ - Audio is generated with the clip. Quote dialogue to have it spoken; describe SFX and ambience plainly ("rain on glass, low synth bed"). State exclusions ("no music") or a bed may be invented.
26414
+
26415
+ **Duration & tiers**
26416
+ - 4 / 6 / 8 / 10 seconds. 720p/1080p tier or the pricier 4K tier \u2014 pick 4K only when the deliverable needs it (nearly 2\xD7 the credits).
26417
+
26418
+ Source: KIE gemini-omni-video market contract (parameters + live behavior probed for the
26419
+ aspect-ratio hard-reject, see providers/kie/video.ts). Captured 2026-08-09.`
26420
+ };
26421
+ var GROK_IMAGINE_DOCTRINE = {
26422
+ providers: ["grok-i2v", "grok-imagine-video-1.5"],
26423
+ heading: "Grok Imagine (grok-i2v, grok-imagine-video-1.5)",
26424
+ tips: [
26425
+ "Keep prompts simple and direct \u2014 Subject + Action + Setting + Camera + Mood. Grok expands the prompt itself; over-specification fights the expander.",
26426
+ "Image-to-video: the input image IS the first frame (composition, identity, and style are preserved) \u2014 describe the MOTION, don't re-describe the still.",
26427
+ "Video 1.5: 1-15s (default 8), 480p/720p/1080p, up to 7 input images (1080p allows only one). Native audio incl. music, SFX, and lip-synced dialogue \u2014 quote the line to have it spoken.",
26428
+ "Aspect ratio applies to text runs (1:1/16:9/9:16/3:2/2:3/auto); a single input image locks the output to the image's own aspect."
26429
+ ],
26430
+ doctrine: `Prompt structure (xAI's guidance is minimal by design \u2014 the model auto-expands prompts):
26431
+ Subject + Action + Setting + Camera + Lighting/Mood, written simply and directly. Reduce
26432
+ descriptions of static/unchanged parts \u2014 spend the words on what MOVES.
26433
+
26434
+ **Image-to-video (the primary mode)**
26435
+ - The input image is the FIRST FRAME, not a loose reference: composition, subject identity, and visual style carry over. Describe motion and camera only ("she turns toward the window as the camera slowly pushes in"); re-describing the still wastes adherence.
26436
+ - grok-imagine-video-1.5 accepts up to 7 images (identity/scene references beyond the first frame); at 1080p only ONE image is allowed.
26437
+
26438
+ **Audio (video-1.5)**
26439
+ - Native audio generates with the clip \u2014 background music, SFX, and lip-synced dialogue. Quote the spoken line; describe the music/SFX plainly. There is no audio toggle on the KIE contract \u2014 cue (or exclude) sound in the prompt text.
26440
+
26441
+ **Durations / tiers**
26442
+ - grok-i2v: 6 or 10 seconds. grok-imagine-video-1.5: 1-15 seconds in 1s steps (default 8), 480p (default) / 720p / 1080p. Prompt cap 4096 chars \u2014 but shorter is better here.
26443
+
26444
+ Sources: KIE Grok Imagine contracts (docs.kie.ai/market/grok-imagine/image-to-video,
26445
+ docs.kie.ai/market/grok-imagine/1-5-preview), xAI Grok Imagine 1.5 release notes
26446
+ (x.ai/news/grok-imagine-1-5). Captured 2026-08-09.`
26447
+ };
26448
+ var WAN_DOCTRINE = {
26449
+ providers: ["wan", "wan-i2v", "wan-turbo", "wan-flash", "wan-2.7", "wan-2.7-i2v", "wan-2.7-t2v", "wan-2.7-pro", "wan-videoedit"],
26450
+ heading: "Wan 2.x (wan, wan-i2v, wan-turbo, wan-2.7 family)",
26451
+ tips: [
26452
+ "Alibaba's official formula: Entity + Scene + Motion (basic) \u2192 add Aesthetic control + Stylization (advanced). Image-to-video: Motion + Camera only \u2014 the image already defines entity and scene.",
26453
+ "Sound (2.5+): append a sound description block \u2014 voice / sound effects / background music. Avoid scripting EXACT lip-synced lines (official anti-pattern); describe the voice and intent instead.",
26454
+ "Multi-shot (2.6/2.7): Overall description + shot number + timestamp + per-shot content. For ONE continuous take write 'Generate single shot' (the shot_type parameter is gone in 2.7).",
26455
+ "References go by 'Image 1' / 'Video 1' (capitalized, with a space). Anti-patterns: naming real people, demanding exact legible text, rapid scene changes in one clip, very long choreography.",
26456
+ "Style words are strong levers: cyberpunk, claymation, pixel style, felt style, tilt-shift, time-lapse. wan-videoedit: describe the transform, keep motion + identity."
26457
+ ],
26458
+ doctrine: `Prompt structure (Alibaba Model Studio's official formulas):
26459
+ - Basic: Entity + Scene + Motion.
26460
+ - Advanced: Entity (description) + Scene (description) + Motion (description) + Aesthetic control + Stylization.
26461
+ - Image-to-video: Motion + Camera movement ONLY \u2014 the wired image already defines entity and scene; re-describing it fights the frame.
26462
+ - Sound (2.5/2.6/2.7): \u2026 + Sound description (voice / sound effects / background music).
26463
+ - Multi-shot (2.6/2.7): Overall description + Shot number + Timestamp + Shot content.
26464
+ - Reference-to-video (2.6/2.7): Reference identifier + Action + Scene + optional Lines + optional BGM.
26465
+
26466
+ **Camera vocabulary**
26467
+ push-in (intimacy/tension), pull-out (scale/isolation), tracking shot, orbit, fixed camera, and compound movements chained sequentially for epic scale.
26468
+
26469
+ **Single-shot control (2.7)**
26470
+ - The shot_type parameter no longer exists \u2014 write "Generate single shot" in the prompt to force one continuous take; otherwise 2.7's planner may cut.
26471
+
26472
+ **References**
26473
+ - English format is "Image 1" / "Video 1" (capitalized, space-separated) \u2014 bind every wired asset by that name or it may be ignored.
26474
+
26475
+ **Official anti-patterns (from Alibaba's guide)**
26476
+ - Do NOT name specific real people.
26477
+ - Do NOT script exact lip-synced dialogue \u2014 describe the voice and intent ("she murmurs a reassurance, warm and low") instead of demanding word-perfect lips.
26478
+ - Avoid rapid scene changes inside a single clip, very long choreographed sequences, and demands for exactly legible on-screen text.
26479
+
26480
+ **Stylization**
26481
+ - Style words are strong levers: cyberpunk, line-art illustration, felt style, 3D cartoon, pixel style, puppet animation, claymation, black-and-white animation, tilt-shift, time-lapse.
26482
+
26483
+ Source: Alibaba Cloud Model Studio \u2014 "Text-to-video / image-to-video prompt guide"
26484
+ (alibabacloud.com/help/en/model-studio/text-to-video-prompt). Captured 2026-08-09.`
26485
+ };
26486
+ var HAPPYHORSE_DOCTRINE = {
26487
+ providers: ["happyhorse", "happyhorse-i2v", "happyhorse-ref2v", "happyhorse-edit"],
26488
+ heading: "HappyHorse 1.1 (happyhorse, happyhorse-i2v, happyhorse-ref2v)",
26489
+ tips: [
26490
+ "Any-language prompts up to 5000 chars (2500 Chinese) \u2014 excess is silently truncated, so front-load subject \u2192 action \u2192 scene \u2192 camera \u2192 style.",
26491
+ "3-15 seconds per second of billing; 720p or 1080p; ratios 16:9 / 9:16 / 1:1 / 4:3 / 3:4. Pick the shortest duration that serves the shot.",
26492
+ "ref2v is one of the few true REFERENCE modes on the roster: wired refs keep identity across the clip \u2014 bind each reference explicitly in the prompt.",
26493
+ "No published vendor style guide \u2014 the platform's standard structure applies; keep one camera move per shot and quantify motion physically."
26494
+ ],
26495
+ doctrine: `Prompt structure (no public HappyHorse prompt guide exists \u2014 the KIE API contract is the
26496
+ doctrine source; platform-standard structure applies):
26497
+ subject \u2192 action \u2192 scene/environment \u2192 lighting \u2192 camera movement \u2192 style \u2192 constraints.
26498
+
26499
+ **Contract facts (KIE, per-mode pages)**
26500
+ - Prompts: any language, up to 5000 non-Chinese / 2500 Chinese characters \u2014 excess is TRUNCATED silently, so put the load-bearing content first.
26501
+ - Duration 3-15s (default 5), billed per second. Resolution 720p / 1080p (default). Aspect 16:9 (default) / 9:16 / 1:1 / 4:3 / 3:4.
26502
+ - Modes: text-to-video (happyhorse), image-to-video (happyhorse-i2v), reference-to-video (happyhorse-ref2v) \u2014 ref2v preserves wired identities; name each reference in the prompt so the binding is explicit.
26503
+
26504
+ **Style guidance (platform-standard, honestly generic)**
26505
+ - One camera movement per shot; physical, quantified action ("slowly raises a hand") over abstract emotion words; state exclusions ("no on-screen text, no watermark") in the prompt.
26506
+
26507
+ Source: KIE HappyHorse 1.1 contracts (docs.kie.ai/market/happyhorse/text-to-video,
26508
+ \u2026/happyhorse-1-1/image-to-video, \u2026/happyhorse-1-1/reference-to-video). Captured 2026-08-09.`
26509
+ };
26510
+ var RUNWAY_KIE_DOCTRINE = {
26511
+ providers: ["runway-kie", "runway-extend", "runway-aleph"],
26512
+ heading: "Runway via KIE (runway-kie)",
26513
+ tips: [
26514
+ "Prompt cap is 1800 chars; KIE's own guidance: be specific about subject, action, style, and setting. No native audio \u2014 plan sound as a separate pass.",
26515
+ "Durations 5 or 10s with a hard trade-off: 10s cannot be 1080p, 1080p cannot exceed 5s \u2014 pick per deliverable.",
26516
+ "Text runs REQUIRE an aspect ratio (16:9/4:3/1:1/3:4/9:16); image runs IGNORE it \u2014 the input image dictates output dimensions.",
26517
+ "Image-to-video treats the image as the anchor frame: describe motion and camera, not the still."
26518
+ ],
26519
+ doctrine: `Prompt structure (KIE contract guidance): "be specific about subject, action, style, and
26520
+ setting" \u2014 subject \u2192 action \u2192 scene \u2192 camera \u2192 style, within the 1800-character cap.
26521
+
26522
+ **Contract facts (KIE Runway endpoint)**
26523
+ - Duration 5 or 10 seconds; quality 720p or 1080p \u2014 10s@1080p does NOT exist (10s forces 720p; 1080p forces 5s). Choose by deliverable: crisp hero shot \u2192 5s/1080p; longer beat \u2192 10s/720p.
26524
+ - Text-to-video REQUIRES aspectRatio (16:9 / 4:3 / 1:1 / 3:4 / 9:16). Image-to-video IGNORES aspectRatio \u2014 the input image dictates output dimensions.
26525
+ - No audio is generated \u2014 score/SFX are a separate pass (merge-video-audio / video-sfx downstream).
26526
+
26527
+ **Style guidance**
26528
+ - The image input anchors composition and identity \u2014 describe the motion ("she pushes the door open as the camera tracks left"), not the still.
26529
+ - Keep one continuous camera idea per clip; front-load the subject and action.
26530
+
26531
+ Source: KIE Runway contract (docs.kie.ai/runway-api/generate-ai-video). Captured 2026-08-09.`
26532
+ };
26182
26533
  var PROVIDER_PROMPT_DOCTRINES = [
26183
26534
  SEEDANCE_2_DOCTRINE,
26184
26535
  KLING_AUDIO_DOCTRINE,
26185
- MINIMAX_H3_DOCTRINE
26536
+ MINIMAX_H3_DOCTRINE,
26537
+ VEO_31_DOCTRINE,
26538
+ GEMINI_OMNI_DOCTRINE,
26539
+ GROK_IMAGINE_DOCTRINE,
26540
+ WAN_DOCTRINE,
26541
+ HAPPYHORSE_DOCTRINE,
26542
+ RUNWAY_KIE_DOCTRINE
26186
26543
  ];
26187
26544
  var DOCTRINE_BY_PROVIDER = new Map(
26188
26545
  PROVIDER_PROMPT_DOCTRINES.flatMap((d) => d.providers.map((p) => [p, d]))
@@ -31511,6 +31868,212 @@ function getFactorySnippets(target, media) {
31511
31868
  (s) => s.target === target && s.media.includes(media)
31512
31869
  );
31513
31870
  }
31871
+ function mapCat(arr, groupKey) {
31872
+ return arr.map((e) => ({
31873
+ id: e.id,
31874
+ label: e.label,
31875
+ description: e.description,
31876
+ group: groupKey ? e[groupKey] : void 0
31877
+ }));
31878
+ }
31879
+ function flatCat(arr) {
31880
+ return arr.map((e) => ({ id: e.id, label: e.label }));
31881
+ }
31882
+ function optionsByDiscriminator(arr, keyOf, fieldByKey) {
31883
+ const out = {};
31884
+ for (const e of arr) {
31885
+ const field = fieldByKey[keyOf(e)];
31886
+ if (!field) continue;
31887
+ (out[field] ??= []).push({ id: e.id, label: e.label });
31888
+ }
31889
+ return out;
31890
+ }
31891
+ var SINGLE_PICKER_WIRING = [
31892
+ // -------- "Look" family --------
31893
+ { kind: "single", nodeType: "setting", label: "Setting", valueField: "setting", defaultValue: "forest", catalogId: "setting", entries: mapCat(SETTINGS, "category"), groupOrder: ["indoor", "urban", "nature", "fantastical"], groupLabels: SETTING_CATEGORY_LABELS },
31894
+ { kind: "single", nodeType: "atmosphere", label: "Atmosphere", valueField: "atmosphere", defaultValue: "clear", catalogId: "atmosphere", entries: mapCat(ATMOSPHERES) },
31895
+ { kind: "single", nodeType: "style", label: "Style", valueField: "style", defaultValue: "cinematic", catalogId: "style", entries: mapCat(STYLES) },
31896
+ { kind: "single", nodeType: "color-look", label: "Color / Look", valueField: "colorLook", defaultValue: "warm", catalogId: "color-look", entries: mapCat(COLOR_LOOKS, "category"), groupOrder: COLOR_LOOK_CATEGORY_ORDER, groupLabels: COLOR_LOOK_CATEGORY_LABELS },
31897
+ { kind: "single", nodeType: "mood", label: "Mood", valueField: "mood", defaultValue: "calm", catalogId: "mood", entries: mapCat(MOODS, "category"), groupOrder: MOOD_CATEGORY_ORDER, groupLabels: MOOD_CATEGORY_LABELS },
31898
+ { kind: "single", nodeType: "photographer", label: "Photographer / Artist", valueField: "photographer", defaultValue: "tim-walker", catalogId: "photographer", entries: mapCat(PHOTOGRAPHERS, "category"), groupOrder: PHOTOGRAPHER_CATEGORY_ORDER, groupLabels: PHOTOGRAPHER_CATEGORY_LABELS },
31899
+ { kind: "single", nodeType: "aesthetic", label: "Aesthetic / Microtrend", valueField: "aesthetic", defaultValue: "y2k", catalogId: "aesthetic", entries: mapCat(AESTHETICS, "category"), groupOrder: AESTHETIC_CATEGORY_ORDER, groupLabels: AESTHETIC_CATEGORY_LABELS },
31900
+ { kind: "single", nodeType: "era", label: "Era / Period", valueField: "era", defaultValue: "1990s-mall", catalogId: "era", entries: mapCat(ERAS, "category"), groupOrder: ERA_CATEGORY_ORDER, groupLabels: ERA_CATEGORY_LABELS },
31901
+ { kind: "single", nodeType: "photo-genre", label: "Photo Genre", valueField: "photoGenre", defaultValue: "fashion-editorial", catalogId: "photo-genre", entries: mapCat(PHOTO_GENRES, "category"), groupOrder: PHOTO_GENRE_CATEGORY_ORDER, groupLabels: PHOTO_GENRE_CATEGORY_LABELS },
31902
+ { kind: "single", nodeType: "backdrop", label: "Backdrop", valueField: "backdrop", defaultValue: "white-seamless", catalogId: "backdrop", entries: mapCat(BACKDROPS, "category"), groupOrder: BACKDROP_CATEGORY_ORDER, groupLabels: BACKDROP_CATEGORY_LABELS },
31903
+ { kind: "single", nodeType: "render-quality", label: "Render Quality", valueField: "renderQuality", defaultValue: "raytracing", catalogId: "render-quality", entries: mapCat(RENDER_QUALITIES) },
31904
+ { kind: "single", nodeType: "composition-effects", label: "Composition Effect", valueField: "compositionEffect", defaultValue: "bursting-through-frame", catalogId: "composition-effects", entries: mapCat(COMPOSITION_EFFECTS) },
31905
+ { kind: "single", nodeType: "action-fx", label: "Action FX", valueField: "actionFx", defaultValue: "earthquake-tremor", catalogId: "action-fx", entries: mapCat(ACTION_FX, "category"), groupOrder: ACTION_FX_CATEGORY_ORDER, groupLabels: ACTION_FX_CATEGORY_LABELS },
31906
+ { kind: "single", nodeType: "loop-subject", label: "Loop Subject", valueField: "loopSubject", defaultValue: "tunnel", catalogId: "loop-subject", entries: mapCat(LOOP_SUBJECTS, "category"), groupOrder: LOOP_SUBJECT_CATEGORY_ORDER, groupLabels: LOOP_SUBJECT_CATEGORY_LABELS },
31907
+ { kind: "single", nodeType: "post-process-effects", label: "Post-Process Effect", valueField: "postProcess", defaultValue: "vignette-soft", catalogId: "post-process-effects", entries: mapCat(POST_PROCESS_EFFECTS) },
31908
+ // -------- "Camera" family --------
31909
+ { kind: "single", nodeType: "camera-motion", label: "Camera Motion", valueField: "cameraMotion", defaultValue: "static", catalogId: "camera-motions", entries: mapCat(CAMERA_MOTIONS, "category"), groupOrder: CAMERA_MOTION_CATEGORY_ORDER, groupLabels: CAMERA_MOTION_CATEGORY_LABELS },
31910
+ { kind: "single", nodeType: "lens", label: "Lens", valueField: "lens", defaultValue: "normal-50mm", catalogId: "lens", entries: mapCat(LENSES) },
31911
+ { kind: "single", nodeType: "camera-format", label: "Camera / Film", valueField: "cameraFormat", defaultValue: "35mm-film", catalogId: "camera-format", entries: mapCat(CAMERA_FORMATS) },
31912
+ { kind: "single", nodeType: "transition", label: "Transition", valueField: "transition", defaultValue: "auto", catalogId: "transitions", entries: mapCat(TRANSITIONS, "category"), groupOrder: TRANSITION_CATEGORY_ORDER, groupLabels: TRANSITION_CATEGORY_LABELS },
31913
+ { kind: "single", nodeType: "character-fx", label: "Character FX", valueField: "characterFx", defaultValue: "auto", catalogId: "character-fx", entries: mapCat(CHARACTER_FX, "category"), groupOrder: CHARACTER_FX_CATEGORY_ORDER, groupLabels: CHARACTER_FX_CATEGORY_LABELS },
31914
+ // -------- "Subject / Object" family --------
31915
+ { kind: "single", nodeType: "pose", label: "Pose", valueField: "pose", defaultValue: "standing-upright", catalogId: "pose", entries: mapCat(POSES, "category"), groupOrder: POSE_CATEGORY_ORDER, groupLabels: POSE_CATEGORY_LABELS },
31916
+ { kind: "single", nodeType: "material", label: "Material", valueField: "material", defaultValue: "silk", catalogId: "materials", entries: mapCat(MATERIALS, "category"), groupOrder: MATERIAL_CATEGORY_ORDER, groupLabels: MATERIAL_CATEGORY_LABELS },
31917
+ { kind: "single", nodeType: "animal", label: "Animal", valueField: "animal", defaultValue: "dog-golden-retriever", catalogId: "animals", entries: mapCat(shared.ANIMALS, "subcategory"), groupOrder: shared.ANIMAL_SUBCATEGORY_ORDER, groupLabels: shared.ANIMAL_SUBCATEGORY_LABELS },
31918
+ { kind: "single", nodeType: "vehicle", label: "Vehicle", valueField: "vehicle", defaultValue: "sedan", catalogId: "vehicles", entries: mapCat(shared.VEHICLES, "subcategory"), groupOrder: shared.VEHICLE_SUBCATEGORY_ORDER, groupLabels: shared.VEHICLE_SUBCATEGORY_LABELS },
31919
+ { kind: "single", nodeType: "weapon", label: "Weapon", valueField: "weapon", defaultValue: "katana", catalogId: "weapons", entries: mapCat(shared.WEAPONS, "subcategory"), groupOrder: shared.WEAPON_SUBCATEGORY_ORDER, groupLabels: shared.WEAPON_SUBCATEGORY_LABELS },
31920
+ { kind: "single", nodeType: "furniture", label: "Furniture", valueField: "furniture", defaultValue: "sofa", catalogId: "furniture", entries: mapCat(shared.FURNITURE, "subcategory"), groupOrder: shared.FURNITURE_SUBCATEGORY_ORDER, groupLabels: shared.FURNITURE_SUBCATEGORY_LABELS },
31921
+ { kind: "single", nodeType: "held-prop", label: "Held Prop", valueField: "heldProp", defaultValue: "smartphone", catalogId: "held-prop", entries: mapCat(HELD_PROPS, "category"), groupOrder: HELD_PROP_CATEGORY_ORDER, groupLabels: HELD_PROP_CATEGORY_LABELS }
31922
+ ];
31923
+ var STYLING_FIELDS2 = STYLING_DIMENSION_ORDER.map((d) => STYLING_FIELD_BY_DIMENSION[d]);
31924
+ var PERSON_FIELDS2 = PERSON_DIMENSION_ORDER.map((d) => PERSON_FIELD_BY_DIMENSION[d]);
31925
+ var LIGHTING_FIELDS2 = LIGHTING_CATEGORY_ORDER.map((c) => LIGHTING_FIELD_BY_CATEGORY[c]);
31926
+ var TEMPORAL_FIELD_BY_CATEGORY2 = {
31927
+ speed: "temporalSpeed",
31928
+ freeze: "temporalFreeze",
31929
+ direction: "temporalDirection",
31930
+ shutter: "temporalShutter"
31931
+ };
31932
+ var EXPOSURE_FIELD_BY_CATEGORY2 = {
31933
+ aperture: "aperture",
31934
+ "shutter-speed": "shutterSpeed",
31935
+ iso: "isoValue"
31936
+ };
31937
+ var MULTI_PICKER_WIRING = [
31938
+ {
31939
+ kind: "multi",
31940
+ nodeType: "framing",
31941
+ label: "Framing",
31942
+ fields: ["shotSize", "angle", "coverage", "composition", "vantage"],
31943
+ catalogId: "framing",
31944
+ catalogEntries: flatCat(FRAMINGS),
31945
+ fieldOptions: optionsByDiscriminator(FRAMINGS, (e) => e.category, FRAMING_FIELD_BY_CATEGORY)
31946
+ },
31947
+ {
31948
+ kind: "multi",
31949
+ nodeType: "lighting",
31950
+ label: "Lighting",
31951
+ fields: LIGHTING_FIELDS2,
31952
+ catalogId: "lighting",
31953
+ catalogEntries: flatCat(LIGHTINGS),
31954
+ fieldOptions: optionsByDiscriminator(LIGHTINGS, (e) => e.category, LIGHTING_FIELD_BY_CATEGORY)
31955
+ },
31956
+ {
31957
+ kind: "multi",
31958
+ nodeType: "person",
31959
+ label: "Person",
31960
+ fields: PERSON_FIELDS2,
31961
+ catalogId: "person",
31962
+ catalogEntries: flatCat(PEOPLE),
31963
+ fieldOptions: optionsByDiscriminator(PEOPLE, (e) => e.dimension, PERSON_FIELD_BY_DIMENSION)
31964
+ },
31965
+ {
31966
+ kind: "multi",
31967
+ nodeType: "styling",
31968
+ label: "Styling",
31969
+ fields: STYLING_FIELDS2,
31970
+ catalogId: "styling",
31971
+ catalogEntries: flatCat(STYLINGS),
31972
+ fieldOptions: optionsByDiscriminator(STYLINGS, (e) => e.dimension, STYLING_FIELD_BY_DIMENSION)
31973
+ },
31974
+ {
31975
+ kind: "multi",
31976
+ nodeType: "temporal",
31977
+ label: "Temporal",
31978
+ fields: ["temporalSpeed", "temporalFreeze", "temporalDirection", "temporalShutter"],
31979
+ catalogId: "temporal",
31980
+ catalogEntries: flatCat(TEMPORALS),
31981
+ fieldOptions: optionsByDiscriminator(TEMPORALS, (e) => e.category, TEMPORAL_FIELD_BY_CATEGORY2)
31982
+ },
31983
+ {
31984
+ kind: "multi",
31985
+ nodeType: "exposure-settings",
31986
+ label: "Exposure Settings",
31987
+ fields: ["aperture", "shutterSpeed", "isoValue"],
31988
+ catalogId: "exposure-settings",
31989
+ catalogEntries: flatCat(EXPOSURE_SETTINGS),
31990
+ fieldOptions: optionsByDiscriminator(EXPOSURE_SETTINGS, (e) => e.category, EXPOSURE_FIELD_BY_CATEGORY2)
31991
+ },
31992
+ // -------- "Sound" family --------
31993
+ // Music Genre catalog is hierarchical: flatten genres + every subgenre +
31994
+ // eras so summary chips can resolve any selected id back to a human label.
31995
+ {
31996
+ kind: "multi",
31997
+ nodeType: "music-genre",
31998
+ label: "Music Genre",
31999
+ fields: ["genre", "subgenre", "era"],
32000
+ catalogId: "music-genre",
32001
+ catalogEntries: [
32002
+ ...flatCat(MUSIC_GENRES),
32003
+ ...MUSIC_GENRES.flatMap((g) => g.subgenres.map((s) => ({ id: s.id, label: s.label }))),
32004
+ ...flatCat(MUSIC_ERAS)
32005
+ ],
32006
+ fieldOptions: {
32007
+ genre: flatCat(MUSIC_GENRES),
32008
+ subgenre: MUSIC_GENRES.flatMap((g) => g.subgenres.map((s) => ({ id: s.id, label: s.label }))),
32009
+ era: flatCat(MUSIC_ERAS)
32010
+ }
32011
+ },
32012
+ {
32013
+ kind: "multi",
32014
+ nodeType: "music-mood",
32015
+ label: "Music Mood",
32016
+ fields: ["energy", "emotion", "vibe"],
32017
+ catalogId: "music-mood",
32018
+ catalogEntries: [...flatCat(MUSIC_ENERGIES), ...flatCat(MUSIC_EMOTIONS), ...flatCat(MUSIC_VIBES)],
32019
+ fieldOptions: {
32020
+ energy: flatCat(MUSIC_ENERGIES),
32021
+ emotion: flatCat(MUSIC_EMOTIONS),
32022
+ vibe: flatCat(MUSIC_VIBES)
32023
+ }
32024
+ },
32025
+ {
32026
+ kind: "multi",
32027
+ nodeType: "instrumentation",
32028
+ label: "Instrumentation",
32029
+ fields: ["instruments", "production", "vocalPresence", "singingStyle"],
32030
+ catalogId: "instrumentation",
32031
+ catalogEntries: [...flatCat(INSTRUMENTS), ...flatCat(PRODUCTION_STYLES), ...flatCat(VOCAL_PRESENCE), ...flatCat(SINGING_STYLES)],
32032
+ fieldOptions: {
32033
+ instruments: flatCat(INSTRUMENTS),
32034
+ production: flatCat(PRODUCTION_STYLES),
32035
+ vocalPresence: flatCat(VOCAL_PRESENCE),
32036
+ singingStyle: flatCat(SINGING_STYLES)
32037
+ }
32038
+ },
32039
+ {
32040
+ kind: "multi",
32041
+ nodeType: "voice-character",
32042
+ label: "Voice Character",
32043
+ fields: ["age", "gender", "language", "accent", "timbre"],
32044
+ catalogId: "voice-character",
32045
+ catalogEntries: [...flatCat(VOICE_AGES), ...flatCat(VOICE_GENDERS), ...flatCat(VOICE_LANGUAGES), ...flatCat(VOICE_ACCENTS), ...flatCat(VOICE_TIMBRES)],
32046
+ fieldOptions: {
32047
+ age: flatCat(VOICE_AGES),
32048
+ gender: flatCat(VOICE_GENDERS),
32049
+ language: flatCat(VOICE_LANGUAGES),
32050
+ accent: flatCat(VOICE_ACCENTS),
32051
+ timbre: flatCat(VOICE_TIMBRES)
32052
+ }
32053
+ },
32054
+ {
32055
+ kind: "multi",
32056
+ nodeType: "voice-delivery",
32057
+ label: "Voice Delivery",
32058
+ fields: ["pace", "emotion", "archetype"],
32059
+ catalogId: "voice-delivery",
32060
+ catalogEntries: [...flatCat(VOICE_PACES), ...flatCat(VOICE_EMOTIONS), ...flatCat(VOICE_ARCHETYPES)],
32061
+ fieldOptions: {
32062
+ pace: flatCat(VOICE_PACES),
32063
+ emotion: flatCat(VOICE_EMOTIONS),
32064
+ archetype: flatCat(VOICE_ARCHETYPES)
32065
+ }
32066
+ }
32067
+ ];
32068
+ var ALL_PICKER_WIRING = [
32069
+ ...SINGLE_PICKER_WIRING,
32070
+ ...MULTI_PICKER_WIRING
32071
+ ];
32072
+ var WIRING_MAP = new Map(ALL_PICKER_WIRING.map((w) => [w.nodeType, w]));
32073
+ function getPickerWiring(nodeType) {
32074
+ if (!nodeType) return void 0;
32075
+ return WIRING_MAP.get(nodeType);
32076
+ }
31514
32077
 
31515
32078
  exports.ACTION_FX = ACTION_FX;
31516
32079
  exports.ACTION_FX_CATEGORY_LABELS = ACTION_FX_CATEGORY_LABELS;
@@ -31520,6 +32083,7 @@ exports.AESTHETICS = AESTHETICS;
31520
32083
  exports.AESTHETIC_CATEGORY_LABELS = AESTHETIC_CATEGORY_LABELS;
31521
32084
  exports.AESTHETIC_CATEGORY_ORDER = AESTHETIC_CATEGORY_ORDER;
31522
32085
  exports.AESTHETIC_IDS = AESTHETIC_IDS;
32086
+ exports.ALL_PICKER_WIRING = ALL_PICKER_WIRING;
31523
32087
  exports.ANALYZABLE_PICKER_TYPES = ANALYZABLE_PICKER_TYPES;
31524
32088
  exports.ANGLE_LABELS = ANGLE_LABELS;
31525
32089
  exports.ASPECT_RATIO_LABELS = ASPECT_RATIO_LABELS;
@@ -31602,6 +32166,7 @@ exports.MOOD_CATEGORY_LABELS = MOOD_CATEGORY_LABELS;
31602
32166
  exports.MOOD_CATEGORY_ORDER = MOOD_CATEGORY_ORDER;
31603
32167
  exports.MOOD_IDS = MOOD_IDS;
31604
32168
  exports.MOVEMENT_LABELS = MOVEMENT_LABELS;
32169
+ exports.MULTI_PICKER_WIRING = MULTI_PICKER_WIRING;
31605
32170
  exports.MUSIC_EMOTIONS = MUSIC_EMOTIONS;
31606
32171
  exports.MUSIC_ENERGIES = MUSIC_ENERGIES;
31607
32172
  exports.MUSIC_ERAS = MUSIC_ERAS;
@@ -31635,6 +32200,7 @@ exports.PHOTO_GENRES = PHOTO_GENRES;
31635
32200
  exports.PHOTO_GENRE_CATEGORY_LABELS = PHOTO_GENRE_CATEGORY_LABELS;
31636
32201
  exports.PHOTO_GENRE_CATEGORY_ORDER = PHOTO_GENRE_CATEGORY_ORDER;
31637
32202
  exports.PHOTO_GENRE_IDS = PHOTO_GENRE_IDS;
32203
+ exports.PICKER_ANALYZER_FAMILIES = PICKER_ANALYZER_FAMILIES;
31638
32204
  exports.PICKER_ANALYZER_REGISTRY = PICKER_ANALYZER_REGISTRY;
31639
32205
  exports.PICKER_CATALOGS = PICKER_CATALOGS;
31640
32206
  exports.PICKER_TYPES = PICKER_TYPES;
@@ -31660,6 +32226,7 @@ exports.SETTING_CATEGORY_LABELS = SETTING_CATEGORY_LABELS;
31660
32226
  exports.SETTING_IDS = SETTING_IDS;
31661
32227
  exports.SHOT_LABELS = SHOT_LABELS;
31662
32228
  exports.SINGING_STYLES = SINGING_STYLES;
32229
+ exports.SINGLE_PICKER_WIRING = SINGLE_PICKER_WIRING;
31663
32230
  exports.SNIPPET_MEDIA_VALUES = SNIPPET_MEDIA_VALUES;
31664
32231
  exports.STYLES = STYLES;
31665
32232
  exports.STYLE_IDS = STYLE_IDS;
@@ -31837,6 +32404,7 @@ exports.getPhotographerLabel = getPhotographerLabel;
31837
32404
  exports.getPhotographerPromptHint = getPhotographerPromptHint;
31838
32405
  exports.getPickerAnalyzer = getPickerAnalyzer;
31839
32406
  exports.getPickerCatalog = getPickerCatalog;
32407
+ exports.getPickerWiring = getPickerWiring;
31840
32408
  exports.getPose = getPose;
31841
32409
  exports.getPoseLabel = getPoseLabel;
31842
32410
  exports.getPosePromptHint = getPosePromptHint;