Skip to main content

Authorizations

X-API-Key
string
header
required

Simplex API Key

Body

application/json
prompt
string
required

What to write, up to 8,000 characters. Include any notes or an outline to write from, and the length you want.

Maximum string length: 8000
Example:

"Write me a LinkedIn post about pivoting from vertical AI to ML/RL."

Response

Generated prose

succeeded
boolean
Example:

true

text
string

The generated prose.

Example:

"I spent the last two years building vertical AI products..."

word_count
integer

Number of words in text.

Example:

412

error
enum<string> | null

null when the prose finished normally. generation limit reached when it hit the output limit and may be cut off.

Available options:
generation limit reached,
null
Example:

null

usage
object