Squall Studio

Read, edit and generate AI microdrama scripts, shots, characters and video in Squall Studio

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
95%
Integridad del esquema
97%
Calidad de los nombres
96%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (5)

  • LOWTool 'list_shot_continuity_references' name length outside 3-30 rangeen list_shot_continuity_references
  • LOWTool 'upload_shot_continuity_reference' name length outside 3-30 rangeen upload_shot_continuity_reference
  • LOWTool 'attach_shot_continuity_reference' name length outside 3-30 rangeen attach_shot_continuity_reference
  • LOWTool 'update_shot_continuity_reference' name length outside 3-30 rangeen update_shot_continuity_reference
  • LOWTool 'remove_shot_continuity_reference' name length outside 3-30 rangeen remove_shot_continuity_reference

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~6,412Tokens (definiciones de herramientas)
~1.8 KBTamaño de respuesta típico
Impacto significativo en la atención (5.01% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "squall-studio": {
      "url": "https://squallstudio.com/api/mcp"
    }
  }
}

Puntos de conexión remotos

https://squallstudio.com/api/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (30)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢list_projects

List all projects owned by the authenticated user.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_project(project_id)

Get one project's summary and current workflow step.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    }
  },
  "required": [
    "project_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_project_episodes(project_id)

List the episodes in a project.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    }
  },
  "required": [
    "project_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_episode(episode_id)

Get one episode record.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "episode_id": {
      "type": "string",
      "description": "Episode id."
    }
  },
  "required": [
    "episode_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_episode_editor(project_id, episode_id)

Get the full episode tree in one call: project, episode, outline, script, segments, shots, characters, looks, locations and jobs. Prefer this over several narrower calls.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    },
    "episode_id": {
      "type": "string",
      "description": "Episode id."
    }
  },
  "required": [
    "project_id",
    "episode_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_episode_shots(episode_id)

List the shots in an episode.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "episode_id": {
      "type": "string",
      "description": "Episode id."
    }
  },
  "required": [
    "episode_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_episode_segments(episode_id)

List the video segments in an episode.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "episode_id": {
      "type": "string",
      "description": "Episode id."
    }
  },
  "required": [
    "episode_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_scene_assets(project_id, episode_id, scene_number)

Get one scene with its shots, characters, locations and continuity references.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    },
    "episode_id": {
      "type": "string",
      "description": "Episode id."
    },
    "scene_number": {
      "type": "integer",
      "description": "Scene number."
    }
  },
  "required": [
    "project_id",
    "episode_id",
    "scene_number"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_project_script(project_id)

Get a project's full script package.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    }
  },
  "required": [
    "project_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_project_characters(project_id)

List a project's characters.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    }
  },
  "required": [
    "project_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_character(character_id)

Get one character record.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "character_id": {
      "type": "string",
      "description": "Character id."
    }
  },
  "required": [
    "character_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_character_looks(character_id)

List a character's looks.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "character_id": {
      "type": "string",
      "description": "Character id."
    }
  },
  "required": [
    "character_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_project_locations(project_id)

List a project's locations.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    }
  },
  "required": [
    "project_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_location(location_id)

Get one location record.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "location_id": {
      "type": "string",
      "description": "Location id."
    }
  },
  "required": [
    "location_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_asset_library(project_id)

List generated assets available to a project.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    }
  },
  "required": [
    "project_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_job(job_id)

Get one generation job's status and output. Use this to poll a job returned by a generate_* tool.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "job_id": {
      "type": "string",
      "description": "Job id."
    }
  },
  "required": [
    "job_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_project_jobs(project_id)

List generation jobs for a project, newest first.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    }
  },
  "required": [
    "project_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_shot_continuity_references(shot_id)

List the continuity reference images attached to one shot. get_scene_assets also returns these, but only for a whole scene — use this when you need the asset ids, for example to remove one or update its guidance. Each reference's saved guidance is in metadata.continuityGuidance.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id (episode_shots row)."
    }
  },
  "required": [
    "shot_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡generate_script(story_idea, episode_length_seconds, episode_count, screen_ratio, genre, ...)

Write a full multi-episode script from a story premise. This CREATES A NEW PROJECT — it does not edit an existing one, and it takes no project_id. While the job runs, job.output carries live progress (phase, completedEpisodes, totalEpisodes). On success the new project also has its characters, locations, episodes, shots and segments seeded, ready for the other tools. Spends credits. Returns a job id — poll it with get_job.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "story_idea": {
      "type": "string",
      "minLength": 10,
      "description": "The story premise to write from."
    },
    "episode_length_seconds": {
      "anyOf": [
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 600
        },
        {
          "type": "null"
        }
      ],
      "description": "Target length of each episode, in seconds. null to let the model choose."
    },
    "episode_count": {
      "anyOf": [
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 3
        },
        {
          "type": "null"
        }
      ],
      "default": 3,
      "description": "How many episodes to write. null to let the model choose."
    },
    "screen_ratio": {
      "type": "string",
      "enum": [
        "9:16",
        "16:9",
        "1:1"
      ],
      "default": "9:16",
      "description": "Aspect ratio."
    },
    "genre": {
      "type": "string",
      "minLength": 1,
      "default": "Vertical Drama",
      "description": "Genre label."
    },
    "target_platform": {
      "type": "string",
      "enum": [
        "TikTok",
        "Reels",
        "YouTube Shorts"
      ],
      "default": "TikTok",
      "description": "Platform the episodes are cut for."
    },
    "language": {
      "type": "string",
      "minLength": 1,
      "default": "English",
      "description": "Language to write in."
    },
    "visual_style": {
      "type": "string",
      "enum": [
        "Realistic TV Drama",
        "Cinematic Romance",
        "2D Anime",
        "3D Animated",
        "Dark Thriller"
      ],
      "description": "Visual style. Defaults to Realistic TV Drama."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Stable key identifying this generation request. Reuse the SAME key when retrying the same request — the original job is returned and no second charge is made. Use a NEW key when you deliberately want another generation."
    }
  },
  "required": [
    "story_idea",
    "episode_length_seconds",
    "idempotency_key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢generate_shot_clip(shot_id, model, short_shot_number, idempotency_key)

Generate a video clip for a single shot (episode_shots row). Spends credits. Returns a job id — poll it with get_job.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id."
    },
    "model": {
      "type": "string",
      "description": "Video model override."
    },
    "short_shot_number": {
      "type": "integer",
      "description": "Target a specific short shot."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Stable key identifying this generation request. Reuse the SAME key when retrying the same request — the original job is returned and no second charge is made. Use a NEW key when you deliberately want another generation."
    }
  },
  "required": [
    "shot_id",
    "idempotency_key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢generate_character_image(character_id, character_look_id, reference_image_asset_ids, user_notes, idempotency_key)

Generate a reference image for a character. Spends credits. Returns a job id — poll it with get_job.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "character_id": {
      "type": "string",
      "description": "Character id."
    },
    "character_look_id": {
      "type": "string",
      "description": "Specific look; defaults to the base look."
    },
    "reference_image_asset_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Existing asset ids to use as references."
    },
    "user_notes": {
      "type": "string",
      "description": "Extra direction for the image."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Stable key identifying this generation request. Reuse the SAME key when retrying the same request — the original job is returned and no second charge is made. Use a NEW key when you deliberately want another generation."
    }
  },
  "required": [
    "character_id",
    "idempotency_key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢generate_location_image(location_id, reference_image_asset_ids, user_notes, idempotency_key)

Generate a reference image for a location. Spends credits. Returns a job id — poll it with get_job.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "location_id": {
      "type": "string",
      "description": "Location id."
    },
    "reference_image_asset_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "user_notes": {
      "type": "string"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Stable key identifying this generation request. Reuse the SAME key when retrying the same request — the original job is returned and no second charge is made. Use a NEW key when you deliberately want another generation."
    }
  },
  "required": [
    "location_id",
    "idempotency_key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡generate_shot_background_image(shot_id, short_shot_number, reference_image_asset_ids, reference_images_base64, idempotency_key)

Generate an empty background plate for one short shot. Both reference inputs steer what the plate itself looks like — layout, prop identity, materials and lighting — and are unrelated to upload_shot_continuity_reference, which guides clip generation instead. Use reference_image_asset_ids for images already in this project (find them with get_asset_library) and reference_images_base64 to send bytes you produced locally, for example a frame lifted from an earlier scene so a prop matches what is already on screen. Uploaded bytes are used for this one generation and are not kept as project assets. The location's own reference images are always included on top of both. Spends credits. Returns a job id — poll it with get_job.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id."
    },
    "short_shot_number": {
      "type": "integer",
      "description": "Short shot number within the shot."
    },
    "reference_image_asset_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "reference_images_base64": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "File name to send it under, e.g. scene-1-radio-prop.jpg."
          },
          "image_base64": {
            "type": "string",
            "minLength": 1,
            "maxLength": 34000000,
            "description": "The image bytes, base64-encoded. No data: URI prefix."
          }
        },
        "required": [
          "filename",
          "image_base64"
        ],
        "additionalProperties": false
      },
      "maxItems": 3,
      "description": "Images to send as bytes. PNG, JPEG and WebP only; the bytes are sniffed, so the filename extension alone will not get a non-image through. Keep them small — a 720x1280 JPEG is roughly 40-130KB of base64."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Stable key identifying this generation request. Reuse the SAME key when retrying the same request — the original job is returned and no second charge is made. Use a NEW key when you deliberately want another generation."
    }
  },
  "required": [
    "shot_id",
    "short_shot_number",
    "idempotency_key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢generate_episode_music(episode_id, idempotency_key)

Generate a background music track for an episode. Requires the episode to already have an assembled video. Spends credits. Returns a job id — poll it with get_job.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "episode_id": {
      "type": "string",
      "description": "Episode id."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Stable key identifying this generation request. Reuse the SAME key when retrying the same request — the original job is returned and no second charge is made. Use a NEW key when you deliberately want another generation."
    }
  },
  "required": [
    "episode_id",
    "idempotency_key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴update_shot(shot_id, patch)

Overwrite fields on one shot. Read the shot first (get_episode_shots or get_episode_editor), decide the change yourself, then send ONLY the fields you changed — omitted fields are left untouched. To change dialogue, edit camera_setup.short_shots[].dialogue_covered; never send the deprecated `dialogue` field, which can duplicate or resurrect lines. This writes immediately and cannot be undone.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id (episode_shots row) to update."
    },
    "patch": {
      "type": "object",
      "properties": {
        "title": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "script_text": {
          "type": "string",
          "minLength": 1
        },
        "duration_seconds": {
          "type": "integer",
          "minimum": 1,
          "maximum": 60
        },
        "source_scene_number": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "scene_setting": {
          "type": [
            "string",
            "null"
          ]
        },
        "referenced_character_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "referenced_character_look_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "referenced_location_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "camera_direction": {
          "type": [
            "string",
            "null"
          ]
        },
        "audio_direction": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtitle_text": {
          "type": [
            "string",
            "null"
          ]
        },
        "omit_subtitles": {
          "type": "boolean"
        },
        "dialogue": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "character": {
                "type": "string"
              },
              "line": {
                "type": "string"
              },
              "emotion": {
                "type": "string"
              },
              "delivery_note": {
                "type": "string"
              },
              "line_id": {
                "type": "string"
              }
            },
            "required": [
              "character",
              "line",
              "emotion",
              "delivery_note"
            ],
            "additionalProperties": false
          }
        },
        "characters": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "time_of_day": {
          "type": [
            "string",
            "null"
          ]
        },
        "scene_purpose": {
          "type": [
            "string",
            "null"
          ]
        },
        "shot_size": {
          "type": [
            "string",
            "null"
          ]
        },
        "composition": {
          "type": [
            "string",
            "null"
          ]
        },
        "camera_angle": {
          "type": [
            "string",
            "null"
          ]
        },
        "camera_movement": {
          "type": [
            "string",
            "null"
          ]
        },
        "camera_setup": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "shot_size": {
                  "type": "string"
                },
                "subject_movement": {
                  "type": "string"
                },
                "visual_purpose": {
                  "type": "string"
                },
                "short_shots": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "shot_number": {
                        "type": "number"
                      },
                      "duration_seconds": {
                        "type": "number"
                      },
                      "shot_size": {
                        "type": "string"
                      },
                      "action": {
                        "type": "string"
                      },
                      "subject_movement": {
                        "type": "string"
                      },
                      "dialogue_covered": {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "$ref": "#/properties/patch/properties/dialogue/items"
                            }
                          ]
                        }
                      },
                      "visual_purpose": {
                        "type": "string"
                      },
                      "beat_type": {
                        "type": "string",
                        "enum": [
                          "establishing",
                          "entrance",
                          "exit",
                          "movement",
                          "prop_interaction",
                          "insert",
                          "reveal",
                          "blocking",
                          "reaction",
                          "decision",
                          "dialogue",
                          "transition",
                          "cliffhanger"
                        ]
                      },
                      "start_state": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "end_state": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "spatial_geometry": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "location_axis": {
                                "type": "string"
                              },
                              "subject_start_zone": {
                                "type": "string"
                              },
                              "subject_end_zone": {
                                "type": "string"
                              },
                              "subject_travel_direction": {
                                "type": "string"
                              },
                              "camera_zone": {
                                "type": "string"
                              },
                              "camera_facing_direction": {
                                "type": "string"
                              },
                              "camera_subject_relationship": {
                                "type": "string"
                              },
                              "background_visible_direction": {
                                "type": "string"
                              },
                              "consistency_note": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "location_axis",
                              "subject_start_zone",
                              "subject_end_zone",
                              "subject_travel_direction",
                              "camera_zone",
                              "camera_facing_direction",
                              "camera_subject_relationship",
                              "background_visible_direction",
                              "consistency_note"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "camera_setup_detail": {
                        "type": "object",
                        "properties": {
                          "camera_position": {
                            "type": "string"
                          },
                          "subject_orientation": {
                            "type": "string"
                          },
                          "subject_orientations": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "orientation_to_camera": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "subject",
                                "orientation_to_camera"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "camera_angle": {
                            "type": "string"
                          },
                          "camera_movement": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "camera_position",
                          "subject_orientation",
                          "camera_angle",
                          "camera_movement"
                        ],
                        "additionalProperties": false
                      },
                      "location": {
                        "type": "string"
                      },
                      "background_view": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "location_name": {
                                "type": "string"
                              },
                              "view_name": {
                                "type": "string"
                              },
                              "background_description": {
                                "type": "string"
                              },
                              "reference_description": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "reference_usage": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "camera_facing": {
                                "type": "string"
                              },
                              "visible_anchors": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "depth_layout": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "lighting_description": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "continuity_note": {
                                "type": "string"
                              },
                              "generated_asset_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "image_url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "location_name",
                              "view_name",
                              "background_description",
                              "camera_facing",
                              "continuity_note"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "background_people_description": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "post_dialogue_visual_progression": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "shot_number",
                      "duration_seconds",
                      "shot_size",
                      "action",
                      "subject_movement",
                      "dialogue_covered",
                      "visual_purpose"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "shot_size",
                "subject_movement",
                "visual_purpose",
                "short_shots"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": false,
      "description": "Fields to change. Send only what you are changing. Edit dialogue via camera_setup.short_shots[].dialogue_covered, not the deprecated `dialogue`."
    }
  },
  "required": [
    "shot_id",
    "patch"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴update_location(location_id, patch)

Overwrite fields on one location. Read it first (get_project_locations or get_location), then send ONLY the fields you changed — omitted fields are left untouched. IMPORTANT: a location is usually shared by several scenes across episodes, so this edit changes every scene that uses it. Check where it is used first; if the change is meant for one scene only, it needs a NEW location rather than an edit to this one. Editing name, short_description, visual_prompt, user_prompt, visual_style, aspect_ratio or spatial_layout marks the location stale, because its existing generated image no longer matches the description — regenerate the image if you want them back in sync. Editing mood, location_type, recurring or appears_in_episodes does not affect the image and leaves the stale flag alone. spatial_layout is the set bible: the named zones of the set and the fixed zone and height of each prop. Scenes must draw their spatial_geometry zones from it instead of inventing labels, so correcting it here fixes prop placement for every scene at once. Keep descriptions consistent with the owning character's status and the project's tone. This writes immediately and cannot be undone.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "location_id": {
      "type": "string",
      "description": "Location id to update."
    },
    "patch": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1
        },
        "location_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "short_description": {
          "type": [
            "string",
            "null"
          ]
        },
        "visual_prompt": {
          "type": "string",
          "minLength": 1
        },
        "user_prompt": {
          "type": [
            "string",
            "null"
          ]
        },
        "visual_style": {
          "type": [
            "string",
            "null"
          ]
        },
        "aspect_ratio": {
          "type": [
            "string",
            "null"
          ]
        },
        "mood": {
          "type": [
            "string",
            "null"
          ]
        },
        "recurring": {
          "type": "boolean"
        },
        "appears_in_episodes": {
          "type": "array",
          "items": {
            "type": "integer",
            "exclusiveMinimum": 0
          }
        },
        "spatial_layout": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "layout_summary": {
                  "type": "string"
                },
                "zones": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "adjacent_to": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "default": []
                      }
                    },
                    "required": [
                      "id",
                      "description"
                    ],
                    "additionalProperties": false
                  },
                  "default": []
                },
                "props": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "zone": {
                        "type": "string"
                      },
                      "height": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "co_located_with": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "default": []
                      },
                      "movable": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "zone",
                      "height",
                      "description"
                    ],
                    "additionalProperties": false
                  },
                  "default": []
                }
              },
              "required": [
                "layout_summary"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": false,
      "description": "Fields to change. Send only what you are changing."
    }
  },
  "required": [
    "location_id",
    "patch"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡upload_shot_continuity_reference(shot_id, image_base64, filename, guidance)

Attach an image you produced locally to a shot as a continuity reference. A continuity reference is fed into this shot's next clip generation as a layout, prop, wardrobe and screen-direction guide — it is NOT used as the shot's opening frame or exact composition. Attaching one changes nothing until the clip is generated again. Send the image as base64 — keep it small (a 720x1280 JPEG is roughly 40-130KB of base64). PNG, JPEG and WebP only; the bytes are sniffed, so the filename extension alone will not get a non-image through. If the image is already an asset in this project, use attach_shot_continuity_reference instead and send no bytes.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id (episode_shots row) to attach the reference to."
    },
    "image_base64": {
      "type": "string",
      "minLength": 1,
      "maxLength": 34000000,
      "description": "The image bytes, base64-encoded. No data: URI prefix."
    },
    "filename": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "File name to store it under, e.g. scene-1-last-frame.jpg."
    },
    "guidance": {
      "type": "string",
      "maxLength": 1000,
      "description": "How the video model should use this reference, e.g. which positions or props to match and what to ignore. Saved on the reference and sent with every later generation of the shot."
    }
  },
  "required": [
    "shot_id",
    "image_base64",
    "filename"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡attach_shot_continuity_reference(shot_id, asset_id, guidance)

Attach an image that already exists in this project to a shot as a continuity reference. A continuity reference is fed into this shot's next clip generation as a layout, prop, wardrobe and screen-direction guide — it is NOT used as the shot's opening frame or exact composition. Attaching one changes nothing until the clip is generated again. Find asset ids with get_asset_library. A shot's own thumbnail is its clip's last frame, so attaching the previous scene's thumbnail is the cheapest way to carry continuity forward. To use an image that is not yet an asset here, use upload_shot_continuity_reference instead.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id (episode_shots row) to attach the reference to."
    },
    "asset_id": {
      "type": "string",
      "description": "Id of an existing image asset in this project."
    },
    "guidance": {
      "type": "string",
      "maxLength": 1000,
      "description": "How the video model should use this reference, e.g. which positions or props to match and what to ignore. Saved on the reference and sent with every later generation of the shot."
    }
  },
  "required": [
    "shot_id",
    "asset_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴update_shot_continuity_reference(shot_id, asset_id, guidance)

Set or clear the guidance on one continuity reference already attached to a shot — the note telling the video model how to use that image. List references first with list_shot_continuity_references to get the asset id. Like attaching, this changes nothing until the clip is generated again.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id (episode_shots row) the reference is attached to."
    },
    "asset_id": {
      "type": "string",
      "description": "Id of the continuity reference to update, from list_shot_continuity_references."
    },
    "guidance": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "description": "How the video model should use this reference, e.g. which positions or props to match and what to ignore. Send null or an empty string to clear it."
    }
  },
  "required": [
    "shot_id",
    "asset_id",
    "guidance"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴remove_shot_continuity_reference(shot_id, asset_id)

Detach one continuity reference from a shot. List them first with list_shot_continuity_references to get the asset id. This deletes the reference asset permanently and cannot be undone.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shot_id": {
      "type": "string",
      "description": "Shot id (episode_shots row) the reference is attached to."
    },
    "asset_id": {
      "type": "string",
      "description": "Id of the continuity reference to remove, from list_shot_continuity_references."
    }
  },
  "required": [
    "shot_id",
    "asset_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada30 herramientas
verificadoversión no registrada30 herramientas