generate

Generate text

Run 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

Request

  • Base URL: https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL: https://opencode.ai/api/experimental/generate
  • Auth: none required

Request body

promptstring required

Response

GenerateTextResponse

Changes

No recorded changes to this operation across all 1 revision of this API.