Generate
Changed onGenerate text from a prompt using the named model.
The model path segment uses the SIE-safe id (double-underscore separator, e.g. Qwen__Qwen3-4B-Instruct). HuggingFace-style slashes are rejected with 400 to keep parity with the gateway contract.
Request
- The document declares no server URL.
- Authnone declared
Path parameters
Headers
The only accepted value is forbid. It keeps the request off remote upstreams: local capacity serves or refuses it, and a model served only by an upstream answers 400. Any other value answers 400.
Request body
Example request
{
"max_new_tokens": 64,
"prompt": "Write one sentence about vector search.",
"stream": false,
"temperature": 0.7,
"top_p": 0.9
}Response
Generated text, or a Server-Sent Event stream when stream is true
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
- info
added the new optional
headerrequest parameterX-SIE-Remote
- info