---
title: "Select Alternative Image"
method: PATCH
path: "/api/v1/slides/{slide_id}/select-alternative"
tags: ["slides"]
---

# Select Alternative Image

`PATCH /api/v1/slides/{slide_id}/select-alternative`

## 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}/select-alternative`
- Auth: none declared

從候選圖中選擇一張作為主縮圖

## Path parameters

- `slide_id` string, required

## Headers

- `Authorization` string, nullable

## Request body

- SelectAlternativeRequest
  - `image_path` string, required

## Response `200`

Successful Response

- SlideResponse
  - `id` string, required
  - `project_id` string, required
  - `slide_number` integer, required
  - `title` string, required
  - `image_path` string, nullable
  - `image_url` string, nullable
  - `video_path` string, nullable
  - `video_url` string, nullable
  - `script` string
  - `has_script` boolean, nullable
  - `script_error` string, nullable
  - `audio_path` string, nullable
  - `audio_url` string, nullable
  - `duration` number
  - `extra_duration` number
  - `status` string, required
  - `alternative_images` string[]
  - `alternative_image_urls` string[]
  - `insert_video_url` string, nullable
  - `insert_video_path` string, nullable
  - `insert_video_position` string, nullable
  - `structure` object, nullable
  - `visual_config` object, nullable
  - `key_points` string[], nullable
  - `created_at` string, date-time, 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)
