Skip to main content
Most VLM Run Gateway models expose one or more method values that select a specific operation. Pass method (and optional method_params) at the top level of the request body, or via extra_body in the OpenAI Python SDK. If you omit method, the model’s default is applied.
{
  "model": "paddleocr/pp-ocrv6",
  "method": "ocr",
  "messages": [ ... ]
}
Every model’s live methods, default_method, and extra_body_help are also available on GET /v1/openai/models.

Visual Question Answering (VQA)

ModelMethods
qwen/qwen3.5-0.8bN/A: Free-form multimodal chat. Does not use method or method_params; send natural-language prompts in messages.

Document and Image OCR

ModelMethods
paddleocr/pp-ocrv6
  • ocr: full detection + recognition. method_params.lang selects the recognition language (en, ch, japan, …); optional method_params.score_threshold filters low-confidence lines. (default)
  • detect: text detection only. Returns bounding polygons in JSON without recognised text.
  • markdown: reading-order markdown page output used for the streaming page-block flow.
zai-org/glm-ocr
  • markdown: reading-order markdown page output used for the streaming page-block flow. (default)
rednote-hilab/dots.mocr
  • markdown: reading-order markdown page output used for the streaming page-block flow. (default)

Method Parameters

method_params is an optional object passed alongside method at the top level of the request body, or via extra_body in the OpenAI Python SDK. Keys are model- and method-specific; the tables above call out the parameters each method accepts.
{
  "model": "paddleocr/pp-ocrv6",
  "method": "ocr",
  "method_params": {
    "lang": "en",
    "score_threshold": 0.5
  },
  "messages": [ ... ]
}

Method-specific keys

KeyModelMethod(s)Description
langpaddleocr/pp-ocrv6ocr, detectRecognition language (en, ch, japan, …). Default en.
score_thresholdpaddleocr/pp-ocrv6ocrDrop text regions below this recognition confidence (0.0–1.0). Default 0.5.

Multimodal Inputs

Content part types and document input limits.

Models

Availability status and capability matrix for every model.

Chat Completions

Full request and response schema.