/ai/
POST /ai/generate-stream
Request
- Base URLhttps://api.novelai.net (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"input": "Text generation example.",
"parameters": {
"logit_bias_exp": [
{
"sequence": [
9288,
286,
10690
],
"bias": 4,
"ensure_sequence_finish": true,
"generate_once": true
},
{
"sequence": [
9288,
286
],
"bias": 2
}
]
}
}Response
The request has been accepted and the output is generating (SSE).
Changes
No recorded changes to this operation across all 2 revisions of this API.