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

# create_image_upload

> Creates a one-time upload link (15 minutes) for a JPG, PNG or GIF up to 10 MB on a post.

{/* Generated by apps/docs/scripts/generate.ts. Do not edit by hand. */}

**Get an image upload link** · Images, carousels and video

Creates a one-time upload link (15 minutes) for a JPG, PNG or GIF up to 10 MB on a post. Upload the bytes with PUT, then call attach\_images with the uploadId.

* **Credits:** Free
* **Needs confirmation:** no
* **In the ChatGPT app:** no

## Input

**postId** `string` *required*

Post id (from import\_post, generate\_post or get\_post). Format: `uuid`.

**filename** `string` *required*

Length 1–255.

**contentType** `enum` *required*

One of: `image/png`, `image/jpeg`, `image/gif`.

**byteSize** `integer` *required*

Range −∞–10485760.

**workspace** `string`

Workspace id or exact name. Required when this connection can use more than one workspace (see list\_workspaces). Length 1–200.

## Example call

```json Tool call
{
  "name": "create_image_upload",
  "arguments": {
    "postId": "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f",
    "filename": "<filename>",
    "contentType": "image/png",
    "byteSize": 1
  }
}
```

## Related

* [All MCP tools](/mcp/tools.md)
* [Connect an assistant](/mcp/quickstart.md)
* [Limits and errors](/mcp/limits-and-errors.md)
