API reference

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

Request body fields
FieldTypeWhat it is
shotsrequiredarray of object
shots[].modelrequiredstring
shots[].secondsnumber
shots[].resolutionstring
shots[].aspectstring
shots[].audioboolean

Example

{
  "shots": [
    {
      "model": "antimatter/auto"
    }
  ]
}

Answer 200

The film's price, micro USD.

Fields of the 200 answer
FieldTypeWhat it is
total_microsinteger
shotsarray of object
shots[].modelstring
shots[].namestring
shots[].secondsnumber
shots[].microsinteger

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.

Antimatter