ScriptSeen Scripts API
The Scripts API from ScriptSeen — 6 operation(s) for scripts.
The Scripts API from ScriptSeen — 6 operation(s) for scripts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scriptseen-com:scriptseen-com-scripts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ScriptSeen Scripts API
version: 0.1.0
tags:
- name: Scripts
paths:
/v1/scripts/requests/{request_id}:
get:
summary: Recover Script
operationId: recover_script_v1_scripts_requests__request_id__get
parameters:
- name: request_id
in: path
required: true
schema:
type: string
format: uuid
title: Request Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Scripts
/v1/scripts/stream:
post:
summary: Stream Script
operationId: stream_script_v1_scripts_stream_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Brief'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Scripts
/v1/scripts:
post:
summary: Script
description: Non-streaming twin for integrations and smoke tests.
operationId: script_v1_scripts_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Brief'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Scripts
/v1/scripts/hooks:
post:
summary: Regenerate Script Hooks
description: Vary one opening choice, preserving the other choices and script body.
operationId: regenerate_script_hooks_v1_scripts_hooks_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/HookRegenerationBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Scripts
/v1/scripts/paragraphs:
post:
summary: Rewrite Script Paragraph
description: Rewrite one displayed section. Shares the opening-line refresh allowance.
operationId: rewrite_script_paragraph_v1_scripts_paragraphs_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ParagraphRewriteBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Scripts
/v1/scripts/perform:
post:
summary: Perform
operationId: perform_v1_scripts_perform_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PerformBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Scripts
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HookRegenerationBody:
properties:
result:
additionalProperties: true
type: object
title: Result
source_id:
anyOf:
- type: string
maxLength: 128
minLength: 1
- type: 'null'
title: Source Id
hook_number:
anyOf:
- type: integer
maximum: 3.0
minimum: 1.0
- type: 'null'
title: Hook Number
type: object
required:
- result
title: HookRegenerationBody
description: 'The finished result a client wants a new opening for.
The API returns a complete updated result so recent and saved scripts use
exactly the same package after the refresh.'
Brief:
properties:
topic:
type: string
maxLength: 4000
minLength: 1
title: Topic
audience:
type: string
maxLength: 500
minLength: 1
title: Audience
platform:
type: string
enum:
- tiktok
- reels
- youtube-shorts
title: Platform
default: tiktok
duration:
type: integer
maximum: 180.0
minimum: 10.0
title: Duration
default: 45
tone:
anyOf:
- type: string
maxLength: 300
- type: 'null'
title: Tone
temperature:
type: number
maximum: 1.5
minimum: 0.0
title: Temperature
default: 0.8
mode:
type: string
title: Mode
default: take
goal:
anyOf:
- type: string
maxLength: 20
- type: 'null'
title: Goal
request_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Request Id
recovery_key:
anyOf:
- type: string
pattern: ^[0-9a-f]{64}$
- type: 'null'
title: Recovery Key
type: object
required:
- topic
- audience
title: Brief
description: What a creator tells us. Bounds mirror ScriptRequest and the lab form.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
PerformRequestMeta:
properties:
duration_s:
type: integer
maximum: 600.0
minimum: 0.0
title: Duration S
default: 0
platform:
anyOf:
- type: string
maxLength: 40
- type: 'null'
title: Platform
tone:
anyOf:
- type: string
maxLength: 300
- type: 'null'
title: Tone
type: object
title: PerformRequestMeta
description: The part of the original brief the cue plan needs.
ParagraphRewriteBody:
properties:
result:
additionalProperties: true
type: object
title: Result
paragraph_number:
type: integer
maximum: 400.0
minimum: 1.0
title: Paragraph Number
notes:
type: string
maxLength: 500
title: Notes
default: ''
source_id:
anyOf:
- type: string
maxLength: 128
minLength: 1
- type: 'null'
title: Source Id
type: object
required:
- result
- paragraph_number
title: ParagraphRewriteBody
description: Rewrite one displayed section of a finished script, leaving the others intact.
PerformBody:
properties:
package:
additionalProperties: true
type: object
title: Package
description: the script package as the studio holds it
request:
$ref: '#/components/schemas/PerformRequestMeta'
speaker:
anyOf:
- type: string
maxLength: 40
- type: 'null'
title: Speaker
language:
anyOf:
- type: string
maxLength: 16
- type: 'null'
title: Language
default: auto
prefetch:
type: boolean
title: Prefetch
default: false
script_id:
anyOf:
- type: string
maxLength: 128
pattern: ^[a-zA-Z0-9_.:-]+$
- type: 'null'
title: Script Id
practice_session_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Practice Session Id
attempt_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Attempt Id
cues:
type: integer
maximum: 9.0
minimum: 1.0
title: Cues
default: 1
type: object
required:
- package
title: PerformBody