---
title: "Revise Script Endpoint"
method: POST
path: "/script/revise"
tags: ["script"]
---

# Revise Script Endpoint

`POST /script/revise`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/script/revise`
- Auth: HTTP bearer

## Request body

- ReviseScriptRequest
  - `project_id` string, required
  - `selected_text` string, nullable
  - `instruction` string, required
  - `full_script` string, required
  - `model` string, nullable

## Response `200`

Successful Response

- ReviseScriptResponse
  - `revised_text` string, required

## Other responses

- `422`: Validation Error

---

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