Skip to main content
POST
Emphasize - let the model pick which words to bold (experimental)

Authorizations

X-API-Key
string
header
required

Body

application/json

Input to /v1/emphasize - the experimental AI emphasis endpoint.

text
string
required

The meek, lowercase text you want made louder.

Minimum string length: 1
Example:

"hello world"

emphasis_ratio
number
default:0.3

Fraction of words to emphasize, from just above 0 up to 1.0.

Required range: x <= 1

Response

Successful Response

Response envelope for /v1/emphasize.

original
string
required

The text you sent in.

result
string
required

Text with emphasized words wrapped in markdown bold.

emphasized_words
string[]
required

The words the model chose to emphasize.

model
string
required

Name and version of the emphasis model.

experimental
boolean
default:true

Always true - this endpoint's behavior may change.