@sogni-ai/sogni-intelligence-client 4.22.9 → 4.23.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.
Files changed (113) hide show
  1. package/README.md +1 -0
  2. package/dist/contracts/data/promptContracts.d.ts.map +1 -1
  3. package/dist/contracts/data/promptContracts.js +35 -28
  4. package/dist/contracts/data/promptContracts.js.map +1 -1
  5. package/dist/contracts/idLoraPrompt.js +1 -1
  6. package/dist/contracts/imagePrompt.d.ts +1 -0
  7. package/dist/contracts/imagePrompt.d.ts.map +1 -1
  8. package/dist/contracts/imagePrompt.js +5 -5
  9. package/dist/contracts/imagePrompt.js.map +1 -1
  10. package/dist/contracts/toolPromptMarkers.d.ts +1 -1
  11. package/dist/contracts/toolPromptMarkers.d.ts.map +1 -1
  12. package/dist/contracts/toolPromptMarkers.js +1 -1
  13. package/dist/contracts/toolPromptMarkers.js.map +1 -1
  14. package/dist/contracts/videoComposition.d.ts.map +1 -1
  15. package/dist/contracts/videoComposition.js +25 -23
  16. package/dist/contracts/videoComposition.js.map +1 -1
  17. package/dist/prompt-guides/happyhorse.d.ts +8 -0
  18. package/dist/prompt-guides/happyhorse.d.ts.map +1 -0
  19. package/dist/prompt-guides/happyhorse.js +55 -0
  20. package/dist/prompt-guides/happyhorse.js.map +1 -0
  21. package/dist/prompt-guides/image.d.ts +5 -0
  22. package/dist/prompt-guides/image.d.ts.map +1 -0
  23. package/dist/prompt-guides/image.js +80 -0
  24. package/dist/prompt-guides/image.js.map +1 -0
  25. package/dist/prompt-guides/index.d.ts +9 -0
  26. package/dist/prompt-guides/index.d.ts.map +1 -0
  27. package/dist/prompt-guides/index.js +70 -0
  28. package/dist/prompt-guides/index.js.map +1 -0
  29. package/dist/prompt-guides/ltx.d.ts +8 -0
  30. package/dist/prompt-guides/ltx.d.ts.map +1 -0
  31. package/dist/prompt-guides/ltx.js +135 -0
  32. package/dist/prompt-guides/ltx.js.map +1 -0
  33. package/dist/prompt-guides/minimax.d.ts +31 -0
  34. package/dist/prompt-guides/minimax.d.ts.map +1 -0
  35. package/dist/prompt-guides/minimax.js +172 -0
  36. package/dist/prompt-guides/minimax.js.map +1 -0
  37. package/dist/prompt-guides/registry.d.ts +7 -0
  38. package/dist/prompt-guides/registry.d.ts.map +1 -0
  39. package/dist/prompt-guides/registry.js +100 -0
  40. package/dist/prompt-guides/registry.js.map +1 -0
  41. package/dist/prompt-guides/seedance.d.ts +10 -0
  42. package/dist/prompt-guides/seedance.d.ts.map +1 -0
  43. package/dist/prompt-guides/seedance.js +155 -0
  44. package/dist/prompt-guides/seedance.js.map +1 -0
  45. package/dist/prompt-guides/shared.d.ts +3 -0
  46. package/dist/prompt-guides/shared.d.ts.map +1 -0
  47. package/dist/prompt-guides/shared.js +6 -0
  48. package/dist/prompt-guides/shared.js.map +1 -0
  49. package/dist/prompt-guides/types.d.ts +19 -0
  50. package/dist/prompt-guides/types.d.ts.map +1 -0
  51. package/dist/prompt-guides/types.js +15 -0
  52. package/dist/prompt-guides/types.js.map +1 -0
  53. package/dist/prompt-guides/wan.d.ts +3 -0
  54. package/dist/prompt-guides/wan.d.ts.map +1 -0
  55. package/dist/prompt-guides/wan.js +78 -0
  56. package/dist/prompt-guides/wan.js.map +1 -0
  57. package/dist/prompt-guides/wan3.d.ts +12 -0
  58. package/dist/prompt-guides/wan3.d.ts.map +1 -0
  59. package/dist/prompt-guides/wan3.js +51 -0
  60. package/dist/prompt-guides/wan3.js.map +1 -0
  61. package/dist/public-skill-runtime/index.d.ts.map +1 -1
  62. package/dist/public-skill-runtime/index.js +76 -96
  63. package/dist/public-skill-runtime/index.js.map +1 -1
  64. package/dist/tools/definitions/animate-photo/definition.js +10 -10
  65. package/dist/tools/definitions/animate-photo/definition.js.map +1 -1
  66. package/dist/tools/definitions/extend-video/definition.js +1 -1
  67. package/dist/tools/definitions/extend-video/definition.js.map +1 -1
  68. package/dist/tools/definitions/generate-video/definition.js +6 -6
  69. package/dist/tools/definitions/generate-video/definition.js.map +1 -1
  70. package/dist/tools/definitions/sound-to-video/definition.js +3 -3
  71. package/dist/tools/definitions/video-to-video/definition.js +2 -2
  72. package/dist-esm/contracts/data/promptContracts.js +35 -28
  73. package/dist-esm/contracts/data/promptContracts.js.map +1 -1
  74. package/dist-esm/contracts/idLoraPrompt.js +1 -1
  75. package/dist-esm/contracts/imagePrompt.js +2 -2
  76. package/dist-esm/contracts/imagePrompt.js.map +1 -1
  77. package/dist-esm/contracts/toolPromptMarkers.js +1 -1
  78. package/dist-esm/contracts/toolPromptMarkers.js.map +1 -1
  79. package/dist-esm/contracts/videoComposition.js +25 -23
  80. package/dist-esm/contracts/videoComposition.js.map +1 -1
  81. package/dist-esm/prompt-guides/happyhorse.js +52 -0
  82. package/dist-esm/prompt-guides/happyhorse.js.map +1 -0
  83. package/dist-esm/prompt-guides/image.js +77 -0
  84. package/dist-esm/prompt-guides/image.js.map +1 -0
  85. package/dist-esm/prompt-guides/index.js +8 -0
  86. package/dist-esm/prompt-guides/index.js.map +1 -0
  87. package/dist-esm/prompt-guides/ltx.js +132 -0
  88. package/dist-esm/prompt-guides/ltx.js.map +1 -0
  89. package/dist-esm/prompt-guides/minimax.js +169 -0
  90. package/dist-esm/prompt-guides/minimax.js.map +1 -0
  91. package/dist-esm/prompt-guides/registry.js +95 -0
  92. package/dist-esm/prompt-guides/registry.js.map +1 -0
  93. package/dist-esm/prompt-guides/seedance.js +152 -0
  94. package/dist-esm/prompt-guides/seedance.js.map +1 -0
  95. package/dist-esm/prompt-guides/shared.js +3 -0
  96. package/dist-esm/prompt-guides/shared.js.map +1 -0
  97. package/dist-esm/prompt-guides/types.js +12 -0
  98. package/dist-esm/prompt-guides/types.js.map +1 -0
  99. package/dist-esm/prompt-guides/wan.js +75 -0
  100. package/dist-esm/prompt-guides/wan.js.map +1 -0
  101. package/dist-esm/prompt-guides/wan3.js +48 -0
  102. package/dist-esm/prompt-guides/wan3.js.map +1 -0
  103. package/dist-esm/public-skill-runtime/index.js +76 -96
  104. package/dist-esm/public-skill-runtime/index.js.map +1 -1
  105. package/dist-esm/tools/definitions/animate-photo/definition.js +10 -10
  106. package/dist-esm/tools/definitions/animate-photo/definition.js.map +1 -1
  107. package/dist-esm/tools/definitions/extend-video/definition.js +1 -1
  108. package/dist-esm/tools/definitions/extend-video/definition.js.map +1 -1
  109. package/dist-esm/tools/definitions/generate-video/definition.js +6 -6
  110. package/dist-esm/tools/definitions/generate-video/definition.js.map +1 -1
  111. package/dist-esm/tools/definitions/sound-to-video/definition.js +3 -3
  112. package/dist-esm/tools/definitions/video-to-video/definition.js +2 -2
  113. package/package.json +11 -2
@@ -18,49 +18,50 @@ PROMPT CONSTRUCTION — include these elements in flowing prose:
18
18
  2. SCENE: Environment, time of day, atmosphere, surface textures. Name light sources explicitly: "warm tungsten practicals," "golden hour backlight through dusty blinds."
19
19
  3. SUBJECT: Age (always a specific number), build, hair, clothing, distinguishing features. Be explicit and specific — use the same words the user used. Match detail to shot scale — close-ups need physical precision, wide shots need environmental richness.
20
20
  4. ACTION: One main thread of physically filmable movement evolving start to end. Use temporal connectors ("as," "then," "while"). Express emotion through visible behavior — jaw tension, grip pressure, breathing pace, posture shifts — never emotional labels.
21
- 5. CAMERA: ONE movement only — dolly in, slow pan, tracking follow, handheld drift, etc. Stacking multiple movements causes jitter. Describe as prose: "the camera performs a slow push-in."
21
+ 5. CAMERA: The camera behavior the request implies (static, handheld, whip pan, crash zoom, tracking, orbit), at the speed the action implies. Prefer one camera idea per shot, since stacked moves can jitter; when the user names several moves, keep them in order. Describe as prose: "the camera whips after her."
22
22
  6. SOUND: Weave 3-5 audio elements naturally into prose — one ambient layer, action sounds, accent sounds. Never use [AMBIENT:] or [SOUND:] tags. If the action naturally involves speech or the user mentions dialogue/talking/speaking, include dialogue — weave quoted speech into action like a novel: 'She turns, "I've been waiting," her voice steady.' Describe vocal quality (whispers, warm tone, gravelly).
23
- 7. TECHNICAL: End with a stability anchor and lens cue: "Shot on 35mm at f/1.8 with 180-degree shutter, smooth stabilized footage, natural motion blur."
23
+ 7. TECHNICAL: Optionally close with a lens/film cue that matches the requested look; mention stabilization only when the user asked for steady footage.
24
24
 
25
- NEGATIVE CONSTRAINT TRANSLATION: LTX receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. For translated constraints, the output prompt must not use words such as "no", "not", "without", "avoid", or "never" except inside exact quoted user-requested text. Examples: "no people in background" becomes single subject focus with an empty background; "no text" becomes clean blank surfaces; "don't make it blurry" becomes crisp sharp focus; "no weird hands" becomes natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" becomes silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" becomes the same room and layout remain consistent. If the user asks for exact quoted visible text, preserve that quoted text exactly and keep surrounding surfaces blank.
25
+ NEGATIVE CONSTRAINT TRANSLATION: LTX receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. For translated constraints, the output prompt must not use words such as "no", "not", "without", "avoid", or "never" except inside exact quoted user-requested text. Examples: "no people in background" becomes single subject focus with an empty background; "no text" becomes clean blank surfaces; "don't make it blurry" becomes crisp sharp focus; "no weird hands" becomes natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" becomes silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" becomes the same room and layout remain consistent. If the user asks for exact quoted visible text, preserve that quoted text exactly.
26
26
 
27
27
  DYNAMIC PROMPT BRANCHES: If the user prompt contains one Dynamic Prompt branch such as "{option A|option B}", preserve exactly one branch with the same option count. Put shared production constraints before the branch, then rewrite each branch option as a complete concrete motion option. Do not remove the braces, split the branch into bullets, add orchestration labels, or change the number of options.
28
28
 
29
- CONSTRAINTS: Present tense only. Positive phrasing — describe what IS, never what isn't. Clean blank surfaces unless exact quoted text is requested. Dense prose, never bullet lists. No vague words ("beautiful," "nice") — be visually specific.
29
+ CONSTRAINTS: Present tense only. Positive phrasing — describe what IS, never what isn't. Dense prose, never bullet lists. No vague words ("beautiful," "nice") — be visually specific.
30
30
 
31
- REFERENCE PROMPT (match this style):
32
- "A medium close-up cinematic shot in a quiet rain-soaked alley at night, neon reflections shimmering across wet pavement. A man in his 30s with short dark hair and a worn leather jacket stands under a flickering sign, water beading on his collar. He exhales slowly, shoulders tightening as his fingers clamp around a small metal lighter, then steadies his hand and clicks it once, watching the flame struggle against the damp air, rain tapping softly against the awning while a distant car horn echoes. The camera performs a slow push-in toward his face as his jaw sets, tendons rising, weight shifting forward by half a step, breathing measured. Shot on 35mm with natural motion blur, smooth stabilized footage, cinematic motion consistency."`;
33
- const WAN_T2V_SYSTEM_PROMPT = `You are an expert cinematographer writing prompts for Wan 2.2, an AI video generation model by Alibaba. Expand the user's idea into a single dense paragraph of flowing present-tense prose (80-120 words). One continuous shot — no cuts, no montage. Return your result via the compose_script tool.
31
+ REFERENCE PROMPTS (match their density; take pace and look from the request):
32
+ Calm: "A medium close-up cinematic shot in a quiet rain-soaked alley at night, neon reflections shimmering across wet pavement. A man in his 30s with short dark hair and a worn leather jacket stands under a flickering sign, water beading on his collar. He exhales slowly, shoulders tightening as his fingers clamp around a small metal lighter, then steadies his hand and clicks it once, watching the flame struggle against the damp air, rain tapping softly against the awning while a distant car horn echoes. The camera performs a slow push-in toward his face as his jaw sets, tendons rising, weight shifting forward by half a step, breathing measured. Shot on 35mm with natural motion blur."
33
+ Fast: "A wide handheld shot inside a burning warehouse at night, orange firelight strobing through black smoke. A woman in her 20s with a soot-streaked face and a torn denim jacket sprints between collapsing shelves, vaults a fallen beam and skids around a corner as sparks burst past her. The camera whips after her, jolting with every footfall, as a ceiling joist crashes down behind her with a roar of splintering wood. She spins toward the exit and shouts, "Over here!", her voice raw over the crackling fire and groaning steel. Shot on 35mm with heavy motion blur."`;
34
+ const WAN_T2V_SYSTEM_PROMPT = `You are an expert cinematographer writing prompts for Wan 2.2, an AI video generation model by Alibaba. Expand the user's idea into a single dense paragraph of flowing present-tense prose, as long as it needs to keep every subject, action and detail the user names. One continuous shot — no cuts, no montage. Return your result via the compose_script tool.
34
35
 
35
36
  PROMPT CONSTRUCTION — weave these elements into flowing prose:
36
37
  1. SUBJECT: Main focus with rich appearance details — age, build, clothing, distinguishing features. Be explicit and physically specific. Match detail to shot scale.
37
38
  2. SCENE: Environment, time of day, atmosphere, surface textures. Name light sources explicitly: "golden hour backlight," "warm tungsten practicals," "neon rim light," "soft overcast diffusion." Use professional lighting terms — volumetric, rim light, backlit, side light.
38
- 3. MOTION: One primary thread of physically filmable movement evolving start to end. Use temporal connectors ("as," "then," "while"). Express emotion through visible behavior — posture, gesture, breathing — never emotional labels. Limit to 5-7 well-chosen motion descriptors. Control pacing with words like "slowly," "gently," "briskly."
39
- 4. CAMERA: ONE movement only — dolly in, slow pan, tracking shot, orbital arc, crane up, handheld drift, push-in, pull-back. Stacking multiple movements causes jitter. Specify shot type: close-up, medium, wide, extreme wide.
40
- 5. STYLE: End with a color/lens anchor: film stock reference (Kodak Portra, 35mm grain), color grading (teal-and-orange, warm tones, desaturated), depth of field (shallow, anamorphic bokeh), and a stability note.
39
+ 3. MOTION: Every action the user names, in order, as physically filmable movement evolving start to end. Use temporal connectors ("as," "then," "while"). Express emotion through visible behavior — posture, gesture, breathing — never emotional labels. Control pacing with words that match the request — "slowly" for a calm moment, "explosively" or "in a rapid burst" for action.
40
+ 4. CAMERA: The camera behavior the request implies (static, handheld, whip pan, crash zoom, tracking, orbit, crane), at the speed the action implies. Prefer one camera idea per shot, since stacked moves can jitter; when the user names several moves, keep them in order. Specify shot type: close-up, medium, wide, extreme wide.
41
+ 5. STYLE: Optionally close with a color/lens note that matches the requested look (film stock, color grade, depth of field); mention stabilization only when the user asked for steady footage.
41
42
 
42
43
  CONSTRAINTS:
43
44
  - Present tense only. Positive phrasing — describe what IS, never what isn't.
44
- - No on-screen text, logos, or watermarks.
45
45
  - Dense prose, never bullet lists. No vague words ("beautiful," "nice") — be visually specific.
46
46
  - Avoid contradictory instructions (conflicting motion directions or styles).
47
47
  - Limit style combinations to 2-3 compatible aesthetics.
48
- - One primary subject with one main motion — avoid complex multi-subject choreography.
48
+ - Stage every subject and action the user names; keep the choreography physically readable in one shot.
49
49
 
50
- NEGATIVE CONSTRAINT TRANSLATION: WAN receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. For translated constraints, the output prompt must not use words such as "no", "not", "without", "avoid", or "never" except inside exact quoted user-requested text. Examples: "no people in background" becomes single subject focus with an empty background; "no text" becomes clean blank surfaces; "don't make it blurry" becomes crisp sharp focus; "no weird hands" becomes natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" becomes silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" becomes the same room and layout remain consistent. If the user asks for exact quoted visible text, preserve that quoted text exactly and keep surrounding surfaces blank.
50
+ NEGATIVE CONSTRAINT TRANSLATION: WAN receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. For translated constraints, the output prompt must not use words such as "no", "not", "without", "avoid", or "never" except inside exact quoted user-requested text. Examples: "no people in background" becomes single subject focus with an empty background; "no text" becomes clean blank surfaces; "don't make it blurry" becomes crisp sharp focus; "no weird hands" becomes natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" becomes silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" becomes the same room and layout remain consistent. If the user asks for exact quoted visible text, preserve that quoted text exactly.
51
51
 
52
52
  DYNAMIC PROMPT BRANCHES: If the user prompt contains one Dynamic Prompt branch such as "{option A|option B}", preserve exactly one branch with the same option count. Put shared production constraints before the branch, then rewrite each branch option as a complete concrete motion option. Do not remove the braces, split the branch into bullets, add orchestration labels, or change the number of options.
53
53
 
54
- REFERENCE PROMPT (match this style and density):
55
- "A young woman in a flowing ivory dress walks slowly through a field of tall golden wheat at sunset, her fingers trailing across the grain tips as warm backlight catches wisps of hair around her face. The wind pushes gentle waves through the field around her while dust motes float in shafts of amber light. She pauses, turning her head slightly as her hand rises to shield her eyes, weight shifting as she gazes toward the distant treeline. The camera performs a slow tracking shot at waist height, moving parallel to her path. Shot on Kodak Portra with shallow depth of field, warm golden tones, smooth stabilized footage."`;
54
+ REFERENCE PROMPTS (match their density; take pace and look from the request):
55
+ Calm: "A young woman in a flowing ivory dress walks slowly through a field of tall golden wheat at sunset, her fingers trailing across the grain tips as warm backlight catches wisps of hair around her face. The wind pushes gentle waves through the field around her while dust motes float in shafts of amber light. She pauses, turning her head slightly as her hand rises to shield her eyes, weight shifting as she gazes toward the distant treeline. The camera performs a slow tracking shot at waist height, moving parallel to her path. Shot on Kodak Portra with shallow depth of field, warm golden tones."
56
+ Fast: "Two street racers in soaked leather jackets sprint across a rain-lashed rooftop at night, magenta neon bleeding across the puddles. The leader vaults an air vent and lands hard, spraying water, while the second slides under a pipe and closes the gap. Wind whips their jackets as a helicopter searchlight sweeps over them. The handheld camera races alongside at shoulder height, jolting with each stride, then whips forward as the leader leaps the gap to the next roof. Hard neon rim light, streaking motion blur."`;
56
57
  const WAN_I2V_SYSTEM_PROMPT = `You are an expert cinematographer writing prompts for Wan 2.2 image-to-video generation. The user has attached the actual reference frame(s) — a starting frame, and optionally an ending frame. Your job is to write a video prompt that brings this image to life with motion. Return your result via the compose_script tool.
57
58
 
58
59
  CRITICAL: The image already defines the subject and scene. Do NOT re-describe appearance, clothing, or environment in detail — the model sees the image. Focus entirely on MOTION, CAMERA, and TEMPORAL PROGRESSION. If an ending frame is also provided, plan the motion so the scene naturally evolves from the start frame to the end frame.
59
60
 
60
- PROMPT CONSTRUCTION — weave these elements into flowing prose (60-100 words):
61
- 1. MOTION: The primary action thread — what moves, how, at what pace. Use temporal connectors ("as," "then," "while"). Describe physically filmable movement. Limit to 5-7 well-chosen motion descriptors. Control pacing: "slowly," "gently," "briskly."
62
- 2. CAMERA: ONE movement only — dolly in, slow pan, tracking shot, orbital arc, crane up, handheld drift, push-in, pull-back.
63
- 3. AMBIENT MOTION: Secondary environmental movement — wind, light shifts, particles, reflections. Keep subtle.
61
+ PROMPT CONSTRUCTION — weave these elements into flowing prose, as long as it needs to keep every action and detail the user names:
62
+ 1. MOTION: Every action the user names, in order — what moves, how, at what pace. Use temporal connectors ("as," "then," "while"). Describe physically filmable movement. Control pacing with words that match the request — "slowly" for a calm moment, "explosively" or "in a rapid burst" for action.
63
+ 2. CAMERA: The camera behavior the request implies (static, handheld, whip pan, crash zoom, tracking, orbit, crane), at the speed the action implies. Prefer one camera idea per shot, since stacked moves can jitter; when the user names several moves, keep them in order.
64
+ 3. AMBIENT MOTION: Secondary environmental movement — wind, light shifts, particles, reflections — at the intensity the scene implies.
64
65
  4. STYLE: Brief color/lens anchor if needed.
65
66
 
66
67
  CONSTRAINTS:
@@ -69,16 +70,17 @@ CONSTRAINTS:
69
70
  - One continuous shot — no cuts, no montage.
70
71
  - Dense prose, never bullet lists.
71
72
 
72
- NEGATIVE CONSTRAINT TRANSLATION: WAN receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. For translated constraints, the output prompt must not use words such as "no", "not", "without", "avoid", or "never" except inside exact quoted user-requested text. Examples: "no people in background" becomes single subject focus with an empty background; "no text" becomes clean blank surfaces; "don't make it blurry" becomes crisp sharp focus; "no weird hands" becomes natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" becomes silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" becomes the same room and layout remain consistent. If the user asks for exact quoted visible text, preserve that quoted text exactly and keep surrounding surfaces blank.
73
+ NEGATIVE CONSTRAINT TRANSLATION: WAN receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. For translated constraints, the output prompt must not use words such as "no", "not", "without", "avoid", or "never" except inside exact quoted user-requested text. Examples: "no people in background" becomes single subject focus with an empty background; "no text" becomes clean blank surfaces; "don't make it blurry" becomes crisp sharp focus; "no weird hands" becomes natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" becomes silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" becomes the same room and layout remain consistent. If the user asks for exact quoted visible text, preserve that quoted text exactly.
73
74
 
74
75
  DYNAMIC PROMPT BRANCHES: If the user prompt contains one Dynamic Prompt branch such as "{option A|option B}", preserve exactly one branch with the same option count. Put shared production constraints before the branch, then rewrite each branch option as a complete concrete motion option. Do not remove the braces, split the branch into bullets, add orchestration labels, or change the number of options.
75
76
 
76
- REFERENCE PROMPT (for an image of a woman in a wheat field):
77
- "She walks slowly forward, fingers trailing across the grain tips as warm backlight catches wisps of hair. The wind pushes gentle waves through the field while dust motes float in shafts of amber light. She pauses, turning her head slightly, weight shifting as her hand rises to shield her eyes. The camera performs a slow tracking shot at waist height, moving parallel to her path. Smooth stabilized footage with shallow depth of field."`;
77
+ REFERENCE PROMPTS (match their density; take pace from the request):
78
+ Calm, for an image of a woman in a wheat field: "She walks slowly forward, fingers trailing across the grain tips as warm backlight catches wisps of hair. The wind pushes gentle waves through the field while dust motes float in shafts of amber light. She pauses, turning her head slightly, weight shifting as her hand rises to shield her eyes. The camera performs a slow tracking shot at waist height, moving parallel to her path. Shallow depth of field."
79
+ Fast, for an image of a dog on a dock: "The dog launches off the dock edge, legs stretched and ears flying, and smacks into the lake in an explosion of spray. It surfaces, paddles hard to the ladder, scrambles out and shakes violently, flinging water in every direction. Wind gusts ripple the lake and rock the moored boat. The handheld camera snaps down to follow the leap, then pulls back fast as spray hits the lens."`;
78
80
  exports.CHARACTER_REFERENCE_VIDEO_COMPOSITION_SYSTEM_PROMPT = [
79
81
  'You are Sogni compose_script, a creative writing tool for polished video prompts.',
80
82
  'Return exactly one compose_script tool call. The script should be concrete, surprising, production-ready, and compact enough to become a downstream video prompt.',
81
- 'Respect all explicit user constraints. If no exact dialogue is supplied, describe voice quality or performance without inventing quoted dialogue.',
83
+ 'Respect all explicit user constraints. Keep the user\'s exact dialogue; when someone speaks and no words are given, write short lines that fit the speaker, moment and tone, in double quotes.',
82
84
  ].join('\n');
83
85
  exports.SCRIPT_COMPOSITION_TOOL = {
84
86
  type: 'function',
@@ -1 +1 @@
1
- {"version":3,"file":"videoComposition.js","s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AAC,MAAM,CAAC,CAAC;YAC3C,IAAI,MAAM;gBAAE,OAAO,MAAM,CAAC;QAC5B,CAAC;QAAC,MAAM,CAAC;YACP,SAAS;QACX,CAAC;IACH,CAAC;IACD,MAAM,OAAO,GAAG,OAAO,MAAM,EAAE,OAAO,KAAK,QAAQ;QACjD,CAAC,CAAC,IAAA,gCAAgB,EAAC,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE;QAC/D,CAAC,CAAC,EAAE,CAAC;IACP,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type ModelPromptGuideRegistry } from './types.js';
2
+ export declare const HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE = "REFERENCE GRAMMAR: HappyHorse reference images are labeled with square-bracket ordinal tags written exactly as [Image 1], [Image 2], \u2026 up to [Image 9] \u2014 one space after \"Image\", 1-indexed, in attachment order. If the base request uses aliases such as Image 1, @Image1, picture 2, or \"the second photo\", rewrite them as [Image 1], [Image 2]. Never use Seedance-style @-tags, never mention reference URLs or asset IDs.";
3
+ export declare const HAPPYHORSE_REFERENCE_ROLE_GUIDANCE = "REFERENCE ROLE DISCIPLINE: Give every reference image a clear creative role tied to its [Image N] tag \u2014 character identity, wardrobe, setting, prop, or style \u2014 and keep that subject consistent across the shot. Use role language such as \"keep the character's face, hair, and outfit consistent with [Image 1]\" or \"match the room and lighting from [Image 2]\". Do not write vague phrases like \"use the attached images\", and do not re-describe in full what a reference already shows.";
4
+ export declare const HAPPYHORSE_AUDIO_GUIDANCE = "AUDIO: HappyHorse renders a native synchronized audio track \u2014 always on, with multilingual lip-sync. Weave foley and ambient sound into plain sentences (footsteps, fabric, wind, water, room tone, environmental ambience). When the scene involves speech or the user supplies dialogue, keep the spoken lines in double quotes and state that the subject speaks on camera with mouth movements matched to the words. Do not invent songs or a musical score unless the user asks for them.";
5
+ export declare const HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE = "NEGATIVE CONSTRAINT TRANSLATION: HappyHorse has no negative-prompt input and receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. The output prompt must not use words such as \"no\", \"not\", \"without\", \"avoid\", or \"never\" except inside exact quoted user-requested text. Examples: \"no people in background\" becomes single subject focus with an empty background; \"no text\" becomes clean blank surfaces; \"don't make it blurry\" becomes crisp sharp focus; \"no music\" becomes only natural ambient sound and foley. If the user asks for exact quoted visible text, preserve that quoted text exactly.";
6
+ export declare const HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE = "DYNAMIC PROMPT BRANCHES: If the base request contains one Dynamic Prompt branch such as \"{option A|option B}\", preserve exactly one branch with the same option count. Put shared production constraints before the branch, then rewrite each branch option as a complete concrete motion option. Do not remove the braces, split the branch into bullets, add orchestration labels, or change the number of options.";
7
+ export declare const HAPPYHORSE_PROMPT_GUIDES: Pick<ModelPromptGuideRegistry, 'happyhorse-1.1'>;
8
+ //# sourceMappingURL=happyhorse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"happyhorse.d.ts","sourceRoot":"","sources":["../../src/prompt-guides/happyhorse.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,wBAAwB,EAC9B,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,qCAAqC,mbAAqa,CAAC;AAExd,eAAO,MAAM,kCAAkC,mfAAme,CAAC;AAEnhB,eAAO,MAAM,yBAAyB,weAAme,CAAC;AAE1gB,eAAO,MAAM,wCAAwC,ysBAAurB,CAAC;AAE7uB,eAAO,MAAM,kCAAkC,4ZAAiC,CAAC;AAmDjF,eAAO,MAAM,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EAAE,gBAAgB,CAYrF,CAAC"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HAPPYHORSE_PROMPT_GUIDES = exports.HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE = exports.HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE = exports.HAPPYHORSE_AUDIO_GUIDANCE = exports.HAPPYHORSE_REFERENCE_ROLE_GUIDANCE = exports.HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE = void 0;
4
+ const shared_js_1 = require("./shared.js");
5
+ const types_js_1 = require("./types.js");
6
+ exports.HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE = `REFERENCE GRAMMAR: HappyHorse reference images are labeled with square-bracket ordinal tags written exactly as [Image 1], [Image 2], … up to [Image 9] — one space after "Image", 1-indexed, in attachment order. If the base request uses aliases such as Image 1, @Image1, picture 2, or "the second photo", rewrite them as [Image 1], [Image 2]. Never use Seedance-style @-tags, never mention reference URLs or asset IDs.`;
7
+ exports.HAPPYHORSE_REFERENCE_ROLE_GUIDANCE = `REFERENCE ROLE DISCIPLINE: Give every reference image a clear creative role tied to its [Image N] tag — character identity, wardrobe, setting, prop, or style — and keep that subject consistent across the shot. Use role language such as "keep the character's face, hair, and outfit consistent with [Image 1]" or "match the room and lighting from [Image 2]". Do not write vague phrases like "use the attached images", and do not re-describe in full what a reference already shows.`;
8
+ exports.HAPPYHORSE_AUDIO_GUIDANCE = `AUDIO: HappyHorse renders a native synchronized audio track — always on, with multilingual lip-sync. Weave foley and ambient sound into plain sentences (footsteps, fabric, wind, water, room tone, environmental ambience). When the scene involves speech or the user supplies dialogue, keep the spoken lines in double quotes and state that the subject speaks on camera with mouth movements matched to the words. Do not invent songs or a musical score unless the user asks for them.`;
9
+ exports.HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE = `NEGATIVE CONSTRAINT TRANSLATION: HappyHorse has no negative-prompt input and receives only this positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. The output prompt must not use words such as "no", "not", "without", "avoid", or "never" except inside exact quoted user-requested text. Examples: "no people in background" becomes single subject focus with an empty background; "no text" becomes clean blank surfaces; "don't make it blurry" becomes crisp sharp focus; "no music" becomes only natural ambient sound and foley. If the user asks for exact quoted visible text, preserve that quoted text exactly.`;
10
+ exports.HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE = shared_js_1.DYNAMIC_PROMPT_BRANCH_GUIDANCE;
11
+ const HAPPYHORSE_CINEMATOGRAPHY_GUIDANCE = `CINEMATOGRAPHY: Write like a concise director's shot brief. Use one continuous shot unless the request asks for cuts, a montage or separate shots; then open each shot with its own time-coded beat that names the cut. Weave together the subjects with rich physical detail, the environment and the light sources the scene implies, and one primary thread of physically filmable motion using temporal connectors ("as", "then", "while"). Add a lens, color grade or film-stock note only when the request names a look or style. Express emotion through visible behavior — posture, gesture, breathing — never emotional labels. Match the pace to the action: calm words for calm moments, and for fast action show the speed through what rushes past the camera and the ground covered within a beat, because the word "fast" alone renders slower than intended.`;
12
+ const HAPPYHORSE_CAMERA_GUIDANCE = `CAMERA: One primary camera move per shot — dolly in, slow pan, tracking shot, orbital arc, crane up, push-in, or pull-back. Stacking multiple moves causes jitter. Keep the camera move in its own clause, separate from subject motion.`;
13
+ const HAPPYHORSE_FORMAT_GUIDANCE = `FORMAT: A single present-tense paragraph of flowing, visually specific prose. No bullets, headers, markdown, preamble, or labels. Avoid vague words ("beautiful", "nice"); avoid semicolons, em dashes, and parentheticals.`;
14
+ const HAPPYHORSE_TIME_CODED_BEATS_GUIDANCE = `TIME-CODED BEATS: For clips longer than 5 seconds, segment the action with compact time-coded beats such as "0-3s: …, 3-6s: …, 6-10s: …" so the motion reads in order.`;
15
+ const HAPPYHORSE_PROPER_NOUN_GUIDANCE = `PROPER NOUNS: Preserve exact spelling and punctuation of brand or product names from the base request, including dotted names such as Sogni.ai.`;
16
+ const HAPPYHORSE_LENGTH_GUIDANCE = `LENGTH: About 80–160 words for a single-beat shot, plus about 30 words for each further time-coded beat. Never drop a requested detail to fit. Output ONLY the rewritten prompt — no explanations, no labels.`;
17
+ const HAPPYHORSE_I2V_ANCHOR_GUIDANCE = `ANCHOR DISCIPLINE: The first frame already defines the subject, wardrobe, setting, and composition — do NOT re-describe or restyle it, and do NOT add any [Image N] tag. Describe only the motion, action, performance, and camera that flow forward from the first frame, plus how the scene evolves over the clip.`;
18
+ const HAPPYHORSE_NOTES = [
19
+ 'Use one flowing, present-tense director brief: one continuous shot with one primary camera move, or time-coded shots when the request asks for cuts or a montage.',
20
+ 'For I2V, treat the single image as the locked first frame and describe only the motion that follows; do not add a reference tag.',
21
+ 'For R2V, label image references exactly [Image 1] through [Image 9] and assign each image a concrete identity, wardrobe, setting, prop, or style role.',
22
+ 'Describe synchronized dialogue, ambience, and foley in the prompt because native audio is always enabled.',
23
+ 'Translate exclusions into affirmative visual constraints because HappyHorse does not accept a separate negative prompt.',
24
+ 'Keep clips within the validated 3-15 second, 720p/1080p operating range.',
25
+ ];
26
+ const HAPPYHORSE_SHARED_RULES = [
27
+ HAPPYHORSE_CINEMATOGRAPHY_GUIDANCE,
28
+ HAPPYHORSE_CAMERA_GUIDANCE,
29
+ exports.HAPPYHORSE_AUDIO_GUIDANCE,
30
+ exports.HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE,
31
+ exports.HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE,
32
+ HAPPYHORSE_FORMAT_GUIDANCE,
33
+ HAPPYHORSE_TIME_CODED_BEATS_GUIDANCE,
34
+ HAPPYHORSE_PROPER_NOUN_GUIDANCE,
35
+ HAPPYHORSE_LENGTH_GUIDANCE,
36
+ ];
37
+ function happyhorseGuide(mode, title, models, openingRules, referenceGrammar) {
38
+ return (0, types_js_1.modelPromptGuide)({
39
+ family: 'happyhorse-1.1',
40
+ mode,
41
+ title: `HappyHorse 1.1 ${title}`,
42
+ models,
43
+ referenceGrammar,
44
+ rules: [...openingRules, ...HAPPYHORSE_SHARED_RULES],
45
+ notes: HAPPYHORSE_NOTES,
46
+ });
47
+ }
48
+ exports.HAPPYHORSE_PROMPT_GUIDES = {
49
+ 'happyhorse-1.1': {
50
+ t2v: happyhorseGuide('t2v', 'text-to-video', ['happyhorse-1.1', 'happyhorse-1.1-t2v'], [], null),
51
+ i2v: happyhorseGuide('i2v', 'first-frame image-to-video', ['happyhorse-1.1-i2v'], [HAPPYHORSE_I2V_ANCHOR_GUIDANCE], null),
52
+ r2v: happyhorseGuide('r2v', 'reference-to-video', ['happyhorse-1.1-r2v'], [exports.HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE, exports.HAPPYHORSE_REFERENCE_ROLE_GUIDANCE], exports.HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE),
53
+ },
54
+ };
55
+ //# sourceMappingURL=happyhorse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"happyhorse.js","sourceRoot":"","sources":["../../src/prompt-guides/happyhorse.ts"],"names":[],"mappings":";;;AAQA,2CAA6D;AAC7D,yCAKoB;AAEP,QAAA,qCAAqC,GAAG,kaAAka,CAAC;AAE3c,QAAA,kCAAkC,GAAG,geAAge,CAAC;AAEtgB,QAAA,yBAAyB,GAAG,geAAge,CAAC;AAE7f,QAAA,wCAAwC,GAAG,orBAAorB,CAAC;AAEhuB,QAAA,kCAAkC,GAAG,0CAA8B,CAAC;AAEjF,MAAM,kCAAkC,GAAG,80BAA80B,CAAC;AAC13B,MAAM,0BAA0B,GAAG,0OAA0O,CAAC;AAC9Q,MAAM,0BAA0B,GAAG,6NAA6N,CAAC;AACjQ,MAAM,oCAAoC,GAAG,wKAAwK,CAAC;AACtN,MAAM,+BAA+B,GAAG,iJAAiJ,CAAC;AAC1L,MAAM,0BAA0B,GAAG,+MAA+M,CAAC;AACnP,MAAM,8BAA8B,GAAG,sTAAsT,CAAC;AAG9V,MAAM,gBAAgB,GAAsB;IAC1C,mKAAmK;IACnK,kIAAkI;IAClI,wJAAwJ;IACxJ,2GAA2G;IAC3G,yHAAyH;IACzH,0EAA0E;CAC3E,CAAC;AAGF,MAAM,uBAAuB,GAAG;IAC9B,kCAAkC;IAClC,0BAA0B;IAC1B,iCAAyB;IACzB,gDAAwC;IACxC,0CAAkC;IAClC,0BAA0B;IAC1B,oCAAoC;IACpC,+BAA+B;IAC/B,0BAA0B;CAC3B,CAAC;AAEF,SAAS,eAAe,CACtB,IAA0B,EAC1B,KAAa,EACb,MAAyB,EACzB,YAA+B,EAC/B,gBAA+B;IAE/B,OAAO,IAAA,2BAAgB,EAAC;QACtB,MAAM,EAAE,gBAAgB;QACxB,IAAI;QACJ,KAAK,EAAE,kBAAkB,KAAK,EAAE;QAChC,MAAM;QACN,gBAAgB;QAChB,KAAK,EAAE,CAAC,GAAG,YAAY,EAAE,GAAG,uBAAuB,CAAC;QACpD,KAAK,EAAE,gBAAgB;KACxB,CAAC,CAAC;AACL,CAAC;AAEY,QAAA,wBAAwB,GAAqD;IACxF,gBAAgB,EAAE;QAChB,GAAG,EAAE,eAAe,CAAC,KAAK,EAAE,eAAe,EAAE,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC;QAChG,GAAG,EAAE,eAAe,CAAC,KAAK,EAAE,4BAA4B,EAAE,CAAC,oBAAoB,CAAC,EAAE,CAAC,8BAA8B,CAAC,EAAE,IAAI,CAAC;QACzH,GAAG,EAAE,eAAe,CAClB,KAAK,EACL,oBAAoB,EACpB,CAAC,oBAAoB,CAAC,EACtB,CAAC,6CAAqC,EAAE,0CAAkC,CAAC,EAC3E,6CAAqC,CACtC;KACF;CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type ImagePromptingType } from '../contracts/imagePrompt.js';
2
+ import { type ImagePromptGuideFamily, type ModelPromptGuideRegistry } from './types.js';
3
+ export declare const IMAGE_PROMPT_GUIDES: Pick<ModelPromptGuideRegistry, ImagePromptGuideFamily>;
4
+ export declare const IMAGE_PROMPT_GUIDE_KEYS: Readonly<Record<ImagePromptingType, readonly [ImagePromptGuideFamily, 'generate' | 'edit'] | null>>;
5
+ //# sourceMappingURL=image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/prompt-guides/image.ts"],"names":[],"mappings":"AAOA,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,EAEL,KAAK,sBAAsB,EAE3B,KAAK,wBAAwB,EAC9B,MAAM,YAAY,CAAC;AAiCpB,eAAO,MAAM,mBAAmB,EAAE,IAAI,CAAC,wBAAwB,EAAE,sBAAsB,CA8BtF,CAAC;AAOF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,kBAAkB,EAAE,SAAS,CAAC,sBAAsB,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAuBvI,CAAC"}
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IMAGE_PROMPT_GUIDE_KEYS = exports.IMAGE_PROMPT_GUIDES = void 0;
4
+ const imagePrompt_js_1 = require("../contracts/imagePrompt.js");
5
+ const types_js_1 = require("./types.js");
6
+ const QWEN_IMAGE_EDIT_NOTES = [
7
+ 'Describe the intended edit directly and preserve unmentioned composition, identity, lighting, and scene details.',
8
+ 'When multiple reference images are supplied, identify their roles in order and state which traits should transfer from each one.',
9
+ ];
10
+ const SDXL_NOTES = [
11
+ 'Keep positive and negative prompt concepts separated.',
12
+ 'Use concrete visual descriptors instead of long prose when targeting classic diffusion models.',
13
+ ];
14
+ function imageGuide(family, operation, modelTitle, promptingType, models, notes = []) {
15
+ return (0, types_js_1.modelPromptGuide)({
16
+ family,
17
+ mode: operation,
18
+ title: `${modelTitle} ${operation === 'edit' ? 'image editing' : 'text-to-image'}`,
19
+ models,
20
+ referenceGrammar: null,
21
+ rules: [imagePrompt_js_1.PROMPTING_GUIDES[promptingType]],
22
+ notes,
23
+ });
24
+ }
25
+ exports.IMAGE_PROMPT_GUIDES = {
26
+ chroma: { generate: imageGuide('chroma', 'generate', 'Chroma', 'chroma', ['chroma1-hd', 'chroma-v46-flash']) },
27
+ 'flux1-schnell': { generate: imageGuide('flux1-schnell', 'generate', 'FLUX.1 Schnell', 'flux1-schnell', ['flux1-schnell']) },
28
+ sdxl: { generate: imageGuide('sdxl', 'generate', 'Stable Diffusion XL', 'sdxl', ['sdxl', 'dreamshaper-xl'], SDXL_NOTES) },
29
+ sd15: { generate: imageGuide('sd15', 'generate', 'Stable Diffusion 1.5', 'sd15', ['sd15']) },
30
+ pony: { generate: imageGuide('pony', 'generate', 'Pony Diffusion XL', 'pony', ['pony', 'pony-v7']) },
31
+ fast: { generate: imageGuide('fast', 'generate', 'Fast distilled Stable Diffusion', 'fast', ['sdxl-turbo', 'sdxl-lightning', 'lcm']) },
32
+ sd3: { generate: imageGuide('sd3', 'generate', 'Stable Diffusion 3', 'sd3', ['sd3']) },
33
+ krea2: {
34
+ generate: imageGuide('krea2', 'generate', 'Krea 2', 'krea2', ['krea-2', 'krea2-turbo', 'dark-beast-krea2']),
35
+ edit: imageGuide('krea2', 'edit', 'Krea 2 Identity Edit', 'krea2-edit', ['krea2-identity-edit', 'dark-beast-krea2-identity-edit']),
36
+ },
37
+ 'moss-image': { generate: imageGuide('moss-image', 'generate', 'MOSS-Image', 'moss-image', ['moss-image', 'moss-image-8step']) },
38
+ 'flux3-klein': {
39
+ generate: imageGuide('flux3-klein', 'generate', 'FLUX 3 Image Klein', 'flux3-klein', ['flux-3-klein']),
40
+ edit: imageGuide('flux3-klein', 'edit', 'FLUX 3 Image Klein', 'flux3-klein-edit', ['flux-3-klein']),
41
+ },
42
+ qwen: {
43
+ generate: imageGuide('qwen', 'generate', 'Qwen Image 2512', 'qwen', ['qwen-image-2512', 'qwen-image-2512-lightning']),
44
+ edit: imageGuide('qwen', 'edit', 'Qwen Image Edit 2511', 'qwen-edit', ['qwen', 'qwen-image-edit-2511'], QWEN_IMAGE_EDIT_NOTES),
45
+ },
46
+ 'z-image': { generate: imageGuide('z-image', 'generate', 'Z-Image', 'z-image', ['z-image', 'z-image-turbo', 'dark-beast-z-image-turbo']) },
47
+ 'gpt-image': {
48
+ generate: imageGuide('gpt-image', 'generate', 'GPT Image 2', 'gpt-image', ['gpt-image-2', 'gpt-image-2.5-sunburst', 'gpt-image-2.5-flare']),
49
+ edit: imageGuide('gpt-image', 'edit', 'GPT Image 2', 'gpt-image-edit', ['gpt-image-2', 'gpt-image-2.5-sunburst', 'gpt-image-2.5-flare']),
50
+ },
51
+ seedream: {
52
+ generate: imageGuide('seedream', 'generate', 'Seedream 5.0 Pro Uncensored', 'seedream', ['seedream-5-pro-uncensored']),
53
+ edit: imageGuide('seedream', 'edit', 'Seedream 5.0 Pro Uncensored', 'seedream-edit', ['seedream-5-pro-uncensored']),
54
+ },
55
+ };
56
+ exports.IMAGE_PROMPT_GUIDE_KEYS = {
57
+ flux: ['chroma', 'generate'],
58
+ 'flux1-schnell': ['flux1-schnell', 'generate'],
59
+ chroma: ['chroma', 'generate'],
60
+ sdxl: ['sdxl', 'generate'],
61
+ sd15: ['sd15', 'generate'],
62
+ pony: ['pony', 'generate'],
63
+ fast: ['fast', 'generate'],
64
+ sd3: ['sd3', 'generate'],
65
+ editing: null,
66
+ krea2: ['krea2', 'generate'],
67
+ 'moss-image': ['moss-image', 'generate'],
68
+ 'flux3-klein': ['flux3-klein', 'generate'],
69
+ qwen: ['qwen', 'generate'],
70
+ 'z-image': ['z-image', 'generate'],
71
+ 'gpt-image': ['gpt-image', 'generate'],
72
+ 'qwen-edit': ['qwen', 'edit'],
73
+ 'krea2-edit': ['krea2', 'edit'],
74
+ 'flux3-klein-edit': ['flux3-klein', 'edit'],
75
+ 'gpt-image-edit': ['gpt-image', 'edit'],
76
+ seedream: ['seedream', 'generate'],
77
+ 'seedream-edit': ['seedream', 'edit'],
78
+ video: null,
79
+ };
80
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.js","sourceRoot":"","sources":["../../src/prompt-guides/image.ts"],"names":[],"mappings":";;;AAOA,gEAAwF;AACxF,yCAKoB;AAGpB,MAAM,qBAAqB,GAAsB;IAC/C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AE,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,aAAa,EAAE,UAAU,CAAC;IAC1C,IAAI,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC1B,SAAS,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IAClC,WAAW,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC;IACtC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC;IAC3C,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC;IACvC,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;IAClC,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC;IACrC,KAAK,EAAE,IAAI;CACZ,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { MODEL_PROMPT_GUIDES, getModelPromptGuide, renderModelPromptGuide } from './registry.js';
2
+ export type { ModelPromptGuide, ModelPromptGuideAudience, ModelPromptGuideFamily, ModelPromptGuideMode, } from './types.js';
3
+ export { CREATIVE_INTENT_FIDELITY_GUIDANCE } from './shared.js';
4
+ export { SEEDANCE_25_CAPABILITY_GUIDANCE, SEEDANCE_REFERENCE_GRAMMAR_GUIDANCE, SEEDANCE_REFERENCE_ROLE_GUIDANCE, SEEDANCE_DIRECTORIAL_GUIDANCE, SEEDANCE_CAMERA_PHYSICS_GUIDANCE, SEEDANCE_POSITIVE_CONSTRAINT_GUIDANCE, SEEDANCE_LIMITATION_GUIDANCE, } from './seedance.js';
5
+ export { LTX25_LAST_FRAME_OVERRIDE_GUIDANCE, LTX25_FIRST_LAST_FRAME_OVERRIDE_GUIDANCE, LTX_AUDIO_REFERENCE_GUIDANCE, LTX_VIDEO_REFERENCE_GUIDANCE, LTX_IMAGE_REFERENCE_GUIDANCE, } from './ltx.js';
6
+ export { WAN3_REFERENCE_GRAMMAR_GUIDANCE, WAN3_OUTPUT_CONTRACT_GUIDANCE, WAN3_T2V_GUIDANCE, WAN3_I2V_GUIDANCE, WAN3_FLF2V_GUIDANCE, WAN3_R2V_GUIDANCE, WAN3_A2V_GUIDANCE, WAN3_STEP_TIMING_GUIDANCE, WAN3_SHOT_PLAN_GUIDANCE, } from './wan3.js';
7
+ export { HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE, HAPPYHORSE_REFERENCE_ROLE_GUIDANCE, HAPPYHORSE_AUDIO_GUIDANCE, HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE, HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE, } from './happyhorse.js';
8
+ export { MINIMAX_H3_MAX_PROMPT_CHARACTERS, MINIMAX_H3_REF2VA_TASK_TYPES, MINIMAX_H3_I2V_ALIGNMENT_LINE, MINIMAX_H3_OUTPUT_CONTRACT_GUIDANCE, MINIMAX_H3_REF2VA_SUMMARY_SYNTAX_GUIDANCE, MINIMAX_H3_REF2VA_OUTPUT_CONTRACT_GUIDANCE, MINIMAX_H3_CONTEXT_PLANNING_GUIDANCE, MINIMAX_H3_FINAL_ASSESSMENT_GUIDANCE, MINIMAX_H3_TIMED_SHOT_LIST_GUIDANCE, MINIMAX_H3_SCENE_GUIDANCE, MINIMAX_H3_PHYSICAL_PRECISION_GUIDANCE, MINIMAX_H3_PACING_GUIDANCE, MINIMAX_H3_DEPICTION_GUIDANCE, MINIMAX_H3_KEYFRAME_PATH_GUIDANCE, MINIMAX_H3_AUDIO_GUIDANCE, MINIMAX_H3_SOURCE_AUDIO_GUIDANCE, MINIMAX_H3_DIALOGUE_GUIDANCE, MINIMAX_H3_DESIRED_ABSENCE_GUIDANCE, MINIMAX_H3_IDENTITY_GUIDANCE, MINIMAX_H3_REFERENCE_GRAMMAR_GUIDANCE, MINIMAX_H3_REFERENCE_JOB_GUIDANCE, MINIMAX_H3_SOURCE_EDIT_GUIDANCE, MINIMAX_H3_CAMERA_GUIDANCE, MINIMAX_H3_ONSCREEN_TEXT_GUIDANCE, MINIMAX_H3_TIMEBASE_GUIDANCE, MINIMAX_H3_AUDIO_GUIDE_USER_GUIDANCE, MINIMAX_H3_AUDIO_GUIDE_KEYFRAME_GUIDANCE, MINIMAX_H3_LENGTH_GUIDANCE, } from './minimax.js';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prompt-guides/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACjG,YAAY,EACV,gBAAgB,EAChB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EACL,+BAA+B,EAC/B,mCAAmC,EACnC,gCAAgC,EAChC,6BAA6B,EAC7B,gCAAgC,EAChC,qCAAqC,EACrC,4BAA4B,GAC7B,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,kCAAkC,EAClC,wCAAwC,EACxC,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,+BAA+B,EAC/B,6BAA6B,EAC7B,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,qCAAqC,EACrC,kCAAkC,EAClC,yBAAyB,EACzB,wCAAwC,EACxC,kCAAkC,GACnC,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,gCAAgC,EAChC,4BAA4B,EAC5B,6BAA6B,EAC7B,mCAAmC,EACnC,yCAAyC,EACzC,0CAA0C,EAC1C,oCAAoC,EACpC,oCAAoC,EACpC,mCAAmC,EACnC,yBAAyB,EACzB,sCAAsC,EACtC,0BAA0B,EAC1B,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,gCAAgC,EAChC,4BAA4B,EAC5B,mCAAmC,EACnC,4BAA4B,EAC5B,qCAAqC,EACrC,iCAAiC,EACjC,+BAA+B,EAC/B,0BAA0B,EAC1B,iCAAiC,EACjC,4BAA4B,EAC5B,oCAAoC,EACpC,wCAAwC,EACxC,0BAA0B,GAC3B,MAAM,cAAc,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MINIMAX_H3_REFERENCE_GRAMMAR_GUIDANCE = exports.MINIMAX_H3_IDENTITY_GUIDANCE = exports.MINIMAX_H3_DESIRED_ABSENCE_GUIDANCE = exports.MINIMAX_H3_DIALOGUE_GUIDANCE = exports.MINIMAX_H3_SOURCE_AUDIO_GUIDANCE = exports.MINIMAX_H3_AUDIO_GUIDANCE = exports.MINIMAX_H3_KEYFRAME_PATH_GUIDANCE = exports.MINIMAX_H3_DEPICTION_GUIDANCE = exports.MINIMAX_H3_PACING_GUIDANCE = exports.MINIMAX_H3_PHYSICAL_PRECISION_GUIDANCE = exports.MINIMAX_H3_SCENE_GUIDANCE = exports.MINIMAX_H3_TIMED_SHOT_LIST_GUIDANCE = exports.MINIMAX_H3_FINAL_ASSESSMENT_GUIDANCE = exports.MINIMAX_H3_CONTEXT_PLANNING_GUIDANCE = exports.MINIMAX_H3_REF2VA_OUTPUT_CONTRACT_GUIDANCE = exports.MINIMAX_H3_REF2VA_SUMMARY_SYNTAX_GUIDANCE = exports.MINIMAX_H3_OUTPUT_CONTRACT_GUIDANCE = exports.MINIMAX_H3_I2V_ALIGNMENT_LINE = exports.MINIMAX_H3_REF2VA_TASK_TYPES = exports.MINIMAX_H3_MAX_PROMPT_CHARACTERS = exports.HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE = exports.HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE = exports.HAPPYHORSE_AUDIO_GUIDANCE = exports.HAPPYHORSE_REFERENCE_ROLE_GUIDANCE = exports.HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE = exports.WAN3_SHOT_PLAN_GUIDANCE = exports.WAN3_STEP_TIMING_GUIDANCE = exports.WAN3_A2V_GUIDANCE = exports.WAN3_R2V_GUIDANCE = exports.WAN3_FLF2V_GUIDANCE = exports.WAN3_I2V_GUIDANCE = exports.WAN3_T2V_GUIDANCE = exports.WAN3_OUTPUT_CONTRACT_GUIDANCE = exports.WAN3_REFERENCE_GRAMMAR_GUIDANCE = exports.LTX_IMAGE_REFERENCE_GUIDANCE = exports.LTX_VIDEO_REFERENCE_GUIDANCE = exports.LTX_AUDIO_REFERENCE_GUIDANCE = exports.LTX25_FIRST_LAST_FRAME_OVERRIDE_GUIDANCE = exports.LTX25_LAST_FRAME_OVERRIDE_GUIDANCE = exports.SEEDANCE_LIMITATION_GUIDANCE = exports.SEEDANCE_POSITIVE_CONSTRAINT_GUIDANCE = exports.SEEDANCE_CAMERA_PHYSICS_GUIDANCE = exports.SEEDANCE_DIRECTORIAL_GUIDANCE = exports.SEEDANCE_REFERENCE_ROLE_GUIDANCE = exports.SEEDANCE_REFERENCE_GRAMMAR_GUIDANCE = exports.SEEDANCE_25_CAPABILITY_GUIDANCE = exports.CREATIVE_INTENT_FIDELITY_GUIDANCE = exports.renderModelPromptGuide = exports.getModelPromptGuide = exports.MODEL_PROMPT_GUIDES = void 0;
4
+ exports.MINIMAX_H3_LENGTH_GUIDANCE = exports.MINIMAX_H3_AUDIO_GUIDE_KEYFRAME_GUIDANCE = exports.MINIMAX_H3_AUDIO_GUIDE_USER_GUIDANCE = exports.MINIMAX_H3_TIMEBASE_GUIDANCE = exports.MINIMAX_H3_ONSCREEN_TEXT_GUIDANCE = exports.MINIMAX_H3_CAMERA_GUIDANCE = exports.MINIMAX_H3_SOURCE_EDIT_GUIDANCE = exports.MINIMAX_H3_REFERENCE_JOB_GUIDANCE = void 0;
5
+ var registry_js_1 = require("./registry.js");
6
+ Object.defineProperty(exports, "MODEL_PROMPT_GUIDES", { enumerable: true, get: function () { return registry_js_1.MODEL_PROMPT_GUIDES; } });
7
+ Object.defineProperty(exports, "getModelPromptGuide", { enumerable: true, get: function () { return registry_js_1.getModelPromptGuide; } });
8
+ Object.defineProperty(exports, "renderModelPromptGuide", { enumerable: true, get: function () { return registry_js_1.renderModelPromptGuide; } });
9
+ var shared_js_1 = require("./shared.js");
10
+ Object.defineProperty(exports, "CREATIVE_INTENT_FIDELITY_GUIDANCE", { enumerable: true, get: function () { return shared_js_1.CREATIVE_INTENT_FIDELITY_GUIDANCE; } });
11
+ var seedance_js_1 = require("./seedance.js");
12
+ Object.defineProperty(exports, "SEEDANCE_25_CAPABILITY_GUIDANCE", { enumerable: true, get: function () { return seedance_js_1.SEEDANCE_25_CAPABILITY_GUIDANCE; } });
13
+ Object.defineProperty(exports, "SEEDANCE_REFERENCE_GRAMMAR_GUIDANCE", { enumerable: true, get: function () { return seedance_js_1.SEEDANCE_REFERENCE_GRAMMAR_GUIDANCE; } });
14
+ Object.defineProperty(exports, "SEEDANCE_REFERENCE_ROLE_GUIDANCE", { enumerable: true, get: function () { return seedance_js_1.SEEDANCE_REFERENCE_ROLE_GUIDANCE; } });
15
+ Object.defineProperty(exports, "SEEDANCE_DIRECTORIAL_GUIDANCE", { enumerable: true, get: function () { return seedance_js_1.SEEDANCE_DIRECTORIAL_GUIDANCE; } });
16
+ Object.defineProperty(exports, "SEEDANCE_CAMERA_PHYSICS_GUIDANCE", { enumerable: true, get: function () { return seedance_js_1.SEEDANCE_CAMERA_PHYSICS_GUIDANCE; } });
17
+ Object.defineProperty(exports, "SEEDANCE_POSITIVE_CONSTRAINT_GUIDANCE", { enumerable: true, get: function () { return seedance_js_1.SEEDANCE_POSITIVE_CONSTRAINT_GUIDANCE; } });
18
+ Object.defineProperty(exports, "SEEDANCE_LIMITATION_GUIDANCE", { enumerable: true, get: function () { return seedance_js_1.SEEDANCE_LIMITATION_GUIDANCE; } });
19
+ var ltx_js_1 = require("./ltx.js");
20
+ Object.defineProperty(exports, "LTX25_LAST_FRAME_OVERRIDE_GUIDANCE", { enumerable: true, get: function () { return ltx_js_1.LTX25_LAST_FRAME_OVERRIDE_GUIDANCE; } });
21
+ Object.defineProperty(exports, "LTX25_FIRST_LAST_FRAME_OVERRIDE_GUIDANCE", { enumerable: true, get: function () { return ltx_js_1.LTX25_FIRST_LAST_FRAME_OVERRIDE_GUIDANCE; } });
22
+ Object.defineProperty(exports, "LTX_AUDIO_REFERENCE_GUIDANCE", { enumerable: true, get: function () { return ltx_js_1.LTX_AUDIO_REFERENCE_GUIDANCE; } });
23
+ Object.defineProperty(exports, "LTX_VIDEO_REFERENCE_GUIDANCE", { enumerable: true, get: function () { return ltx_js_1.LTX_VIDEO_REFERENCE_GUIDANCE; } });
24
+ Object.defineProperty(exports, "LTX_IMAGE_REFERENCE_GUIDANCE", { enumerable: true, get: function () { return ltx_js_1.LTX_IMAGE_REFERENCE_GUIDANCE; } });
25
+ var wan3_js_1 = require("./wan3.js");
26
+ Object.defineProperty(exports, "WAN3_REFERENCE_GRAMMAR_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_REFERENCE_GRAMMAR_GUIDANCE; } });
27
+ Object.defineProperty(exports, "WAN3_OUTPUT_CONTRACT_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_OUTPUT_CONTRACT_GUIDANCE; } });
28
+ Object.defineProperty(exports, "WAN3_T2V_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_T2V_GUIDANCE; } });
29
+ Object.defineProperty(exports, "WAN3_I2V_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_I2V_GUIDANCE; } });
30
+ Object.defineProperty(exports, "WAN3_FLF2V_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_FLF2V_GUIDANCE; } });
31
+ Object.defineProperty(exports, "WAN3_R2V_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_R2V_GUIDANCE; } });
32
+ Object.defineProperty(exports, "WAN3_A2V_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_A2V_GUIDANCE; } });
33
+ Object.defineProperty(exports, "WAN3_STEP_TIMING_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_STEP_TIMING_GUIDANCE; } });
34
+ Object.defineProperty(exports, "WAN3_SHOT_PLAN_GUIDANCE", { enumerable: true, get: function () { return wan3_js_1.WAN3_SHOT_PLAN_GUIDANCE; } });
35
+ var happyhorse_js_1 = require("./happyhorse.js");
36
+ Object.defineProperty(exports, "HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE", { enumerable: true, get: function () { return happyhorse_js_1.HAPPYHORSE_REFERENCE_GRAMMAR_GUIDANCE; } });
37
+ Object.defineProperty(exports, "HAPPYHORSE_REFERENCE_ROLE_GUIDANCE", { enumerable: true, get: function () { return happyhorse_js_1.HAPPYHORSE_REFERENCE_ROLE_GUIDANCE; } });
38
+ Object.defineProperty(exports, "HAPPYHORSE_AUDIO_GUIDANCE", { enumerable: true, get: function () { return happyhorse_js_1.HAPPYHORSE_AUDIO_GUIDANCE; } });
39
+ Object.defineProperty(exports, "HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE", { enumerable: true, get: function () { return happyhorse_js_1.HAPPYHORSE_NEGATIVE_TRANSLATION_GUIDANCE; } });
40
+ Object.defineProperty(exports, "HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE", { enumerable: true, get: function () { return happyhorse_js_1.HAPPYHORSE_DYNAMIC_BRANCH_GUIDANCE; } });
41
+ var minimax_js_1 = require("./minimax.js");
42
+ Object.defineProperty(exports, "MINIMAX_H3_MAX_PROMPT_CHARACTERS", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_MAX_PROMPT_CHARACTERS; } });
43
+ Object.defineProperty(exports, "MINIMAX_H3_REF2VA_TASK_TYPES", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_REF2VA_TASK_TYPES; } });
44
+ Object.defineProperty(exports, "MINIMAX_H3_I2V_ALIGNMENT_LINE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_I2V_ALIGNMENT_LINE; } });
45
+ Object.defineProperty(exports, "MINIMAX_H3_OUTPUT_CONTRACT_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_OUTPUT_CONTRACT_GUIDANCE; } });
46
+ Object.defineProperty(exports, "MINIMAX_H3_REF2VA_SUMMARY_SYNTAX_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_REF2VA_SUMMARY_SYNTAX_GUIDANCE; } });
47
+ Object.defineProperty(exports, "MINIMAX_H3_REF2VA_OUTPUT_CONTRACT_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_REF2VA_OUTPUT_CONTRACT_GUIDANCE; } });
48
+ Object.defineProperty(exports, "MINIMAX_H3_CONTEXT_PLANNING_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_CONTEXT_PLANNING_GUIDANCE; } });
49
+ Object.defineProperty(exports, "MINIMAX_H3_FINAL_ASSESSMENT_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_FINAL_ASSESSMENT_GUIDANCE; } });
50
+ Object.defineProperty(exports, "MINIMAX_H3_TIMED_SHOT_LIST_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_TIMED_SHOT_LIST_GUIDANCE; } });
51
+ Object.defineProperty(exports, "MINIMAX_H3_SCENE_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_SCENE_GUIDANCE; } });
52
+ Object.defineProperty(exports, "MINIMAX_H3_PHYSICAL_PRECISION_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_PHYSICAL_PRECISION_GUIDANCE; } });
53
+ Object.defineProperty(exports, "MINIMAX_H3_PACING_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_PACING_GUIDANCE; } });
54
+ Object.defineProperty(exports, "MINIMAX_H3_DEPICTION_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_DEPICTION_GUIDANCE; } });
55
+ Object.defineProperty(exports, "MINIMAX_H3_KEYFRAME_PATH_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_KEYFRAME_PATH_GUIDANCE; } });
56
+ Object.defineProperty(exports, "MINIMAX_H3_AUDIO_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_AUDIO_GUIDANCE; } });
57
+ Object.defineProperty(exports, "MINIMAX_H3_SOURCE_AUDIO_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_SOURCE_AUDIO_GUIDANCE; } });
58
+ Object.defineProperty(exports, "MINIMAX_H3_DIALOGUE_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_DIALOGUE_GUIDANCE; } });
59
+ Object.defineProperty(exports, "MINIMAX_H3_DESIRED_ABSENCE_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_DESIRED_ABSENCE_GUIDANCE; } });
60
+ Object.defineProperty(exports, "MINIMAX_H3_IDENTITY_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_IDENTITY_GUIDANCE; } });
61
+ Object.defineProperty(exports, "MINIMAX_H3_REFERENCE_GRAMMAR_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_REFERENCE_GRAMMAR_GUIDANCE; } });
62
+ Object.defineProperty(exports, "MINIMAX_H3_REFERENCE_JOB_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_REFERENCE_JOB_GUIDANCE; } });
63
+ Object.defineProperty(exports, "MINIMAX_H3_SOURCE_EDIT_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_SOURCE_EDIT_GUIDANCE; } });
64
+ Object.defineProperty(exports, "MINIMAX_H3_CAMERA_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_CAMERA_GUIDANCE; } });
65
+ Object.defineProperty(exports, "MINIMAX_H3_ONSCREEN_TEXT_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_ONSCREEN_TEXT_GUIDANCE; } });
66
+ Object.defineProperty(exports, "MINIMAX_H3_TIMEBASE_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_TIMEBASE_GUIDANCE; } });
67
+ Object.defineProperty(exports, "MINIMAX_H3_AUDIO_GUIDE_USER_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_AUDIO_GUIDE_USER_GUIDANCE; } });
68
+ Object.defineProperty(exports, "MINIMAX_H3_AUDIO_GUIDE_KEYFRAME_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_AUDIO_GUIDE_KEYFRAME_GUIDANCE; } });
69
+ Object.defineProperty(exports, "MINIMAX_H3_LENGTH_GUIDANCE", { enumerable: true, get: function () { return minimax_js_1.MINIMAX_H3_LENGTH_GUIDANCE; } });
70
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompt-guides/index.ts"],"names":[],"mappings":";;;;AASA,6CAAiG;AAAxF,kHAAA,mBAAmB,OAAA;AAAE,kHAAA,mBAAmB,OAAA;AAAE,qHAAA,sBAAsB,OAAA;AAQzE,yCAAgE;AAAvD,8HAAA,iCAAiC,OAAA;AAE1C,6CAQuB;AAPrB,8HAAA,+BAA+B,OAAA;AAC/B,kIAAA,mCAAmC,OAAA;AACnC,+HAAA,gCAAgC,OAAA;AAChC,4HAAA,6BAA6B,OAAA;AAC7B,+HAAA,gCAAgC,OAAA;AAChC,oIAAA,qCAAqC,OAAA;AACrC,2HAAA,4BAA4B,OAAA;AAG9B,mCAMkB;AALhB,4HAAA,kCAAkC,OAAA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jC,0HAAA,4BAA4B,OAAA;AAC5B,kIAAA,oCAAoC,OAAA;AACpC,sIAAA,wCAAwC,OAAA;AACxC,wHAAA,0BAA0B,OAAA"}
@@ -0,0 +1,8 @@
1
+ import { type ModelPromptGuideRegistry } from './types.js';
2
+ export declare const LTX25_LAST_FRAME_OVERRIDE_GUIDANCE = "LAST-FRAME OVERRIDE: One reference image is attached as the exact ending frame. Describe a single continuous action that resolves naturally into that locked image. The conclusion must match its subjects, identity, appearance, clothing, setting, lighting, spatial composition, camera framing, and viewpoint exactly. Do not describe the image as the opening frame, and do not introduce a cut, replacement shot, or discontinuous jump to reach it.";
3
+ export declare const LTX25_FIRST_LAST_FRAME_OVERRIDE_GUIDANCE = "FIRST/LAST-FRAME OVERRIDE: Two reference images are attached. The first is the exact opening frame and the second is the exact ending frame. Ground the opening in the first image and the conclusion in the second image, preserving identity, appearance, setting, lighting, composition, and viewpoint wherever each endpoint establishes them. Describe a physically coherent continuous transition between both locked endpoints. Do not introduce a cut, replacement shot, or discontinuous jump to reach the ending frame.";
4
+ export declare const LTX_AUDIO_REFERENCE_GUIDANCE = "AUDIO-REFERENCE OPERATION: A separate reference soundtrack will drive the final video's timing. Treat that audio as timing truth. Preserve any audio content, dialogue, lyrics, rhythm, or sync points the user explicitly described, but never invent or claim to hear content that was not supplied to this text-authoring call. Describe visible action and camera timing that can synchronize to the reference audio.";
5
+ export declare const LTX_VIDEO_REFERENCE_GUIDANCE = "VIDEO-REFERENCE OPERATION: A source video will be attached to the final generation. Treat its subjects, motion timing, camera path, framing, lighting, occlusion, and audio continuity as source truth unless the user explicitly changes one. Write the requested transformation as a concrete visual delta on top of that source; do not replace it with a fresh unrelated scene description.";
6
+ export declare const LTX_IMAGE_REFERENCE_GUIDANCE = "IMAGE-REFERENCE OPERATION: The reference image is the exact opening visual anchor. Preserve its identity, composition, setting, and lighting; describe motion, performance, camera, and sound that flow forward from it.";
7
+ export declare const LTX_PROMPT_GUIDES: Pick<ModelPromptGuideRegistry, 'ltx-2.5' | 'ltx-2.3'>;
8
+ //# sourceMappingURL=ltx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ltx.d.ts","sourceRoot":"","sources":["../../src/prompt-guides/ltx.ts"],"names":[],"mappings":"AAQA,OAAO,EAIL,KAAK,wBAAwB,EAC9B,MAAM,YAAY,CAAC;AAgBpB,eAAO,MAAM,kCAAkC,gcAAgc,CAAC;AAChf,eAAO,MAAM,wCAAwC,sgBAAsgB,CAAC;AAE5jB,eAAO,MAAM,4BAA4B,8ZAA8Z,CAAC;AAExc,eAAO,MAAM,4BAA4B,oYAAoY,CAAC;AAE9a,eAAO,MAAM,4BAA4B,6NAA6N,CAAC;AA0HvQ,eAAO,MAAM,iBAAiB,EAAE,IAAI,CAAC,wBAAwB,EAAE,SAAS,GAAG,SAAS,CAkBnF,CAAC"}