generate
Generate text
Changed onRun one stateless model generation using the server's base configuration and return the assistant text. Uses the base configuration's default model when none is specified.
post/api/experimental/generate/text
Request
- Base URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/experimental/generate/text
- Authnone required
Request body
Response
GenerateTextResponse
Changes
- info
endpoint added
- info