Create an upload
create_uploadFor a file that is neither a public link nor attached in a ChatGPT chat (for example a file attached in another chat app). Returns upload_url (send the file there with an HTTP PUT, then call start_transcription) and upload_page_url (a page where your user uploads the file in a browser instead; the transcription then starts by itself).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"content_type": "<content_type>",
"size_bytes": "<size_bytes>"
},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Default "mai-transcribe". See get_service_info. | |
| summary | No | Also write an AI summary when the transcript is ready. | |
| filename | Yes | File name including extension, e.g. "meeting.mp3". | |
| language | No | ISO 639-1 code such as "en". Omit to auto-detect. | |
| robot_key | No | Pass the robot_key from your earlier jobs so all your jobs stay together. Omit on your very first call — a new one is returned. | |
| size_bytes | Yes | Exact file size in bytes (max 2 GB). | |
| action_items | No | Also extract action items when the transcript is ready. | |
| content_type | Yes | MIME type, e.g. "audio/mpeg" or "video/mp4". | |
| speaker_labels | No | Label who speaks when. | |
| translate_to_english | No | Translate the speech to English while transcribing. Only with model "whisper". |