@sogni-ai/sogni-protocol 1.0.0-alpha.25 → 1.0.0-alpha.28
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/manifests/composition-tools.json +11 -11
- package/manifests/generation-tools.json +292 -73
- package/manifests/openai-tools.json +253 -70
- package/package.json +1 -1
- package/prompts/tools/compose_script.json +2 -2
- package/prompts/tools/enhance_prompt.json +9 -9
- package/schemas/tools/animate_photo.schema.json +59 -19
- package/schemas/tools/compose_script.schema.json +1 -1
- package/schemas/tools/enhance_prompt.schema.json +11 -11
- package/schemas/tools/generate_video.schema.json +66 -18
- package/schemas/tools/sound_to_video.schema.json +41 -12
- package/schemas/tools/video_to_video.schema.json +79 -13
- package/version.json +1 -1
|
@@ -12,26 +12,26 @@
|
|
|
12
12
|
"type": "function",
|
|
13
13
|
"function": {
|
|
14
14
|
"name": "enhance_prompt",
|
|
15
|
-
"description": "
|
|
15
|
+
"description": "Author or adapt a directly runnable image, video, or image-edit prompt in an exact active model's native format. Use this when the requested text deliverable is explicitly a prompt for a named media model, including a commercial prompt; always pass destination_model and the matching target_output. Unknown, sunset, or omitted models fail closed. Do not use for lyrics, music composition, screenplays, storyboards, treatments, or ad scripts.",
|
|
16
16
|
"parameters": {
|
|
17
17
|
"type": "object",
|
|
18
18
|
"additionalProperties": false,
|
|
19
|
-
"required": ["prompt"],
|
|
19
|
+
"required": ["prompt", "target_output", "destination_model"],
|
|
20
20
|
"properties": {
|
|
21
21
|
"prompt": { "type": "string", "description": "The source prompt, rough idea, or prompt revision request to enhance." },
|
|
22
|
-
"target_output": { "type": "string", "enum": ["image_prompt", "video_prompt", "
|
|
23
|
-
"destination_model": { "type": "string", "description": "
|
|
24
|
-
"destination_tool": { "type": "string", "description": "Optional downstream generation tool, such as generate_image, edit_image, generate_video, animate_photo, sound_to_video,
|
|
25
|
-
"prompting_type": { "type": "string", "enum": ["flux", "sdxl", "sd15", "pony", "fast", "sd3", "editing", "video"], "description": "
|
|
26
|
-
"model_title": { "type": "string", "description": "
|
|
22
|
+
"target_output": { "type": "string", "enum": ["image_prompt", "video_prompt", "edit_prompt", "model_prompt"], "description": "The model-specific prompt artifact to produce. Use model_prompt only when destination_model unambiguously identifies the modality." },
|
|
23
|
+
"destination_model": { "type": "string", "description": "Required exact active destination model selector, such as seedance2, ltx25, ltx23, wan22, minimax-h3-turbo, qwen, gpt-image-2, krea-2-turbo, chroma-v46-flash, or sdxl. Unknown and sunset models fail closed." },
|
|
24
|
+
"destination_tool": { "type": "string", "description": "Optional downstream generation tool, such as generate_image, edit_image, generate_video, animate_photo, sound_to_video, or video_to_video." },
|
|
25
|
+
"prompting_type": { "type": "string", "enum": ["flux", "sdxl", "sd15", "pony", "fast", "sd3", "editing", "video"], "description": "Deprecated compatibility metadata. It never selects or overrides the prompt grammar; destination_model is authoritative." },
|
|
26
|
+
"model_title": { "type": "string", "description": "Deprecated compatibility label. It never selects or overrides the prompt grammar; destination_model is authoritative." },
|
|
27
27
|
"style_prompt": { "type": "string", "description": "Optional current style, brand, or prompt context to complement without repeating." },
|
|
28
28
|
"prompt_mode": { "type": "string", "enum": ["auto", "preserve", "expand", "compress", "validate", "payload"], "description": "Optional model prompt adaptation mode." },
|
|
29
|
-
"duration_seconds": { "type": "number", "minimum": 1, "maximum": 300, "description": "Requested runtime when
|
|
29
|
+
"duration_seconds": { "type": "number", "minimum": 1, "maximum": 300, "description": "Requested runtime when authoring a video prompt." },
|
|
30
30
|
"aspect_ratio": { "type": "string", "description": "Optional target aspect ratio, such as 16:9, 9:16, 1:1, 4:5, or 21:9." },
|
|
31
31
|
"assets": {
|
|
32
32
|
"type": "array",
|
|
33
|
-
"maxItems":
|
|
34
|
-
"description": "Optional available assets the
|
|
33
|
+
"maxItems": 50,
|
|
34
|
+
"description": "Optional available assets the authored prompt may reference. The selected exact model contract applies its per-modality and total limits.",
|
|
35
35
|
"items": {
|
|
36
36
|
"type": "object",
|
|
37
37
|
"additionalProperties": false,
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"type": "function",
|
|
90
90
|
"function": {
|
|
91
91
|
"name": "compose_script",
|
|
92
|
-
"description": "Compose scripts, storyboards,
|
|
92
|
+
"description": "Compose scripts, screenplays, storyboards, treatments, ad concepts, trailers, social shorts, campaign beats, and talking-head plans. Use for creative-writing artifacts that are not directly runnable model prompts. When the user explicitly asks for a prompt for a named image or video model, use enhance_prompt instead, even if the prompt is for a commercial. Do not use for lyrics.",
|
|
93
93
|
"parameters": {
|
|
94
94
|
"type": "object",
|
|
95
95
|
"additionalProperties": false,
|