Criar minha primeira campanha
Menu da documentação
GET/api/public/models

Public models

Check, without a key, which version of each AI model BannerMotion uses today.

Returns which version of each model BannerMotion uses today (always the most recent one) and how many credits it costs. It needs no key and exposes no customer data. The response is cached for up to 1 hour.

Response

FieldWhat it is
models[].family
The model family: haiku, sonnet, opus, or fable.
models[].label
The name with the version number, for example "Sonnet 5.5".
models[].id
The technical identifier of the model, for example claude-haiku-5-5 or claude-fable-5-1.
models[].conceptCredits
Credits for a concept with 1 size and 1 locale, the cheapest; with more sizes or locales it costs more (for the exact cost use “Estimate credits”).
models[].editCredits
Credits for a correction made with the chat that touches 1 to 4 sizes.
models[].multiplier
The model’s credit multiplier compared with Sonnet.
credits[]
The “from” table: one row per operation (concept, edit, adapt and language) with the credits for each family, for the smallest case of each.
updatedAt
When the versions were resolved.
Dica. Use it to show the model name in your interface without typing the version number by hand.
Esta página foi útil?