---
title: "Get Image Upload Url"
method: POST
path: "/api/v1/slides/{slide_id}/upload-image/signed-url"
tags: ["slides"]
---

# Get Image Upload Url

`POST /api/v1/slides/{slide_id}/upload-image/signed-url`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/slides/{slide_id}/upload-image/signed-url`
- Auth: none declared

取得投影片圖片上傳簽名 URL

前端使用此 URL 直接上傳圖片到 GCS，無需經過後端

## Path parameters

- `slide_id` string, required

## Request body

- ImageUploadRequest
  - `content_type` string

## Response `200`

Successful Response

- ImageUploadResponse
  - `upload_url` string, required
  - `blob_path` string, required
  - `expires_in_minutes` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
