Write a researched script
text_scriptSend a seed video; receive a researched, fact-checked script with title options.
150 credits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sourceUrl": "<sourceUrl>",
"projectId": "<projectId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "text_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | The take to write toward, e.g. "for someone who has never invested". | |
| niche | No | The subject area, for terminology and framing. | |
| format | No | `plaintext` answers with only the teleprompter-ready script — `{ working_title, full_script }` — and skips the research ledger and the SEO packaging. For when the script is CONTEXT something reads to decide what to do next, rather than a deliverable to store: same work, same price, a fraction of the tokens. | full |
| audience | No | Who is watching. Sets vocabulary and pace. | |
| language | No | Output language. Defaults to English. | |
| products | No | ||
| projectId | Yes | The project to file this work under. Required — create one with the `projects_create` tool. A project this workspace does not own answers `not_found`; the work is never silently filed somewhere else. | |
| sourceUrl | Yes | The video to watch and build on. Required — this capability starts from footage. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| channelName | No | The channel it is for, used in the intro. | |
| brandContext | No | Anything the writer should know about your brand: voice, claims, things to avoid. | |
| titleOptions | No | How many title candidates to return alongside the script. | |
| presenterName | No | Who the script is written for to say. | |
| referenceUrls | No | Up to twenty further sources to read while writing. Consulted, not summarised. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| targetDurationMinutes | No | How long the finished video should run. The script is written to that length. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||