---
title: "Generate Script Endpoint"
method: POST
path: "/generate/script"
tags: ["generate"]
---

# Generate Script Endpoint

`POST /generate/script`

## 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/generate/script`
- Auth: HTTP bearer

## Request body

- GenerateScriptRequest
  - `model` string
  - `editable_sections` object
  - `settings` object
  - `project_id` string, required

## Response `202`

Successful Response

- object

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