---
title: "Import Project Scripts"
method: POST
path: "/api/v1/scripts/project/{project_id}/import"
tags: ["scripts"]
---

# Import Project Scripts

`POST /api/v1/scripts/project/{project_id}/import`

## 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/scripts/project/{project_id}/import`
- Auth: none declared

匯入專案講稿（從 TXT 檔案）

解析匯出格式的 TXT 檔案，按順序匹配投影片並建立講稿版本。

## Path parameters

- `project_id` string, required

## Response `200`

Successful Response

- ImportScriptsResponse
  - `status` string, required
  - `message` string, required
  - `imported_count` integer, required
  - `total_slides` integer, required
  - `warning` string, nullable

## 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)
