Skip to main content
Glama

Multi-Voice Audiobooks for €100 + Video Dubbing, Subtitles & Transcription

Prepare local upload

multivoice.sources.prepare_upload
Read-only

Accepts a local media file name, size, and duration and returns a short-lived source handle without a URL. Does not read the server disk and does not create an order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameNoBasename of the local media file. Do not send a path.
ui_languageNoInterface language. Blank is treated as en-US.
source_type_idNoCatalog source type id from the server, not a provider name.
file_size_bytesNoExact local file size in bytes.
duration_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
errorNo
expires_atNo
source_codeNo
display_nameNo
source_handleNo
source_type_idNo
duration_secondsNo
expires_in_secondsNo
source_fingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / file_name / description
      Added value: +"Basename of the local media file. Do not send a path."
    • addedInput schema / properties / file_size_bytes / description
      Added value: +"Exact local file size in bytes."
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "display_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "duration_seconds": {
      -        "type": "number"
      -      },
      -      "expires_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "source_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "source_fingerprint": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "source_handle": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "source_type_id": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "source_type_id",
      -      "source_code",
      -      "display_name",
      -      "duration_seconds",
      -      "source_fingerprint",
      -      "source_handle",
      -      "expires_at"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "correlation_id": {
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "retryable",
      -          "correlation_id"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "display_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "duration_seconds": {
      +        "type": "number"
      +      },
      +      "expires_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "expires_in_seconds": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "source_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_fingerprint": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_handle": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_type_id": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "source_type_id",
      +      "source_code",
      +      "display_name",
      +      "duration_seconds",
      +      "source_fingerprint",
      +      "source_handle",
      +      "expires_at",
      +      "expires_in_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "correlation_id": {
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "retryable",
      +          "correlation_id"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / expires_in_seconds
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  2. Added
  3. Removed
  4. Changed4 schema fields changed
    • removedInput schema / properties / file_name / description
      Removed value: -"Basename of the local media file. Do not send a path."
    • removedInput schema / properties / file_size_bytes / description
      Removed value: -"Exact local file size in bytes."
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "display_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "duration_seconds": {
      -        "type": "number"
      -      },
      -      "expires_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "expires_in_seconds": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "source_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "source_fingerprint": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "source_handle": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "source_type_id": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "source_type_id",
      -      "source_code",
      -      "display_name",
      -      "duration_seconds",
      -      "source_fingerprint",
      -      "source_handle",
      -      "expires_at",
      -      "expires_in_seconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "correlation_id": {
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "retryable",
      -          "correlation_id"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "display_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "duration_seconds": {
      +        "type": "number"
      +      },
      +      "expires_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "source_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_fingerprint": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_handle": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_type_id": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "source_type_id",
      +      "source_code",
      +      "display_name",
      +      "duration_seconds",
      +      "source_fingerprint",
      +      "source_handle",
      +      "expires_at"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "correlation_id": {
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "retryable",
      +          "correlation_id"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / expires_in_seconds
      Removed value: -{
      -  "type": [
      -    "integer",
      -    "null"
      -  ]
      -}
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources