> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sia.vision/llms.txt
> Use this file to discover all available pages before exploring further.

# Assemble or edit the working cut

> production_cut_save: permissions and generated input/output contracts.

`production_cut_save` · Gateway release **0.8.3**

Prepare a working cut from existing usable native takes, or save edits against the exact parent revision. Trims use integer microseconds, preserving measured source duration separately. Keep/mute native audio; a retained continuous score supports gain/fades/loop. Native FFmpeg rendering is durable; poll the returned render. Earlier cuts/bytes stay intact. Completion means ready for final user review, not approved/final/canon.

Required scopes: `account:read`, `production:write`. Changes saved state or requests work; review the operation’s effects.

Availability depends on runtime configuration and the permissions granted to this connection. Use live MCP discovery as the authority.

## Input

```json theme={null}
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "productionId": {
      "type": "string",
      "pattern": "^[a-fA-F0-9]{24}$",
      "description": "ID of the saved Production whose asset context must remain pinned."
    },
    "operationId": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9-]{16,64}$",
      "description": "Persist a client-generated UUID before this mutation. Repeat identical inputs and this same ID after interruption; a new ID is a new request."
    },
    "expectedVersion": {
      "type": "integer",
      "minimum": 1,
      "description": "Copy the current version from the latest workflow read. Refresh after a conflict; never increment or guess it."
    },
    "mode": {
      "type": "string",
      "enum": [
        "prepare",
        "edit"
      ]
    },
    "parentRevisionId": {
      "type": "string",
      "pattern": "^[a-fA-F0-9]{24}$"
    },
    "edits": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "outputPresetId": {
          "type": "string",
          "enum": [
            "1080p24",
            "1080p25",
            "1080p30",
            "720p24",
            "720p30"
          ]
        },
        "shots": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "shotNodeId": {
                "type": "string",
                "pattern": "^[a-fA-F0-9]{24}$"
              },
              "included": {
                "type": "boolean"
              },
              "sourceInUs": {
                "type": "integer",
                "minimum": 0,
                "maximum": 300000000
              },
              "sourceOutUs": {
                "type": "integer",
                "minimum": 1,
                "maximum": 300000000
              },
              "nativeAudio": {
                "type": "string",
                "enum": [
                  "keep",
                  "mute"
                ]
              },
              "omissionReason": {
                "type": "string",
                "maxLength": 500
              },
              "framing": {
                "type": "string",
                "enum": [
                  "fit",
                  "fill"
                ]
              },
              "cropAnchor": {
                "type": "string",
                "enum": [
                  "top",
                  "center",
                  "bottom"
                ]
              },
              "audioGainDb": {
                "type": "number",
                "minimum": -30,
                "maximum": 30
              }
            },
            "required": [
              "shotNodeId",
              "included",
              "sourceInUs",
              "sourceOutUs",
              "nativeAudio"
            ]
          },
          "minItems": 1,
          "maxItems": 100
        },
        "music": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "assetId": {
              "type": "string",
              "pattern": "^[a-fA-F0-9]{24}$",
              "description": "ID of an already saved and linked Media record returned by this workflow."
            },
            "sha256": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            },
            "sourceInUs": {
              "type": "integer",
              "minimum": 0
            },
            "gainDb": {
              "type": "number",
              "minimum": -40,
              "maximum": 6
            },
            "fadeInMs": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000
            },
            "fadeOutMs": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000
            },
            "loop": {
              "type": "boolean"
            }
          },
          "required": [
            "assetId",
            "sha256",
            "sourceInUs",
            "gainDb",
            "fadeInMs",
            "fadeOutMs",
            "loop"
          ]
        }
      },
      "required": [
        "outputPresetId",
        "shots"
      ]
    }
  },
  "required": [
    "productionId",
    "operationId",
    "expectedVersion",
    "mode"
  ]
}
```

## Declared output — partial envelope

This is a partial versioned envelope, not the complete Production receipt. Read the operation’s returned progress and retained result; queued work is not completed media.

```json theme={null}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "1"
    }
  },
  "required": [
    "schemaVersion"
  ],
  "additionalProperties": {}
}
```

[All tools](https://docs.sia.vision/mcp-reference.md) · [Permissions](https://docs.sia.vision/authentication.md) · [Media and recovery](https://docs.sia.vision/media-and-recovery.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.