@sogni-ai/sogni-intelligence-client 4.22.9 → 4.22.10

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 (42) hide show
  1. package/dist/contracts/data/promptContracts.d.ts.map +1 -1
  2. package/dist/contracts/data/promptContracts.js +35 -28
  3. package/dist/contracts/data/promptContracts.js.map +1 -1
  4. package/dist/contracts/idLoraPrompt.js +1 -1
  5. package/dist/contracts/imagePrompt.js +1 -1
  6. package/dist/contracts/toolPromptMarkers.d.ts +1 -1
  7. package/dist/contracts/toolPromptMarkers.d.ts.map +1 -1
  8. package/dist/contracts/toolPromptMarkers.js +1 -1
  9. package/dist/contracts/toolPromptMarkers.js.map +1 -1
  10. package/dist/contracts/videoComposition.d.ts.map +1 -1
  11. package/dist/contracts/videoComposition.js +25 -23
  12. package/dist/contracts/videoComposition.js.map +1 -1
  13. package/dist/public-skill-runtime/index.d.ts.map +1 -1
  14. package/dist/public-skill-runtime/index.js +76 -96
  15. package/dist/public-skill-runtime/index.js.map +1 -1
  16. package/dist/tools/definitions/animate-photo/definition.js +10 -10
  17. package/dist/tools/definitions/animate-photo/definition.js.map +1 -1
  18. package/dist/tools/definitions/extend-video/definition.js +1 -1
  19. package/dist/tools/definitions/extend-video/definition.js.map +1 -1
  20. package/dist/tools/definitions/generate-video/definition.js +6 -6
  21. package/dist/tools/definitions/generate-video/definition.js.map +1 -1
  22. package/dist/tools/definitions/sound-to-video/definition.js +3 -3
  23. package/dist/tools/definitions/video-to-video/definition.js +2 -2
  24. package/dist-esm/contracts/data/promptContracts.js +35 -28
  25. package/dist-esm/contracts/data/promptContracts.js.map +1 -1
  26. package/dist-esm/contracts/idLoraPrompt.js +1 -1
  27. package/dist-esm/contracts/imagePrompt.js +1 -1
  28. package/dist-esm/contracts/toolPromptMarkers.js +1 -1
  29. package/dist-esm/contracts/toolPromptMarkers.js.map +1 -1
  30. package/dist-esm/contracts/videoComposition.js +25 -23
  31. package/dist-esm/contracts/videoComposition.js.map +1 -1
  32. package/dist-esm/public-skill-runtime/index.js +76 -96
  33. package/dist-esm/public-skill-runtime/index.js.map +1 -1
  34. package/dist-esm/tools/definitions/animate-photo/definition.js +10 -10
  35. package/dist-esm/tools/definitions/animate-photo/definition.js.map +1 -1
  36. package/dist-esm/tools/definitions/extend-video/definition.js +1 -1
  37. package/dist-esm/tools/definitions/extend-video/definition.js.map +1 -1
  38. package/dist-esm/tools/definitions/generate-video/definition.js +6 -6
  39. package/dist-esm/tools/definitions/generate-video/definition.js.map +1 -1
  40. package/dist-esm/tools/definitions/sound-to-video/definition.js +3 -3
  41. package/dist-esm/tools/definitions/video-to-video/definition.js +2 -2
  42. package/package.json +2 -2
@@ -21,29 +21,29 @@ exports.definition = {
21
21
  type: "function",
22
22
  function: {
23
23
  name: "animate_photo",
24
- description: 'Animate a photo into video with motion, audio, and dialogue using LTX 2.5 by default, LTX 2.3 as rollback, or WAN 2.2. Do NOT use this tool for seedance2, seedance2-mini, seedance2-mini-uncensored, seedance2-5, or seedance2-5-uncensored. Seedance media references — including Seedance 2.5 first-and-last-frame requests — must go through generate_video with referenceImageIndices/referenceVideoIndices/referenceAudioIndices and @Image/@Video/@Audio role text in the prompt; for seamless-loop Seedance requests with one uploaded image, the prompt should anchor it as both the first frame and last frame. LTX/WAN NOTE: uploaded audio files are not loose references for ltx25/ltx23/wan22; use sound_to_video when uploaded audio is the primary sync target. DANCE REQUESTS ("make them dance", "do the X dance"): use dance_montage — NOT this tool. LTX 2.5 and LTX 2.3 generate audio natively — describe dialogue and ambient sounds directly in the prompt (do NOT pre-generate audio for this tool). If the user provides exact speech, include it in double quotes; if they only imply speech, describe the performance and voice without inventing quoted words. Avoid placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". PERSONA VOICE: Only when the user explicitly asks to use/clone a registered persona voice clip, call resolve_personas first, then set voicePersonaName to select which persona\'s voice clip to use. Do not set voicePersonaName for ordinary character dialogue or inferred voices; describe those voices in the prompt for native LTX audio. For cross-persona narration (e.g. David narrates a video of Aleyna), resolve both personas and set voicePersonaName to the narrator only if that registered voice was requested. On animate_photo, persona voice requires ltx23 because LTX 2.5 has no compatible ID-LoRA and WAN 2.2 does not support voice identity; for a persona voice on MiniMax H3 r2v, Seedance or Wan 3, use generate_video. PERSONA PIPELINE: For persona videos on this tool, ensure an image of the persona exists before calling animate_photo. The standard pipeline is: resolve_personas → edit_image → animate_photo. MiniMax H3 r2v, Seedance and Wan 3 reference videos skip this pipeline: generate_video takes the resolved persona reference images directly. If a suitable persona image already exists (user uploaded one, a prior edit_image/generate_image result, OR the user explicitly says to use the Persona image/reference photo directly), skip edit_image and animate directly. After resolve_personas, this tool can animate the injected persona image directly when that explicit direct-use instruction is given. Auto-uses the latest result image (from any prior tool) unless sourceImageIndex is set. Supports start-frame (default), end-frame, and start+end interpolation modes for LTX/WAN — ask the user which frame role their image should play if they mention "end frame", "last frame", or provide two images. FIRST+LAST FRAME WORKFLOW: When the user wants a non-Seedance video using two different scenes as start and end frames, prefer generating both images in a single generate_image/edit_image call with numberOfVariations=2 and Dynamic Prompts, then call animate_photo with frameRole="both", sourceImageIndex=0, endImageIndex=1. If the user explicitly wants separately created frame assets, preserve that staged instruction while keeping indices correct. In frameRole="both", the handler automatically inspects both images and upgrades the base prompt into a scene-aware smooth transition prompt, so your prompt should state the desired transition style, action, dialogue, and audio rather than trying to list every visible object. If the request is vague, analyze the image first and suggest 2-3 specific animation ideas tailored to what you see. Call once you have clear creative intent. N-VIDEOS PATTERN: Avoid sequential animate_photo calls for N outputs. For a single fixed source/end frame where only prompt text varies, use sourceImageIndex + numberOfVariations=N + one Dynamic Prompt branch in prompt so Sogni submits one project with multiple jobs. If the user explicitly asks for Dynamic Prompt or Dynamic Template syntax, prefer this one-project path whenever every output uses the same source/end frames and shared settings, even if they also ask to stitch the completed clips afterward. Use sourceImageIndices/prompts for multi-segment stitched non-Seedance video, different source/end assets, different audio windows, different durations/dimensions, isolated retry lifecycle, or other per-output parameters. sourceImageIndices supports up to 16 entries; there is NO 3-clip cap, so do not split one planned batch into "first 3" and "remaining" calls. For a dialogue-heavy total-duration request with no explicit per-clip duration, prefer 15-second clips on ltx25 by default (or ltx23 rollback) (30s total = 2 clips × 15s) and 10-second clips on wan22 (60s total on wan22 = 6 clips × 10s; do NOT pick 4 clips × 15s on wan22 — the wan22 worker rejects clips longer than 10s). Multi-source flavors: (A) SHARED CONTENT — when all N clips have the same dialogue/motion but different source visuals (different scenes, outfits, environments, persona looks), first generate N distinct images via ONE edit_image/generate_image call with numberOfVariations=N + Dynamic Prompts {|}, then call animate_photo with sourceImageIndices=[start..start+N-1] and a single shared `prompt`. If all segments intentionally reuse the primary uploaded image and only prompt text varies, use sourceImageIndex=-1, frameRole="both" if requested, endImageIndex=-1 if requested, numberOfVariations=N, and one Dynamic Prompt branch in prompt. Each branch option must be a complete natural-language motion prompt; do not include "clip N", source-frame boilerplate, "overall request context", or instructions to follow the user request. For a long scripted/dialogue/storyboard video from a single supplied/uploaded image where each segment needs isolated exact dialogue or per-segment wiring, use sourceImageIndices=[-1,-1,...] and per-clip prompts. Only set frameRole="both" and endImageIndex=-1 when the user explicitly says the same uploaded/source/original image should be both the first and last frame of every segment. If the user requests generated source images first, honor that image stage, then animate the generated result indices. When using generated scene keyframes and each clip should begin and end on its own scene image for stitching, call animate_photo with frameRole="both" and sourceImageIndices=[start..end] but OMIT endImageIndex; do not set endImageIndex=-1 unless every source is the uploaded image. (B) PER-CLIP CONTENT — when source/end asset wiring or other per-output parameters differ, pass BOTH sourceImageIndices AND `prompts` (an array of N strings, one per clip) in the same single call. Each prompt must independently anchor the visible characters, scene action, camera, audio, exact screenplay-style speaker tags, and exact quoted dialogue for that segment. If you just wrote or displayed a script/table, copy the exact dialogue lines into the corresponding per-clip prompts; do not summarize them as speech activity. If using named speaker tags with any multi-person reference image or generated scene keyframe, include one explicit cast map in each prompt that binds each name to visible position, clothing, and props/actions, e.g. SPEAKER_A = left person holding a prop; SPEAKER_B = center person with tablet; SPEAKER_C = right person near table. Do not also describe the same people again as generic man/boy/girl/woman/character subjects. For screenplay, storyboard, commercial, series, or other longer-form tasks with recurring characters, preserve the same character names and repeated visual anchors in every per-clip prompt where each character appears. Use the standard single-source path (numberOfVariations only) when the user wants motion variety from a single fixed frame.',
24
+ description: 'Animate a photo into video with motion, audio, and dialogue using LTX 2.5 by default, LTX 2.3 as rollback, or WAN 2.2. Do NOT use this tool for seedance2, seedance2-mini, seedance2-mini-uncensored, seedance2-5, or seedance2-5-uncensored. Seedance media references — including Seedance 2.5 first-and-last-frame requests — must go through generate_video with referenceImageIndices/referenceVideoIndices/referenceAudioIndices and @Image/@Video/@Audio role text in the prompt; for seamless-loop Seedance requests with one uploaded image, the prompt should anchor it as both the first frame and last frame. LTX/WAN NOTE: uploaded audio files are not loose references for ltx25/ltx23/wan22; use sound_to_video when uploaded audio is the primary sync target. DANCE REQUESTS ("make them dance", "do the X dance"): use dance_montage — NOT this tool. LTX 2.5 and LTX 2.3 generate audio natively — describe dialogue and ambient sounds directly in the prompt (do NOT pre-generate audio for this tool). Put the user\'s exact speech in double quotes; when they want speech but give no words, write short lines that fit the speaker and moment, in double quotes, since speech without written words renders as gibberish. Avoid placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". PERSONA VOICE: Only when the user explicitly asks to use/clone a registered persona voice clip, call resolve_personas first, then set voicePersonaName to select which persona\'s voice clip to use. Do not set voicePersonaName for ordinary character dialogue or inferred voices; describe those voices in the prompt for native LTX audio. For cross-persona narration (e.g. David narrates a video of Aleyna), resolve both personas and set voicePersonaName to the narrator only if that registered voice was requested. On animate_photo, persona voice requires ltx23 because LTX 2.5 has no compatible ID-LoRA and WAN 2.2 does not support voice identity; for a persona voice on MiniMax H3 r2v, Seedance or Wan 3, use generate_video. PERSONA PIPELINE: For persona videos on this tool, ensure an image of the persona exists before calling animate_photo. The standard pipeline is: resolve_personas → edit_image → animate_photo. MiniMax H3 r2v, Seedance and Wan 3 reference videos skip this pipeline: generate_video takes the resolved persona reference images directly. If a suitable persona image already exists (user uploaded one, a prior edit_image/generate_image result, OR the user explicitly says to use the Persona image/reference photo directly), skip edit_image and animate directly. After resolve_personas, this tool can animate the injected persona image directly when that explicit direct-use instruction is given. Auto-uses the latest result image (from any prior tool) unless sourceImageIndex is set. Supports start-frame (default), end-frame, and start+end interpolation modes for LTX/WAN — ask the user which frame role their image should play if they mention "end frame", "last frame", or provide two images. FIRST+LAST FRAME WORKFLOW: When the user wants a non-Seedance video using two different scenes as start and end frames, prefer generating both images in a single generate_image/edit_image call with numberOfVariations=2 and Dynamic Prompts, then call animate_photo with frameRole="both", sourceImageIndex=0, endImageIndex=1. If the user explicitly wants separately created frame assets, preserve that staged instruction while keeping indices correct. In frameRole="both", the handler automatically inspects both images and upgrades the base prompt into a scene-aware smooth transition prompt, so your prompt should state the desired transition style, action, dialogue, and audio rather than trying to list every visible object. If the request is vague, analyze the image first and suggest 2-3 specific animation ideas tailored to what you see. Call once you have clear creative intent. N-VIDEOS PATTERN: Avoid sequential animate_photo calls for N outputs. For a single fixed source/end frame where only prompt text varies, use sourceImageIndex + numberOfVariations=N + one Dynamic Prompt branch in prompt so Sogni submits one project with multiple jobs. If the user explicitly asks for Dynamic Prompt or Dynamic Template syntax, prefer this one-project path whenever every output uses the same source/end frames and shared settings, even if they also ask to stitch the completed clips afterward. Use sourceImageIndices/prompts for multi-segment stitched non-Seedance video, different source/end assets, different audio windows, different durations/dimensions, isolated retry lifecycle, or other per-output parameters. sourceImageIndices supports up to 16 entries; there is NO 3-clip cap, so do not split one planned batch into "first 3" and "remaining" calls. For a dialogue-heavy total-duration request with no explicit per-clip duration, prefer 15-second clips on ltx25 by default (or ltx23 rollback) (30s total = 2 clips × 15s) and 10-second clips on wan22 (60s total on wan22 = 6 clips × 10s; do NOT pick 4 clips × 15s on wan22 — the wan22 worker rejects clips longer than 10s). Multi-source flavors: (A) SHARED CONTENT — when all N clips have the same dialogue/motion but different source visuals (different scenes, outfits, environments, persona looks), first generate N distinct images via ONE edit_image/generate_image call with numberOfVariations=N + Dynamic Prompts {|}, then call animate_photo with sourceImageIndices=[start..start+N-1] and a single shared `prompt`. If all segments intentionally reuse the primary uploaded image and only prompt text varies, use sourceImageIndex=-1, frameRole="both" if requested, endImageIndex=-1 if requested, numberOfVariations=N, and one Dynamic Prompt branch in prompt. Each branch option must be a complete natural-language motion prompt; do not include "clip N", source-frame boilerplate, "overall request context", or instructions to follow the user request. For a long scripted/dialogue/storyboard video from a single supplied/uploaded image where each segment needs isolated exact dialogue or per-segment wiring, use sourceImageIndices=[-1,-1,...] and per-clip prompts. Only set frameRole="both" and endImageIndex=-1 when the user explicitly says the same uploaded/source/original image should be both the first and last frame of every segment. If the user requests generated source images first, honor that image stage, then animate the generated result indices. When using generated scene keyframes and each clip should begin and end on its own scene image for stitching, call animate_photo with frameRole="both" and sourceImageIndices=[start..end] but OMIT endImageIndex; do not set endImageIndex=-1 unless every source is the uploaded image. (B) PER-CLIP CONTENT — when source/end asset wiring or other per-output parameters differ, pass BOTH sourceImageIndices AND `prompts` (an array of N strings, one per clip) in the same single call. Each prompt must independently anchor the visible characters, scene action, camera, audio, exact screenplay-style speaker tags, and exact quoted dialogue for that segment. If you just wrote or displayed a script/table, copy the exact dialogue lines into the corresponding per-clip prompts; do not summarize them as speech activity. If using named speaker tags with any multi-person reference image or generated scene keyframe, include one explicit cast map in each prompt that binds each name to visible position, clothing, and props/actions, e.g. SPEAKER_A = left person holding a prop; SPEAKER_B = center person with tablet; SPEAKER_C = right person near table. Do not also describe the same people again as generic man/boy/girl/woman/character subjects. For screenplay, storyboard, commercial, series, or other longer-form tasks with recurring characters, preserve the same character names and repeated visual anchors in every per-clip prompt where each character appears. Use the standard single-source path (numberOfVariations only) when the user wants motion variety from a single fixed frame.',
25
25
  parameters: {
26
26
  type: "object",
27
27
  properties: {
28
28
  prompt: {
29
29
  type: "string",
30
- description: `I2V RULE: Do NOT re-describe what is visible in the input image. Focus on the transition from stillness — motion, expression changes, what happens next, camera movement, and sound.
30
+ description: `I2V RULE: Do NOT re-describe what is visible in the input image. Focus on motion, expression changes, what happens next, camera movement, and sound.
31
31
 
32
32
  ${toolPromptMarkers_js_1.LITERAL_VIDEO_PROMPT_OVERRIDE}
33
33
 
34
34
  STRUCTURE: "[How the subject begins to move]. [What changes next]. [Camera behavior]. [Audio]."
35
35
 
36
- MOTION PACING: Scale complexity to duration. <=6s: 1 main action beat + 1 simple camera move. Around 10s: 2-3 clear action beats + 1 camera move. >10s: up to 4 action beats in clear sequence. Prefer fewer readable beats over dense micro-actions, especially in short clips.
36
+ MOTION PACING: Keep every action the user names, in order, timed to fit the duration; when you add actions of your own, fewer clear beats read better than many.
37
37
 
38
38
  BLOCKING: Use the image as the anchor and direct only meaningful layout changes. If the prompt introduces multiple moving subjects, state left/right placement, foreground/background, facing toward/away, and relative distance.
39
39
 
40
- ACTION: One flowing paragraph. Describe motion beat by beat with temporal connectors ("as", "then", "while"). Specify who moves, what moves, how it moves, and what the camera does. One main thread — avoid too many actions at once or generic phrases like "comes alive."
40
+ ACTION: One flowing paragraph. Describe motion beat by beat with temporal connectors ("as", "then", "while"). Specify who moves, what moves, how it moves, and what the camera does. Avoid generic phrases like "comes alive."
41
41
 
42
- DIALOGUE: Put user-provided spoken lines in double quotes. For screenplay-style or longer-form tasks, prefix each spoken line with a stable speaker tag outside the quotes, e.g. CHARACTER: "We made it." Break long speech into short quoted phrases with acting beats between them (gestures, pauses, glances). If the user asks for speech but provides no exact words, describe the visible delivery, voice quality, and emotion without inventing quoted dialogue; ask only when exact wording is the point of the request. Never write placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". Show emotion through visible behavior, not labels. LTX 2.5 and LTX 2.3 generate audio natively. QUOTING RULE: ONLY use double quotes for spoken dialogue. Never quote on-screen text, overlay text, titles, captions, signs, or any visual text — describe them without quotes (e.g. bold white text reading CONGRATULATIONS overlays the lower third).
42
+ DIALOGUE: Put user-provided spoken lines in double quotes. For screenplay-style or longer-form tasks, prefix each spoken line with a stable speaker tag outside the quotes, e.g. CHARACTER: "We made it." Break long speech into short quoted phrases with acting beats between them (gestures, pauses, glances). If the user asks for speech but gives no exact words, write short lines that fit the speaker, moment and tone, in double quotes, one speaker per line; a video model turns speech without written words into gibberish. Never write placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". Show emotion through visible behavior, not labels. LTX 2.5 and LTX 2.3 generate audio natively. ON-SCREEN TEXT: Put text that must appear on screen in double quotes after "reads", e.g. a sign that reads "OPEN 24H"; mark spoken lines with a speaker and a verb of speech so the model can tell them from visible text. Include logos and readable text whenever the user asks for them.
43
43
 
44
44
  AUDIO: Prompt sound intentionally — voice quality, volume, room tone, ambience, music, weather, footsteps. Include language or accent if relevant. Useful voice/volume anchors: whisper, mutter, shout, scream, energetic announcer, resonant voice with gravitas, distorted radio-style, robotic monotone, childlike curiosity.
45
45
 
46
- CAMERA: Cinematic terms — slow push-in, static tripod, handheld, slow arc, dolly in. Describe movement relative to subject.
46
+ CAMERA: Cinematic terms at the pace the action implies — push-in, crash zoom, whip pan, tracking shot, handheld follow, orbit, static frame. Describe movement relative to subject.
47
47
 
48
48
  For first+last-frame transitions (frameRole="both"), write a concise base request for the transition style, action, dialogue, and audio. The handler will inspect both frames and expand it into a scene-aware prompt that maps visible objects and subjects between frames.
49
49
 
@@ -51,13 +51,13 @@ For specific characters (movies, TV): describe visual appearance — don't rely
51
51
 
52
52
  For complex/creative scenes (characters talking, skits), capture full creative intent — system auto-expands into detailed prompt.
53
53
 
54
- AVOID: Re-describing the image, vague prompts, too many actions at once, abstract emotions without visible behavior, rigid numeric constraints, readable text or logos.
54
+ AVOID: Re-describing the image, vague prompts, abstract emotions without visible behavior, exact camera angles in degrees.
55
55
 
56
- POSITIVE CONSTRAINT TRANSLATION: For LTX 2.3 and WAN 2.2, the prompt field is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Examples: "no people in background" -> single subject focus with an empty background; "no text" -> clean blank surfaces; "don't make it blurry" -> crisp sharp focus; "no weird hands" -> natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" -> silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" -> the same room and layout remain consistent; "keep flames consistent" -> flame and ember movement remains consistent with the source scene. Preserve exact quoted visible text or dialogue when the user explicitly requests it, and keep surrounding surfaces blank. For Dynamic Prompt batches, put these translated shared constraints before the "{...}" branch so every variation inherits them.
56
+ POSITIVE CONSTRAINT TRANSLATION: For LTX 2.3 and WAN 2.2, the prompt field is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Examples: "no people in background" -> single subject focus with an empty background; "no text" -> clean blank surfaces; "don't make it blurry" -> crisp sharp focus; "no weird hands" -> natural anatomically consistent hands; "no mouth movement, no talking, no lip syncing" -> silent expression-only physical performance with facial motion independent of speech timing; "don't change the room" -> the same room and layout remain consistent. Preserve exact quoted visible text or dialogue when the user explicitly requests it. For Dynamic Prompt batches, put these translated shared constraints before the "{...}" branch so every variation inherits them.
57
57
 
58
- WAN 2.2 ("wan22"): 30-150 words, subtle natural movements. Motion-only visual prompt; omit soundtrack, ambience, room tone, music, hums, sighs, spoken words, voice, and SFX cues because WAN does not generate audio.
58
+ WAN 2.2 ("wan22"): motion-only visual prompt at the intensity the request asks for; omit soundtrack, ambience, room tone, music, hums, sighs, spoken words, voice, and SFX cues because WAN does not generate audio.
59
59
 
60
- BATCH VARIATIONS: When numberOfVariations > 1, use Dynamic Prompt syntax to vary motion, camera, or atmosphere while preserving the user's specified elements. This is one Sogni project with multiple jobs, so prefer it when all outputs share the same source/end frames and generation parameters and only prompt text varies. Example: "{gentle sway with drifting embers|slow paw wave with a tiny head tilt|small hop with soft fur motion}".
60
+ BATCH VARIATIONS: When numberOfVariations > 1, use Dynamic Prompt syntax to vary motion, camera, or atmosphere while preserving the user's specified elements. This is one Sogni project with multiple jobs, so prefer it when all outputs share the same source/end frames and generation parameters and only prompt text varies. Example: "{leaps off the ledge into the water|shakes off and sprints toward the camera|turns and barks at a passing gull}".
61
61
 
62
62
  ${promptLimits_js_1.VIDEO_PROMPT_LENGTH_LIMITS_GUIDANCE}`,
63
63
  },
@@ -1 +1 @@
1
- {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/animate-photo/definition.ts"],"names":[],"mappings":";;;AAMA,kFAOiD;AACjD,gFAAgF;AAChF,sDAAmE;AACnE,kEAKsC;AACtC,wEAAyF;AASzF,MAAM,iBAAiB,GAAG;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,6BAA6B;IAC7B,oCAAoC;IACpC,kBAAkB;IAClB,wBAAwB;IACxB,+BAA+B;IAC/B,sCAAsC;CAC9B,CAAC;AAEX,MAAM,yBAAyB,GAC7B,wcAAwc,CAAC;AAE9b,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,eAAe;QACrB,WAAW,EACT,wxPAAwxP;QAC1xP,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE;;EAErB,oDAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B7B,qDAAmC,EAAE;iBAC9B;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,SAAS;oBACf,WAAW,EACT,4GAA4G;iBAC/G;gBACD,oBAAoB,EAAE;oBACpB,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,uEAAgD;iBAC9D;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE;wBACJ,OAAO;wBACP,OAAO;wBACP,OAAO;wBACP,oBAAoB;wBACpB,oBAAoB;wBACpB,gBAAgB;wBAChB,sBAAsB;wBACtB,6BAA6B;wBAC7B,oCAAoC;wBACpC,kBAAkB;wBAClB,wBAAwB;wBACxB,+BAA+B;wBAC/B,sCAAsC;wBACtC,cAAc;wBACd,oBA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iDAA+B,EAAE;iBACpQ;gBACD,aAAa,EAAE;oBACb,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,kDAAgC;iBAC9C;aACF;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;CACF,CAAC;AAEF,kBAAU,CAAC,QAAQ,CAAC,WAAW;IAC7B,iGAAiG,CAAC;AAEpG,kBAAU,CAAC,QAAQ,CAAC,WAAW,IAAI,IAAI,oDAA6B,EAAE,CAAC"}
1
+ {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/animate-photo/definition.ts"],"names":[],"mappings":";;;AAMA,kFAOiD;AACjD,gFAAgF;AAChF,sDAAmE;AACnE,kEAKsC;AACtC,wEAAyF;AASzF,MAAM,iBAAiB,GAAG;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,6BAA6B;IAC7B,oCAAoC;IACpC,kBAAkB;IAClB,wBAAwB;IACxB,+BAA+B;IAC/B,sCAAsC;CAC9B,CAAC;AAEX,MAAM,yBAAyB,GAC7B,wcAAwc,CAAC;AAE9b,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,eAAe;QACrB,WAAW,EACT,g1PAAg1P;QACl1P,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE;;EAErB,oDAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B7B,qDAAmC,EAAE;iBAC9B;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,SAAS;oBACf,WAAW,EACT,4GAA4G;iBAC/G;gBACD,oBAAoB,EAAE;oBACpB,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,uEAAgD;iB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oBACd,WAAW,EACT,sxBAAsxB;iBACzxB;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;oBACvC,WAAW,EACT,sJAAsJ,wCAAsB,OAAO,IAAA,qCAAmB,EAAC,iBAAiB,CAAC,OAAO,iDAA+B,EAAE;iBACpQ;gBACD,aAAa,EAAE;oBACb,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,kDAAgC;iBAC9C;aACF;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;CACF,CAAC;AAEF,kBAAU,CAAC,QAAQ,CAAC,WAAW;IAC7B,iGAAiG,CAAC;AAEpG,kBAAU,CAAC,QAAQ,CAAC,WAAW,IAAI,IAAI,oDAA6B,EAAE,CAAC"}
@@ -19,7 +19,7 @@ exports.definition = {
19
19
  prompt: {
20
20
  type: 'string',
21
21
  description: 'What should happen during the extension — describe motion, action, dialogue, and audio for the appended seconds, NOT the entire video. ' +
22
- 'For LTX continuations, preserve user-provided spoken dialogue in double quotes; if speech is requested without exact words, describe the delivery without inventing quoted dialogue. ' +
22
+ 'For LTX continuations, preserve user-provided spoken dialogue in double quotes; if speech is requested without exact words, write short lines that fit the speaker and moment, in double quotes. ' +
23
23
  'If the user did not specify what should happen, write a brief continuation that preserves the existing tone (e.g. "the scene continues with the same camera and pacing").',
24
24
  },
25
25
  duration: {
@@ -1 +1 @@
1
- {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/extend-video/definition.ts"],"names":[],"mappings":";;;AAaa,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,WAAW,EACT,gVAAgV;YAChV,8JAA8J;YAC9J,qHAAqH;YACrH,uFAAuF;YACvF,wJAAwJ;YACxJ,qMAAqM;YACrM,4GAA4G;YAC5G,6GAA6G;QAC/G,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,yIAAyI;wBACzI,uLAAuL;wBACvL,2KAA2K;iBAC9K;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,0JAA0J;oBAC5J,OAAO,EAAE,CAAC;oBACV,OAAO,EAAE,EAAE;iBACZ;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,iFAAiF;wBACjF,6LAA6L;iBAChM;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,aAAa,EAAE,wBAAwB,CAAC;oBACrI,WAAW,EACT,ucAAuc;iBAC1c;gBACD,iBAAiB,EAAE;oBACjB,IAAI,EAAE,SAAS;oBACf,WAAW,EACT,4OAA4O;iBAC/O;aACF;YACD,QAAQ,EAAE,CAAC,UAAU,CAAC;SACvB;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/extend-video/definition.ts"],"names":[],"mappings":";;;AAaa,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,WAAW,EACT,gVAAgV;YAChV,8JAA8J;YAC9J,qHAAqH;YACrH,uFAAuF;YACvF,wJAAwJ;YACxJ,qMAAqM;YACrM,4GAA4G;YAC5G,6GAA6G;QAC/G,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,yIAAyI;wBACzI,mMAAmM;wBACnM,2KAA2K;iBAC9K;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,0JAA0J;oBAC5J,OAAO,EAAE,CAAC;oBACV,OAAO,EAAE,EAAE;iBACZ;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,iFAAiF;wBACjF,6LAA6L;iBAChM;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,aAAa,EAAE,wBAAwB,CAAC;oBACrI,WAAW,EACT,ucAAuc;iBAC1c;gBACD,iBAAiB,EAAE;oBACjB,IAAI,EAAE,SAAS;oBACf,WAAW,EACT,4OAA4O;iBAC/O;aACF;YACD,QAAQ,EAAE,CAAC,UAAU,CAAC;SACvB;KACF;CACF,CAAC"}
@@ -22,7 +22,7 @@ exports.definition = {
22
22
  type: "function",
23
23
  function: {
24
24
  name: "generate_video",
25
- description: 'Generate a video from text or Seedance multimodal references. LTX 2.5 is the default and generates audio natively; LTX 2.3 remains available as rollback and also generates audio natively (dialogue, sounds, ambient music) — describe audio in the prompt. If the user provides exact speech, include it in double quotes; if they only imply speech, describe the performance and voice without inventing quoted words. Never use placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". PERSONA VOICE: Only when the user explicitly asks to use/clone a registered persona\'s own voice, call resolve_personas first, then set voicePersonaName to select which persona\'s voice to use. Do not set voicePersonaName for ordinary character dialogue or inferred voices; describe those voices in the prompt for native audio. For cross-persona narration (e.g. David narrates a video of Aleyna), resolve both personas and set voicePersonaName to the narrator only if that registered voice was requested. Persona voice works on ltx23 (Audio ID) and as a voice reference on MiniMax H3 r2v, Seedance and Wan 3; LTX 2.5 has no compatible ID-LoRA and WAN 2.2 does not support voice identity. For non-Seedance syncing to a specific song or audio track, use sound_to_video instead. For non-Seedance animation from a locked source photo, use animate_photo. MY PERSONAS: On MiniMax H3 r2v, Seedance or Wan 3, pass a resolved persona\'s reference images straight in through referenceImageIndices with no edit_image step; every clip carries its own references, and the prompt binds each persona to its images with the model\'s tokens (@Image1, <Picture 1>, Image 1). On LTX and WAN 2.2, persona videos use resolve_personas → edit_image → animate_photo. SEEDANCE DEFAULT: For seedance2, seedance2-mini, seedance2-mini-uncensored, seedance2-5, or seedance2-5-uncensored, default to exactly one video (4-15s on 2.0/Mini/Mini Uncensored, 4-30s on seedance2-5 and seedance2-5-uncensored) unless the user explicitly asks for multiple separate outputs. Multiple beats, shots, or scene descriptions in one up-to-15s Seedance prompt are still one video. If the user requests one continuous Seedance video longer than 15s, prefer seedance2-5, which renders up to 30s in a single call; beyond 30s (or on 2.0/Mini) preserve the requested total duration in the prompt/context and let chat orchestration split it into supported segment renders and stitch them instead of clamping it to a short excerpt. Uploaded/generated storyboard, shot-sheet, or trailer-concept images used as Seedance references should become one Seedance 2.5 generate_video call at targetResolution=1080 by default; preserve an explicitly requested model or resolution, and use Seedance 2.0 for 4K because Seedance 2.5 supports up to 1080p. Do not extract panels with edit_image and do not animate the storyboard sheet with LTX unless the user explicitly asks for separate non-Seedance clips. Seedance loose image, video, and audio references go through this tool; do not use animate_photo sourceImageIndex/frameRole/endImageIndex for Seedance. If an uploaded video is the source clip to transform, upscale, enhance, restyle, or remaster, use video_to_video with controlMode="seedance-v2v" instead of generate_video referenceVideoIndices. If the uploaded audio is the primary sync target, lip-sync target, or requested as sound-to-video/audio-sync, use sound_to_video with videoModel="seedance2-mini" instead of this tool unless the user asks for full Seedance. Use referenceAudioIndices here only when audio is a loose reference under an image/video-anchored Seedance shot. For Seedance, every image — first frame, last frame, or loose reference — is passed through referenceImageIndices (auto-uploaded as referenceImageUrls). Anchor frame intent in the prompt with @Image tags such as "Use @Image1 as the opening shot reference. Begin the video with a composition, subject placement, lighting, mood, and camera framing that closely match @Image1." (or @Image2 as the final shot reference). For seamless-loop or "first frame and last frame identical" requests with a single uploaded image, anchor it explicitly as both: "Use @Image1 as both the first frame and last frame so the video loops cleanly back to the opening composition." Assign each useful @Image/@Video/@Audio tag a role. APPROVED STORYBOARD PRODUCTION: When the user asks for a production workflow from an approved storyboard, the chat orchestrator should use the durable CampaignStoryboard contract: render the composite board, audit it, generate one reference still per approved scene with GPT Image 2.5 Sunburst, render each scene as a Seedance 2.5 video segment at 1080p, then stitch the segments. Preserve an explicit alternate model or resolution. Do not replace that with a generic storyboard-reference video unless the user asks for a fast draft. PARTIAL VIDEO EDITS: Do NOT call generate_video to re-render an existing rendered/uploaded video just to change part of it (the bumper, the intro, the end card, a single scene, the last few seconds, etc.). Use replace_video_segment for that — it preserves the unchanged portion, keeps the original audio outside the replaced window, and costs far less. Likewise use extend_video to add new time to the end without rewriting the rest. If the request is vague, ask about vision/mood/style first. Only call once you have clear creative intent. WAN 3 uses the exact selector wan3.0-video: use this tool for text-to-video or loose Image 1/Video 1/Audio 1 references; use animate_photo for native first/last frames and sound_to_video when audio drives timing. A Wan 3 video reference conditions a new generation; it does not invoke a provider-backed edit or extend mode.',
25
+ description: 'Generate a video from text or Seedance multimodal references. LTX 2.5 is the default and generates audio natively; LTX 2.3 remains available as rollback and also generates audio natively (dialogue, sounds, ambient music) — describe audio in the prompt. Put the user\'s exact speech in double quotes; when they want speech but give no words, write short lines that fit the speaker and moment, in double quotes, since speech without written words renders as gibberish. Never use placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". PERSONA VOICE: Only when the user explicitly asks to use/clone a registered persona\'s own voice, call resolve_personas first, then set voicePersonaName to select which persona\'s voice to use. Do not set voicePersonaName for ordinary character dialogue or inferred voices; describe those voices in the prompt for native audio. For cross-persona narration (e.g. David narrates a video of Aleyna), resolve both personas and set voicePersonaName to the narrator only if that registered voice was requested. Persona voice works on ltx23 (Audio ID) and as a voice reference on MiniMax H3 r2v, Seedance and Wan 3; LTX 2.5 has no compatible ID-LoRA and WAN 2.2 does not support voice identity. For non-Seedance syncing to a specific song or audio track, use sound_to_video instead. For non-Seedance animation from a locked source photo, use animate_photo. MY PERSONAS: On MiniMax H3 r2v, Seedance or Wan 3, pass a resolved persona\'s reference images straight in through referenceImageIndices with no edit_image step; every clip carries its own references, and the prompt binds each persona to its images with the model\'s tokens (@Image1, <Picture 1>, Image 1). On LTX and WAN 2.2, persona videos use resolve_personas → edit_image → animate_photo. SEEDANCE DEFAULT: For seedance2, seedance2-mini, seedance2-mini-uncensored, seedance2-5, or seedance2-5-uncensored, default to exactly one video (4-15s on 2.0/Mini/Mini Uncensored, 4-30s on seedance2-5 and seedance2-5-uncensored) unless the user explicitly asks for multiple separate outputs. Multiple beats, shots, or scene descriptions in one up-to-15s Seedance prompt are still one video. If the user requests one continuous Seedance video longer than 15s, prefer seedance2-5, which renders up to 30s in a single call; beyond 30s (or on 2.0/Mini) preserve the requested total duration in the prompt/context and let chat orchestration split it into supported segment renders and stitch them instead of clamping it to a short excerpt. Uploaded/generated storyboard, shot-sheet, or trailer-concept images used as Seedance references should become one Seedance 2.5 generate_video call at targetResolution=1080 by default; preserve an explicitly requested model or resolution, and use Seedance 2.0 for 4K because Seedance 2.5 supports up to 1080p. Do not extract panels with edit_image and do not animate the storyboard sheet with LTX unless the user explicitly asks for separate non-Seedance clips. Seedance loose image, video, and audio references go through this tool; do not use animate_photo sourceImageIndex/frameRole/endImageIndex for Seedance. If an uploaded video is the source clip to transform, upscale, enhance, restyle, or remaster, use video_to_video with controlMode="seedance-v2v" instead of generate_video referenceVideoIndices. If the uploaded audio is the primary sync target, lip-sync target, or requested as sound-to-video/audio-sync, use sound_to_video with videoModel="seedance2-mini" instead of this tool unless the user asks for full Seedance. Use referenceAudioIndices here only when audio is a loose reference under an image/video-anchored Seedance shot. For Seedance, every image — first frame, last frame, or loose reference — is passed through referenceImageIndices (auto-uploaded as referenceImageUrls). Anchor frame intent in the prompt with @Image tags such as "Use @Image1 as the opening shot reference. Begin the video with a composition, subject placement, lighting, mood, and camera framing that closely match @Image1." (or @Image2 as the final shot reference). For seamless-loop or "first frame and last frame identical" requests with a single uploaded image, anchor it explicitly as both: "Use @Image1 as both the first frame and last frame so the video loops cleanly back to the opening composition." Assign each useful @Image/@Video/@Audio tag a role. APPROVED STORYBOARD PRODUCTION: When the user asks for a production workflow from an approved storyboard, the chat orchestrator should use the durable CampaignStoryboard contract: render the composite board, audit it, generate one reference still per approved scene with GPT Image 2.5 Sunburst, render each scene as a Seedance 2.5 video segment at 1080p, then stitch the segments. Preserve an explicit alternate model or resolution. Do not replace that with a generic storyboard-reference video unless the user asks for a fast draft. PARTIAL VIDEO EDITS: Do NOT call generate_video to re-render an existing rendered/uploaded video just to change part of it (the bumper, the intro, the end card, a single scene, the last few seconds, etc.). Use replace_video_segment for that — it preserves the unchanged portion, keeps the original audio outside the replaced window, and costs far less. Likewise use extend_video to add new time to the end without rewriting the rest. If the request is vague, ask about vision/mood/style first. Only call once you have clear creative intent. WAN 3 uses the exact selector wan3.0-video: use this tool for text-to-video or loose Image 1/Video 1/Audio 1 references; use animate_photo for native first/last frames and sound_to_video when audio drives timing. A Wan 3 video reference conditions a new generation; it does not invoke a provider-backed edit or extend mode.',
26
26
  parameters: {
27
27
  type: "object",
28
28
  properties: {
@@ -36,27 +36,27 @@ STRUCTURE: shot/style → subject (age, clothing, hairstyle, distinguishing deta
36
36
 
37
37
  CAST CONTINUITY: For screenplay, script, storyboard, commercial, series, or other longer-form video tasks with recurring characters, use stable character names and repeat the same visual anchors every time they appear (age range, build, hairstyle, outfit silhouette, color palette, signature prop/accessory, posture, voice). Do not rename, merge, redesign, or drift characters between scenes unless the user asks.
38
38
 
39
- MOTION PACING: Scale complexity to duration. <=6s: 1 main action beat + 1 simple camera move. Around 10s: 2-3 clear action beats + 1 camera move. >10s: up to 4 action beats in clear sequence. Prefer fewer readable beats over dense micro-actions, especially in short clips.
39
+ MOTION PACING: Keep every action the user names, in order, timed to fit the duration; when you add actions of your own, fewer clear beats read better than many.
40
40
 
41
41
  BLOCKING: Direct the layout like scene blocking. State left/right placement, foreground/background, facing toward/away, and relative distance when multiple subjects or important objects are involved.
42
42
 
43
43
  ACTION: Drive motion with concrete verbs. Specify who moves, what moves, how it moves, and what the camera does. Avoid generic phrases like "comes alive."
44
44
 
45
- DIALOGUE: Put user-provided spoken lines in double quotes. For screenplay-style or longer-form tasks, prefix each spoken line with a stable speaker tag outside the quotes, e.g. CHARACTER: "We made it." Break long speech into short quoted phrases with acting beats between them (gestures, pauses, glances). If the user asks for speech but provides no exact words, describe the visible delivery, voice quality, and emotion without inventing quoted dialogue; ask only when exact wording is the point of the request. Never write placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". Show emotion through visible behavior — not "she is sad", instead "she looks down, pauses, and her voice cracks". QUOTING RULE: ONLY use double quotes for spoken dialogue. Never quote on-screen text, overlay text, titles, captions, signs, or any visual text — describe them without quotes.
45
+ DIALOGUE: Put user-provided spoken lines in double quotes. For screenplay-style or longer-form tasks, prefix each spoken line with a stable speaker tag outside the quotes, e.g. CHARACTER: "We made it." Break long speech into short quoted phrases with acting beats between them (gestures, pauses, glances). If the user asks for speech but gives no exact words, write short lines that fit the speaker, moment and tone, in double quotes, one speaker per line; a video model turns speech without written words into gibberish. Never write placeholders such as "while speaking", "dialogue begins", "explaining", or "final line lands". Show emotion through visible behavior — not "she is sad", instead "she looks down, pauses, and her voice cracks". ON-SCREEN TEXT: Put text that must appear on screen in double quotes after "reads", e.g. a sign that reads "OPEN 24H"; mark spoken lines with a speaker and a verb of speech so the model can tell them from visible text. Include logos and readable text whenever the user asks for them.
46
46
 
47
47
  STORYBOARD TEXT: For storyboard references, structural headings, section numbers, slide titles, panel titles, and captions may become short audio-only narration/voiceover or key-message beats, but they are not subtitles, title cards, lower thirds, or visible overlays unless the user explicitly asks for visible text/on-screen text/title card/subtitle/lower third/signage/CTA. Do not concatenate storyboard labels into run-on voiceover; use separate brief phrases with pauses.
48
48
 
49
49
  AUDIO: Prompt sound intentionally — voice quality, volume, room tone, ambience, music, weather, footsteps. Include language or accent if relevant. Useful voice/volume anchors: whisper, mutter, shout, scream, energetic announcer, resonant voice with gravitas, distorted radio-style, robotic monotone, childlike curiosity.
50
50
 
51
- CAMERA: Cinematic terms — close-up, tracking shot, dolly in, handheld, slow arc, static frame. Describe movement relative to subject.
51
+ CAMERA: Cinematic terms at the pace the action implies — push-in, crash zoom, whip pan, tracking shot, handheld follow, orbit, close-up, static frame. Describe movement relative to subject.
52
52
 
53
53
  For specific characters (movies, TV): describe visual appearance — don't rely on names alone.
54
54
 
55
55
  For complex/creative scenes (characters, dialogue, skits): capture the full creative intent. The system auto-expands into a detailed prompt.
56
56
 
57
- AVOID: Vague prompts, too many characters at once, conflicting lighting logic, readable text or logos, abstract emotions with no visible behavior, rigid numeric constraints (exact angles, counts, speeds).
57
+ AVOID: Vague prompts, conflicting lighting logic, abstract emotions with no visible behavior, exact camera angles in degrees. Keep counts and speeds the user gives, and show speed as visible evidence.
58
58
 
59
- NON-SEEDANCE POSITIVE CONSTRAINTS: For videoModel="ltx25", "ltx23", or "wan22", prompt is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Preserve exact quoted visible text or dialogue when the user explicitly requests it; keep surrounding surfaces blank.
59
+ NON-SEEDANCE POSITIVE CONSTRAINTS: For videoModel="ltx25", "ltx23", or "wan22", prompt is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Preserve exact quoted visible text or dialogue when the user explicitly requests it.
60
60
 
61
61
  BATCH VARIATIONS: When numberOfVariations > 1, use Dynamic Prompt syntax. This is one Sogni project with multiple jobs, so prefer it when all outputs share the same references, model, duration, dimensions, and generation parameters and only prompt text varies. Lock in any camera/subject/style the user specified, vary the rest. Example: "slow dolly in on a city street {at dawn with golden light|during a rainstorm|at night with neon reflections}".
62
62
 
@@ -1 +1 @@
1
- {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/generate-video/definition.ts"],"names":[],"mappings":";;;AAMA,kEAKsC;AACtC,kFAYiD;AACjD,sDAAmE;AACnE,gFAAgF;AAChF,wEAAyF;AAUzF,MAAM,iBAAiB,GAAG;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,6BAA6B;IAC7B,oCAAoC;IACpC,gBAAgB;IAChB,sBAAsB;IACtB,uBAAuB;IACvB,gCAAgC;IAChC,6BAA6B;IAC7B,oCAAoC;CAC5B,CAAC;AAEE,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,gBAAgB;QACtB,WAAW,EACT,snLAAsnL;QACxnL,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE;;EAErB,oDAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B7B,qDAAmC,EAAE;iBAC9B;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,yDAAkC;iBAChD;gBACD,oBAAoB,EAAE;oBACpB,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,wEAAiD;iBAC/D;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,2bAA2b;oBAC7b,OAAO,EAAE,CAAC;oBACV,OAAO,EAAE,EAAE;iBACZ;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC;oBACvD,WAAW,EACT,qHAAqH;iBACxH;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,0EAA0E;iBACxF;gBACD,gBAAgB,EAAE;oBAChB,IAAI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,WAAW,EACT,4XAA4X;oBAC9X,OAAO,EAAE,CAAC;oBACV,OAAO,EAAE,EAAE;iBACZ;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,mCAAwB;iBACtC;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,+8BAA+8B;iBACl9B;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;oBACvC,WAAW,EACT,sJAAsJ,wCAAsB,OAAO,IAAA,qCAAmB,EAAC,iBAAiB,CAAC,OAAO,iDAA+B,EAAE;iBACpQ;gBACD,aAAa,EAAE;oBACb,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,kDAAgC;iBAC9C;aACF;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;CACF,CAAC;AAEF,kBAAU,CAAC,QAAQ,CAAC,WAAW,IAAI,IAAI,oDAA6B,EAAE,CAAC"}
1
+ {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/generate-video/definition.ts"],"names":[],"mappings":";;;AAMA,kEAKsC;AACtC,kFAYiD;AACjD,sDAAmE;AACnE,gFAAgF;AAChF,wEAAyF;AAUzF,MAAM,iBAAiB,GAAG;IACxB,gBAAgB;IAChB,sBAAsB;IACtB,6BAA6B;IAC7B,oCAAoC;IACpC,gBAAgB;IAChB,sBAAsB;IACtB,uBAAuB;IACvB,gCAAgC;IAChC,6BAA6B;IAC7B,oCAAoC;CAC5B,CAAC;AAEE,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,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;oBACvC,WAAW,EACT,sJAAsJ,wCAAsB,OAAO,IAAA,qCAAmB,EAAC,iBAAiB,CAAC,OAAO,iDAA+B,EAAE;iBACpQ;gBACD,aAAa,EAAE;oBACb,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,kDAAgC;iBAC9C;aACF;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;CACF,CAAC;AAEF,kBAAU,CAAC,QAAQ,CAAC,WAAW,IAAI,IAAI,oDAA6B,EAAE,CAAC"}
@@ -31,7 +31,7 @@ ${toolPromptMarkers_js_1.LITERAL_SEEDANCE_PROMPT_OVERRIDE}
31
31
 
32
32
  STRUCTURE: shot/style and scale → subject → environment, lighting, color, texture, atmosphere → visual action synced to audio → camera movement. For LTX 2.3 image+audio mode, do not re-describe static details already visible in the reference image; focus on motion, action, camera, and how the image responds to the audio.
33
33
 
34
- MOTION PACING: Scale complexity to duration. <=6s: 1 main visual beat + 1 simple camera move. Around 10s: 2-3 clear beats + 1 camera move. >10s: up to 4 beats in clear sequence. Let the audio define timing, but avoid stacking subject, camera, and environment motion in short clips.
34
+ MOTION PACING: Keep every visual beat the user names, in order, timed to the audio; when you add beats of your own, fewer clear beats read better than many.
35
35
 
36
36
  BLOCKING: Direct layout when it affects the shot: left/right placement, foreground/background, facing direction, and relative distance between subjects.
37
37
 
@@ -43,9 +43,9 @@ AUDIO-REACTIVE: Motion and visual changes that correspond to sounds in the track
43
43
 
44
44
  LTX VOCABULARY: camera (tracking, dolly, pan, tilt, handheld, static frame), lighting/atmosphere (golden hour, neon glow, dramatic shadows, fog, rain, smoke, reflections), scale/pacing (expansive, epic, intimate, claustrophobic, slow motion, time-lapse, lingering shot, continuous shot), style/genre (film noir, painterly, cyberpunk, stop-motion, claymation, 2D/3D animation, hand-drawn, fantasy, thriller, experimental film).
45
45
 
46
- AVOID: Vague prompts, too many competing visual elements, abstract descriptions without visible behavior, rigid numeric constraints, readable text or logos. QUOTING RULE: ONLY use double quotes for spoken dialogue. Never quote on-screen text, overlay text, titles, captions, signs, or any visual text — describe them without quotes.
46
+ AVOID: Vague prompts, abstract descriptions without visible behavior, exact camera angles in degrees. ON-SCREEN TEXT: Put text that must appear on screen in double quotes after "reads", e.g. a sign that reads "OPEN 24H"; mark spoken lines with a speaker and a verb of speech so the model can tell them from visible text. Include logos and readable text whenever the user asks for them.
47
47
 
48
- NON-SEEDANCE POSITIVE CONSTRAINTS: For ltx25-ia2v, ltx25-a2v, ltx23-ia2v, ltx23-a2v, and wan-s2v, prompt is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Preserve exact quoted visible text or dialogue when the user explicitly requests it; keep surrounding surfaces blank.
48
+ NON-SEEDANCE POSITIVE CONSTRAINTS: For ltx25-ia2v, ltx25-a2v, ltx23-ia2v, ltx23-a2v, and wan-s2v, prompt is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Preserve exact quoted visible text or dialogue when the user explicitly requests it.
49
49
 
50
50
  BATCH VARIATIONS: When numberOfVariations > 1, use Dynamic Prompt syntax to vary the visual interpretation while keeping audio sync intent consistent. This is one Sogni project with multiple jobs, so prefer it when all outputs share the same audio source/window, image source, model, duration, dimensions, and parameters and only prompt text varies. Example: "{abstract neon visualization|nature scene with swaying trees|urban street with rain} synced to the beat".
51
51
 
@@ -22,7 +22,7 @@ ${LITERAL_SEEDANCE_V2V_PROMPT_OVERRIDE}
22
22
  For LTX 2.5 or 2.3 canny/depth/pose modes, the source video preserves composition, depth, or motion. Spend prompt detail on style, atmosphere, lighting, surface texture, color palette, scale, and pacing. LTX 2.5 Fast, HQ, and Pro use the release-validated official Distilled workflow for canny/pose/depth/detailer/inpaint/outpaint; Dev is not publicly routed until upstream publishes and Sogni validates an official ComfyUI Dev recipe.
23
23
 
24
24
  Examples by mode:
25
- - animate-move (DEFAULT — WAN 2.2 Animate Move: applies camera/motion from source video to reference image): "Smooth cinematic camera movement following the subject through the scene."
25
+ - animate-move (DEFAULT — WAN 2.2 Animate Move: applies camera/motion from source video to reference image): "The camera follows the subject through the scene, matching the source video's motion."
26
26
  - animate-replace (WAN 2.2 Animate Replace: replaces the subject in the source video with the reference image): "The person from the reference photo performing the actions from the video."
27
27
  - canny (LTX 2.5 default; LTX 2.3 rollback — edge-detection restyle): "Hand-drawn watercolor anime style with soft ink edges, muted teal and coral palette, rain mist, neon reflections, warm rim light, preserving original silhouettes and composition."
28
28
  - pose (LTX 2.5 or LTX 2.3 — tracks skeleton and transfers the reference-image subject): "A glossy cartoon robot from the reference image performs the source video's motion, with brushed metal texture, glowing cyan joints, and energetic stage lighting." This mode requires a reference image as well as the source video.
@@ -34,7 +34,7 @@ Examples by mode:
34
34
 
35
35
  Present tense. Positive phrasing. Concrete visual details.
36
36
 
37
- NON-SEEDANCE POSITIVE CONSTRAINTS: For LTX 2.5, LTX 2.3, and WAN 2.2 modes, prompt is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Preserve exact quoted visible text when the user explicitly requests it; keep surrounding surfaces blank.
37
+ NON-SEEDANCE POSITIVE CONSTRAINTS: For LTX 2.5, LTX 2.3, and WAN 2.2 modes, prompt is a positive prompt. Translate user avoid/no/don't constraints into affirmative production constraints instead of copying negative phrasing. Preserve exact quoted visible text when the user explicitly requests it.
38
38
 
39
39
  BATCH VARIATIONS: When numberOfVariations > 1, use Dynamic Prompt syntax to vary the artistic treatment while keeping control mode and structural intent consistent. Example: "transform to {watercolor with soft edges|oil painting with bold strokes|anime with clean lines} style".
40
40
 
@@ -42,7 +42,7 @@ const ORBIT_VIDEO_CONTRACT = {
42
42
  };
43
43
  const ANIMATE_PHOTO_CONTRACT = {
44
44
  contractId: 'animate_photo_v1',
45
- version: '1.3.0',
45
+ version: '1.3.1',
46
46
  toolName: 'animate_photo',
47
47
  baseDescription: [
48
48
  'animate_photo produces video from one or more source images using LTX 2.5 by default,',
@@ -51,18 +51,17 @@ const ANIMATE_PHOTO_CONTRACT = {
51
51
  'first-and-last-frame generation. Wan 3 accepts one start frame and at most one end frame,',
52
52
  'renders 2-30 seconds at fixed 30 fps, and supports 480P/720P/1080P output with native audio.',
53
53
  '',
54
- 'VIDEO PROMPT QUOTING: In video prompts, ONLY use double quotes for spoken dialogue.',
55
- 'Speaker tags are allowed outside the quotes for screenplay-style dialogue, e.g.',
56
- 'CHARACTER: "We made it." Never put on-screen text, overlay text, titles, captions, signs,',
57
- 'watermarks, or any visual text in quotes — describe them without quotes (e.g. bold white text',
58
- 'reading CONGRATULATIONS overlays the lower third). Quotes signal speech to the model;',
59
- 'quoting non-speech text confuses audio generation.',
54
+ 'VIDEO PROMPT QUOTING: Mark every spoken line with its speaker and a verb of speech, or a',
55
+ 'speaker tag outside the quotes, e.g. CHARACTER: "We made it." Put text that must appear on',
56
+ 'screen in double quotes after "reads", e.g. a sign that reads "OPEN 24H", so the model can',
57
+ 'tell it from speech. Include logos and readable text whenever the user asks for them.',
60
58
  '',
61
59
  'DIALOGUE DURATION: Spoken dialogue in video prompts must fit the clip duration. Estimate',
62
60
  'at 3 words per second for natural cinematic delivery, plus ~1 second per acting beat',
63
61
  '(pauses, gestures, glances between lines). If the user did NOT explicitly request a specific',
64
62
  'duration (using default 5s), extend the duration to fit the dialogue (max 20s). If the user',
65
- 'explicitly requested a specific duration, condense the dialogue to fit while preserving meaning.',
63
+ 'fixed the duration and their own words do not fit, keep every word: tell the user the line',
64
+ 'needs about N seconds and offer to lengthen the clip or split it. Shorten only lines you wrote.',
66
65
  'Check: total dialogue words ÷ 3 + beat count ≤ clip duration.',
67
66
  '',
68
67
  'LATEST GENERATED IMAGE FOLLOW-UP: When the newest user turn asks to animate, make a video,',
@@ -76,8 +75,9 @@ const ANIMATE_PHOTO_CONTRACT = {
76
75
  '— there is NO auto-trim, so plan dialogue lengths up-front. Hard maximum is 3.75 spoken',
77
76
  'words per second. Ceilings: 5s = 18 words, 6s = 22 words, 8s = 30 words, 10s = 37 words,',
78
77
  '15s = 56 words, 20s = 75 words. Aim below these ceilings. If a scene\'s dialogue won\'t fit,',
79
- 'tighten the lines, raise the per-clip duration, or split into two segments — do NOT submit',
80
- 'and hope it works. Spoken words inside double quotes count toward the budget; speaker tags',
78
+ 'raise the per-clip duration or split it across segments, keeping the user\'s words verbatim',
79
+ '(shorten only lines you wrote) — do NOT submit and hope it works. Spoken words inside double',
80
+ 'quotes count toward the budget; speaker tags',
81
81
  'and visual/action prose are free.',
82
82
  '',
83
83
  'BATCH VIDEO PER-CLIP DURATION: For a multi-segment animate_photo batch',
@@ -87,8 +87,10 @@ const ANIMATE_PHOTO_CONTRACT = {
87
87
  'batch cap: sourceImageIndices supports up to 16 clips, so keep one planned batch together',
88
88
  'unless the user explicitly wants isolated projects or per-output settings require it.',
89
89
  'Do NOT split a planned 15s dialogue scene into multiple',
90
- 'shorter clips just because a retry complains about word budget; keep duration=15 and tighten',
91
- 'the line. Use 5s clips only for single short motion beats or one very short spoken phrase.',
90
+ 'shorter clips just because a retry complains about word budget; keep duration=15 and shorten',
91
+ 'only lines you wrote. A user\'s own line keeps its words: raise the duration (up to 20s) or',
92
+ 'tell the user it needs about N seconds. Use 5s clips only for single short motion beats or one',
93
+ 'very short spoken phrase.',
92
94
  'If the user explicitly specifies a per-clip duration, honor that instead.',
93
95
  '',
94
96
  'N-VERSIONS-OF-A-VIDEO PATTERN: Avoid sequential animate_photo calls for N outputs.',
@@ -148,14 +150,14 @@ const ANIMATE_PHOTO_CONTRACT = {
148
150
  '"use the uploaded image as the source frame", "follow the user request", or "make this clip',
149
151
  'distinct"; the attached first/last-frame image is already wired through arguments.',
150
152
  'Keep explicit shared constraints outside the branch before "{...}" and honor them inside every',
151
- 'option: locked/static camera, subtle motion, consistent flames/embers, and silent expression-only',
153
+ 'option, such as a locked/static camera, a set pace, the same wardrobe, or silent expression-only',
152
154
  'physical performance when requested. Non-speaking expressions such as yawns, smiles, kisses, or shy',
153
155
  'mouth-covering gestures are acceptable when they are the requested physical performance; do not',
154
156
  'turn them into speech, singing, or dialogue-like lip motion.',
155
157
  'If the user gives avoid/no/don\'t constraints for a Dynamic Prompt batch, the shared prefix before',
156
158
  'the branch must include their positive equivalents, such as single-subject empty background, clean',
157
159
  'blank surfaces, crisp sharp focus, same room/layout continuity, silent expression-only physical',
158
- 'performance, consistent flame/ember motion, and natural anatomically consistent hands. Do not place',
160
+ 'performance, and natural anatomically consistent hands. Do not place',
159
161
  'those constraints only in negativePrompt or omit them from prompt.',
160
162
  'For videoModel="wan22", write motion-only visual prompts. WAN 2.2 does not generate audio,',
161
163
  'so omit soundtrack, ambience, room tone, music, hums, sighs, spoken words, voice, and SFX cues.',
@@ -165,7 +167,7 @@ const ANIMATE_PHOTO_CONTRACT = {
165
167
  'background; "no text" -> clean blank surfaces; "don\'t make it blurry" -> crisp sharp focus;',
166
168
  '"no weird hands" -> natural anatomically consistent hands; "don\'t change the room" -> the same',
167
169
  'room and layout remain consistent. Preserve exact quoted visible text or dialogue when the user',
168
- 'explicitly requests it, and keep surrounding surfaces blank.',
170
+ 'explicitly requests it.',
169
171
  '',
170
172
  'UPLOADED REFERENCE LOOPED SCRIPTED SKITS: When the user supplies one uploaded reference image',
171
173
  'and asks for several scripted/storyboard/dialogue segments to reuse that same image as BOTH',
@@ -228,7 +230,7 @@ const ANIMATE_PHOTO_CONTRACT = {
228
230
  };
229
231
  const GENERATE_VIDEO_CONTRACT = {
230
232
  contractId: 'generate_video_v1',
231
- version: '1.6.1',
233
+ version: '1.6.2',
232
234
  toolName: 'generate_video',
233
235
  baseDescription: [
234
236
  'generate_video produces text-to-video clips and multimodal reference videos.',
@@ -276,16 +278,18 @@ const GENERATE_VIDEO_CONTRACT = {
276
278
  '',
277
279
  'STORYTELLING / COMMERCIAL / TRAILER PROMPTS: For creative video requests, turn the brief',
278
280
  'into timed, causally connected visual beats before writing the final prompt. Default social',
279
- 'video is 15s 9:16 with a strong first 1-2s, visible escalation, payoff, and brand/CTA/final',
280
- 'image. Commercials should show audience desire/problem, transformation, proof/benefit, and',
281
- 'CTA. Trailers should follow hook → world → disruption → escalation → reveal → title/CTA.',
281
+ 'video is 15s with a strong first 1-2s, visible escalation, and payoff; use 9:16 only when the',
282
+ 'user names a vertical platform or ratio. Commercials should show audience desire/problem,',
283
+ 'transformation, and proof/benefit. Trailers should follow hook → world → disruption →',
284
+ 'escalation → reveal. Add a CTA, brand beat, or title card only when the user asked for one or',
285
+ 'the brief names a product or brand to sell.',
282
286
  'Every beat must be generatable: subject, setting, action, camera, lighting, audio, and text',
283
287
  'role where relevant. Avoid vague "cinematic" filler, feature dumps, and beautiful images with',
284
288
  'no visible change.',
285
289
  '',
286
- 'VIDEO PROMPT QUOTING: ONLY use double quotes for spoken dialogue in video prompts. Never',
287
- 'quote on-screen text, titles, captions, or visual text elements — describe them without',
288
- 'quotes. Quotes signal speech to the model and confuse audio generation.',
290
+ 'VIDEO PROMPT QUOTING: Mark every spoken line with its speaker and a verb of speech. Put text',
291
+ 'that must appear on screen in double quotes after "reads", e.g. a sign that reads "OPEN 24H".',
292
+ 'Include logos and readable text whenever the user asks for them.',
289
293
  '',
290
294
  'STORYBOARD TEXT: Structural headings, section numbers, slide titles, panel titles, and',
291
295
  'captions in storyboard references may become short audio-only narration/VO or',
@@ -341,7 +345,7 @@ const GENERATE_VIDEO_CONTRACT = {
341
345
  ].join('\n'),
342
346
  parameterDocs: {
343
347
  keyframes: MINIMAX_H3_KEYFRAMES_GENERATE_VIDEO_DESCRIPTION,
344
- prompt: 'Video prompt. Use double quotes ONLY for spoken dialogue. Describe visual text without quotes.',
348
+ prompt: 'Video prompt. Quote spoken lines with their speaker; quote on-screen text after "reads".',
345
349
  duration: 'Clip duration in seconds. Plan dialogue word count against the 3.75 words/second ceiling.',
346
350
  },
347
351
  };
@@ -450,7 +454,7 @@ const EDIT_IMAGE_CONTRACT = {
450
454
  };
451
455
  const GENERATE_IMAGE_CONTRACT = {
452
456
  contractId: 'generate_image_v1',
453
- version: '1.1.0',
457
+ version: '1.1.1',
454
458
  toolName: 'generate_image',
455
459
  baseDescription: [
456
460
  'generate_image creates images from text descriptions. Use for text-only image generation;',
@@ -563,8 +567,10 @@ const GENERATE_IMAGE_CONTRACT = {
563
567
  'panel immediately legible. Preserve the user\'s requested tone and audience. Use concrete',
564
568
  'composition, persona, product/brand role, caption placement, readable required text, and a',
565
569
  'clear visual transformation or punchline. For provocative adult social content, keep subjects',
566
- 'clearly adult and consensual, PG-13/non-explicit, and avoid minor-coded styling or school-coded',
567
- 'settings while still optimizing visual magnet, persona, caption bait, and replay/comment value.',
570
+ 'clearly adult and consensual, avoid minor-coded styling or school-coded settings, and keep it',
571
+ 'PG-13/non-explicit unless a CONTENT POLICY section in the system prompt states that Unrestricted',
572
+ 'mode is active; then follow that section instead of the PG-13 limit. Still optimize visual',
573
+ 'magnet, persona, caption bait, and replay/comment value.',
568
574
  '',
569
575
  'GPT IMAGE STORYBOARD SHEET → SEEDANCE AUTO-PROCEED: If the user asks to run the whole',
570
576
  'GPT Image storyboard/keyframe sheet plus Seedance workflow without approval, the FIRST',
@@ -1394,7 +1400,7 @@ const ASK_CLARIFYING_QUESTION_CONTRACT = {
1394
1400
  };
1395
1401
  const FINALIZE_RESPONSE_CONTRACT = {
1396
1402
  contractId: 'finalize_response_v1',
1397
- version: '1.1.0',
1403
+ version: '1.1.1',
1398
1404
  toolName: 'finalize_response',
1399
1405
  baseDescription: [
1400
1406
  'finalize_response marks the turn complete and stops the tool loop. Use after the requested',
@@ -1403,7 +1409,8 @@ const FINALIZE_RESPONSE_CONTRACT = {
1403
1409
  'When the user asked for a script, storyboard, ad concept, trailer, creator video, meme/parody,',
1404
1410
  'or music prompt and no media tool is required, deliver the final creative in a clean Markdown',
1405
1411
  'contract: title, concept/objective, audience if relevant, timed beats or script, audio/text',
1406
- 'notes, generation prompt(s), CTA, and brief assumptions. For revisions, apply the feedback',
1412
+ 'notes, generation prompt(s), a CTA only when the user asked for one or the brief sells',
1413
+ 'something, and brief assumptions. For revisions, apply the feedback',
1407
1414
  'directly while preserving approved elements and rejected constraints.',
1408
1415
  '',
1409
1416
  'Do not call any other tool after finalize_response. Keep the summary short and grounded in',