API reference

API reference · Account

The most a director's plan could cost

POST/api/studio/direct/quoteSigned in session

The worst case of the plan'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

Request body fields
FieldTypeWhat it is
idearequiredstringThe idea, a sentence or a paragraph. At most 4000 characters.
shotsintegerFrom 1 to 12.
secondsnumberSeconds a shot, when the person has a length in mind.
stylestringAt most 500 characters.
aspectstringOne of "16:9", "9:16", "1:1".

Example

{
  "idea": "string"
}

Answer 200

The worst case.

Fields of the 200 answer
FieldTypeWhat it is
microsinteger
modelstring
modelNamestringThe 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.

Antimatter