API reference · Public
Price a film, shot by shot
POST/api/studio/pricing/quoteNo key
Public: each shot priced by the studio's own quote (the billed hold of exactly those options, markup on), summed. Nothing is held or made. 1 to 24 shots; a refusal names the shot by its place in error.shot. The unknown 404 while video generation is off; 60 a minute per address.
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| shotsrequired | array of object | |
| shots[] | string | |
| shots[] | number | |
| shots[] | string | |
| shots[] | string | |
| shots[] | boolean |
Example
{
"shots": [
{
"model": "antimatter/auto"
}
]
}Answer 200
The film's price, micro USD.
| Field | Type | What it is |
|---|---|---|
| total_micros | integer | |
| shots | array of object | |
| shots[] | string | |
| shots[] | string | |
| shots[] | number | |
| shots[] | integer |
Errors
- 400OpenAI shaped error.
- 404OpenAI shaped error.
- 429OpenAI 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.