@sogni-ai/sogni-intelligence-client 4.19.0 → 4.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/data/gatingPolicies.d.ts.map +1 -1
- package/dist/contracts/data/gatingPolicies.js +7 -4
- package/dist/contracts/data/gatingPolicies.js.map +1 -1
- package/dist/contracts/data/promptContracts.d.ts.map +1 -1
- package/dist/contracts/data/promptContracts.js +51 -28
- package/dist/contracts/data/promptContracts.js.map +1 -1
- package/dist/media/index.d.ts +2 -0
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +2 -0
- package/dist/media/index.js.map +1 -1
- package/dist/media/personaCharacterSheet.d.ts +80 -0
- package/dist/media/personaCharacterSheet.d.ts.map +1 -0
- package/dist/media/personaCharacterSheet.js +177 -0
- package/dist/media/personaCharacterSheet.js.map +1 -0
- package/dist/media/personaReferences.d.ts +70 -0
- package/dist/media/personaReferences.d.ts.map +1 -0
- package/dist/media/personaReferences.js +206 -0
- package/dist/media/personaReferences.js.map +1 -0
- package/dist/public-skill-runtime/index.d.ts.map +1 -1
- package/dist/public-skill-runtime/index.js +2 -1
- package/dist/public-skill-runtime/index.js.map +1 -1
- package/dist/tools/definitions/animate-photo/definition.js +2 -2
- package/dist/tools/definitions/animate-photo/definition.js.map +1 -1
- package/dist/tools/definitions/generate-speech/definition.js +4 -4
- package/dist/tools/definitions/generate-speech/definition.js.map +1 -1
- package/dist/tools/definitions/generate-video/definition.js +3 -3
- package/dist/tools/definitions/generate-video/definition.js.map +1 -1
- package/dist/tools/shared/seedancePolicyErrors.d.ts.map +1 -1
- package/dist/tools/shared/seedancePolicyErrors.js +62 -10
- package/dist/tools/shared/seedancePolicyErrors.js.map +1 -1
- package/dist-esm/contracts/data/gatingPolicies.js +7 -4
- package/dist-esm/contracts/data/gatingPolicies.js.map +1 -1
- package/dist-esm/contracts/data/promptContracts.js +51 -28
- package/dist-esm/contracts/data/promptContracts.js.map +1 -1
- package/dist-esm/media/index.js +2 -0
- package/dist-esm/media/index.js.map +1 -1
- package/dist-esm/media/personaCharacterSheet.js +166 -0
- package/dist-esm/media/personaCharacterSheet.js.map +1 -0
- package/dist-esm/media/personaReferences.js +187 -0
- package/dist-esm/media/personaReferences.js.map +1 -0
- package/dist-esm/public-skill-runtime/index.js +2 -1
- package/dist-esm/public-skill-runtime/index.js.map +1 -1
- package/dist-esm/tools/definitions/animate-photo/definition.js +2 -2
- package/dist-esm/tools/definitions/animate-photo/definition.js.map +1 -1
- package/dist-esm/tools/definitions/generate-speech/definition.js +4 -4
- package/dist-esm/tools/definitions/generate-speech/definition.js.map +1 -1
- package/dist-esm/tools/definitions/generate-video/definition.js +3 -3
- package/dist-esm/tools/definitions/generate-video/definition.js.map +1 -1
- package/dist-esm/tools/shared/seedancePolicyErrors.js +62 -10
- package/dist-esm/tools/shared/seedancePolicyErrors.js.map +1 -1
- package/package.json +2 -2
|
@@ -808,11 +808,12 @@ exports.VIDEO_GENERATION_SKILL = {
|
|
|
808
808
|
description: 'Text-to-video synthesis with LTX, Wan, Seedance, HappyHorse, and MiniMax H3, including Seedance 2.5 Uncensored, Seedance 2.0 Mini Uncensored and Wan 3.0 Enhanced through MuleRouter. Use when the user wants a new video clip generated from a prompt or loose reference set.',
|
|
809
809
|
toolNames: ['generate_video'],
|
|
810
810
|
constraints: [
|
|
811
|
-
'For My Personas video requests, default to image_editing first to produce a conditioned scene image before animation
|
|
811
|
+
'For My Personas video requests on MiniMax H3 reference-to-video, Seedance or Wan 3, pass the resolved persona reference images straight to generate_video as references, each clip with its own, and bind each persona to its images with the model\'s tokens. On other video models, default to image_editing first to produce a conditioned scene image before animation; use direct video only when the user explicitly asks to animate an existing persona image/reference or no source image is available for a voice-only request.',
|
|
812
812
|
'Seedance 2.5 Uncensored uses selector seedance2-5-uncensored (Sogni model id seedance-2-5-uncensored): the same modes, 480p/720p/1080p, 4-30 seconds at 24 fps, reference limits, MOV and last-frame options as seedance2-5. Use it only when the user asks for Seedance 2.5 Uncensored, Seedance Uncensored, or Seedance Spicy, and never swap it for seedance2-5. Each account must accept a one-time likeness and consent agreement in the Sogni app first; error 4103 means it has not, so tell the user to accept it there and do not retry.',
|
|
813
813
|
'Every regular Seedance model (seedance2-5, seedance2, seedance2-mini) takes photos and clips of real people once the account has accepted that same one-time likeness agreement, and never requires it otherwise. When one of them refuses an input because it may contain a real person, first offer the agreement (the user accepts it once in the Sogni app at the link the refusal names, e.g. https://app.sogni.ai/account/model-consents/seedance-2-5) and, after the user says they accepted it, retry the same request on the same model at its regular price; then offer the Uncensored model the refusal suggests, then MiniMax H3. When the context says the user has an active Sogni Unlimited plan, offer MiniMax H3 first instead (it is included with Unlimited), then the agreement and the same-model retry, then the Uncensored model.',
|
|
814
814
|
'Seedance 2.0 Mini Uncensored uses selector seedance2-mini-uncensored (Sogni model id seedance-2-0-mini-uncensored): the same modes, 480p/720p, 4-15 seconds at 24 fps and reference limits as seedance2-mini. Use it only when the user asks for Seedance 2.0 Mini Uncensored, Seedance Mini Uncensored, or Seedance Mini Spicy, and never swap it for seedance2-mini or seedance2-5-uncensored. It shares the Seedance 2.5 Uncensored likeness and consent agreement, so error 4103 means the account has not accepted it: tell the user to accept it in the Sogni app and do not retry.',
|
|
815
815
|
'Wan 3.0 Enhanced uses exact Sogni model id wan3.0-spicy-video (MuleRouter provider id w3.0-video): 2-30 seconds at 30 fps, 480p/720p/1080p, native audio, prompt expansion, adaptive/fixed ratios, and up to 10 image/5 video/5 audio references. First/last-frame mode and loose-reference mode are mutually exclusive. It has no document/web context, watermark, negative prompt, source-video edit, or extend mode.',
|
|
816
|
+
'Prefer FastH3 Omni R2V (minimax-h3-fasth3-r2v-turbo) for MiniMax reference-to-video. For two-stage, 1080p or 2K output, prefer minimax-h3-fasth3-r2v-turbo-2stage. Use Standard, Balanced, or LightX2V Turbo R2V only when explicitly requested.',
|
|
816
817
|
'MiniMax H3 two-stage: 1080p and 2K H3 delivery is its own selector, not an option. minimax-h3-fasth3-t2v-turbo-2stage on generate_video (animate_photo carries minimax-h3-fasth3-i2v-turbo-2stage and minimax-h3-fasth3-flf2v-turbo-2stage) renders the FastH3 canvas, then the worker enlarges it 2x and refines it, so the clip is delivered at twice the canvas with the same length and audio. targetResolution names the delivered class: 1080 renders a 544px short-edge canvas (960x544 becomes 1920x1088) for 10 Spark per second, 1440 or omitted renders the 768p canvas for 2K (1344x768 becomes 2688x1536) for 16 Spark per second, and 720 renders a 384px canvas (672x384 becomes 1344x768) for the regular FastH3 price of 4 Spark per second. Choose it when the user asks for 1080p, 1440p or 2K H3 output, for two-stage output, or for the sharpest/best H3 quality, and send the same prompt contract, durations and LoRAs as the matching FastH3 selector; keep ordinary 768p FastH3 output on the regular FastH3 selector at targetResolution 768. Reference-to-video has its own two-stage selectors on generate_video: minimax-h3-r2v-2stage (Standard, 20 steps) and minimax-h3-r2v-balanced-2stage (Balanced, 8 steps) take exactly the references, prompt contract, durations and LoRAs of minimax-h3-r2v and minimax-h3-r2v-balanced, deliver twice the canvas, and read targetResolution the same way; each bills its tier\'s rate plus the two-stage surcharge of the delivered class. Keep the one-stage R2V selectors for ordinary 768p output. FastH3 Reference is the FastH3 tier\'s reference-to-video: minimax-h3-fasth3-r2v-turbo takes the same references, prompt contract, durations, catalog LoRAs and Personal LoRAs as minimax-h3-r2v, and minimax-h3-fasth3-r2v-turbo-2stage is its two-stage form, read the same way.',
|
|
817
818
|
`${toolPromptMarkers_js_1.MINIMAX_H3_KEYFRAMES_GUIDANCE} On generate_video only the MiniMax H3 reference-to-video selectors take keyframes, never text-to-video; the keyframe images are not references and do not go in referenceImageIndices.`,
|
|
818
819
|
],
|