Skip to main content
POST
Generate an HTML block

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
prompt
string
required
Required string length: 1 - 4000
model
string
currentHtml
string
context
object
mentions
object[]
attachments
object[]

Response

SSE stream of GenerateHtmlBlockEvent events

type
enum<string>
required
Available options:
delta,
done,
error
text
string
html
string
message
string