API reference · Account
The most breaking a script into shots could cost
POST/api/studio/direct/script/quoteSigned in session
The worst case of the script's chat call as dispatch would hold it, billed micro USD; nothing is held and nothing is sent to a model.
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| scriptrequired | string | The script as the person pasted it: a screenplay or plain prose. At most 20000 characters. |
| seconds | number | Seconds a shot, when the person has a length in mind. |
| style | string | At most 500 characters. |
| aspect | string | One of "16:9", "9:16", "1:1". |
Example
{
"script": "string",
"seconds": 0,
"style": "string",
"aspect": "16:9"
}Answer 200
The worst case.
| Field | Type | What it is |
|---|---|---|
| micros | integer | |
| model | string | |
| modelName | string | The writer's name as a person reads it. |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 402OpenAI shaped error.
- 503OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.