Skip to main content

Inference Post

POST 

/inference/v1:path

OpenAI-compatible APIs.

Request

Path Parameters

    path Pathrequired

Body

required

    model Model (string)required
    messages undefined[]

    Default value: ``

    timeout

    object

    anyOf

    number

    temperature

    object

    anyOf

    number

    top_p

    object

    anyOf

    number

    n

    object

    anyOf

    integer

    stop

    object

    anyOf

    string

    max_completion_tokens

    object

    anyOf

    integer

    max_tokens

    object

    anyOf

    integer

    modalities

    object

    anyOf

  • Array [

  • ]

  • presence_penalty

    object

    anyOf

    number

    frequency_penalty

    object

    anyOf

    number

    stream

    object

    anyOf

    boolean

    logit_bias object

    user

    object

    anyOf

    string

    response_format object

    seed

    object

    anyOf

    integer

    tools

    object

    anyOf

  • Array [

  • ]

  • tool_choice

    object

    anyOf

    string

    logprobs

    object

    anyOf

    boolean

    top_logprobs

    object

    anyOf

    integer

    parallel_tool_calls

    object

    anyOf

    boolean

    extra_headers object

    functions

    object

    anyOf

  • Array [

  • ]

  • function_call

    object

    anyOf

    string

    api_version

    object

    anyOf

    string

Responses

Successful Response

Schema

    any

Loading...