Skip to main content
POST
fill-mask

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_BYTEZ_KEY_HERE'

Body

application/json

Schema for fill-mask models

text
string
required

The input text

Example:

"Hello <mask>"

Response

Successful fill-mask response.

error
string | null
required

Null on success; otherwise an error message.

output
array
required

The generated mask predictions

Example: