API reference

API reference · Account

The account's own presets

GET/api/studio/presetsSigned in session

Every preset the account saved from the presets library, newest first.

Answer 200

The presets.

Fields of the 200 answer
FieldTypeWhat it is
objectstringOne of "list".
dataarray of object
data[].idstringspr_ followed by hex.
data[].objectstringOne of "studio.preset".
data[].namestring
data[].recipeobjectWhat the preset sets on a shot; at least one field.
data[].recipe.promptstringAt most 4000 characters.
data[].recipe.camerastring or nullOne of "push-in", "pull-out", "orbit", "crane-up", "dolly-zoom", "tracking", "handheld", "drone", "whip-pan", "static", null.
data[].recipe.lookstringOne of "none", "teal-orange", "noir", "bleach", "dusk", "nebula", "film", "vivid".
data[].recipe.lensstringOne of "wide", "normal", "portrait", "macro", "anamorphic", "tele", "fisheye".
data[].recipe.stockstringOne of "portrait", "tungsten", "slide", "mono", "super8", "16mm".
data[].recipe.modelstring
data[].recipe.secondsnumber
data[].created_atinteger
data[].updated_atinteger

Errors

  • 401OpenAI 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