ModelStream LogoModelStream Logo
Models
Video API
Image API
Chat API
Audio API
Studio
Pricing
Docs
Menu
IntroductionQuickstartAPI KeysUse with Hermes AgentUse with OpenClaw
Model ListBilling Guide
ModelStream

Video API

  • Seedance 2.0
  • Happyhorse 1.0
  • Vidu Q3
  • Kling V3.0
  • Veo 3.1
  • Wan 2.7
  • More Video Models →

Image API

  • GPT Image 2
  • Nano Banana 2
  • Seedream 5.0
  • Imagen 4
  • Qwen Image 2.0
  • Z-Image Turbo
  • More Image Models →

Audio API

  • Suno Music
  • Qwen3 TTS Flash
  • More Audio Models →

Chat API

  • GLM-5.2
  • Claude Opus 4.8
  • Gemini 3.5 Flash
  • Qwen 3.7 Max
  • GPT 5.5
  • More Chat Models →

About Us

  • Privacy Policy
  • Terms of Service
  • Support
  • Enterprise

© 2026 ModelStream Inc. All rights reserved.

API Documentation
API Reference
Chat
Create Chat Completion

Create Chat Completion

Loading models...
Q
Qwen3-VL-Flash (qwen3-vl-flash)
qwen3-vl-flash0 models support this endpoint

The Qwen3 series of small-scale visual understanding models effectively integrates thinking and non-thinking modes, delivering superior performance compared to the open-source Qwen3-VL-30B-A3B while maintaining fast response speeds. It features a comprehensive upgrade in image/video understanding, supporting ultra-long contexts such as extended videos and documents, spatial awareness, and object recognition across various domains. Equipped with 2D/3D visual localization capabilities, it is well-suited for tackling complex real-world tasks. This version is functionally equivalent to snapshot qwen3-vl-flash-2026-01-22. https://bailian.console.alibabacloud.com/cn-beijing?tab=model#/model-market/detail/qwen3-vl-flash?serviceSite=asia-pacific-china

Create chat completion

https://api.modelstream.ai
POST/v1/chat/completions

Authentication

BearerAuth
AuthenticationBearer <token>

All API requests must be authenticated using a Bearer token in the Authorization header. Please ensure your API key is active.Authorization: Bearer sk-xxxxxx

Parameter Location: Header Param

Request Body

application/json

These parameters come from the selected model form_schema. Switching models updates this list and the request example.

images*array

Supports uploading one or multiple images for visual understanding.

RequiredExample Value: ["https://static.modelstream.ai/demo/qwen/qwen-vl-flash.png"]Value Range: 0 ≤ value ≤ 10
prompt*string
RequiredExample Value: What is depicted in the image?Placeholder: Please enter a question or instruction related to the image...
temperature?number

Controls the diversity of the generated text. Higher values make the output more random.

Example Value: 0.7Value Range: 0 ≤ value ≤ 1.99step: 0.01
top_p?number

Controls the diversity of the text generated. Higher values produce more diverse text.

Example Value: 0.8Value Range: 0.01 ≤ value ≤ 1step: 0.01
max_tokens?number

The maximum number of tokens in the response.

Example Value: 2048
vl_high_resolution_images?boolean

When enabled, uses a fixed-resolution strategy to improve detection of small objects, text, and details.

Example Value: false
enable_thinking?boolean

Enables thinking mode for some models (like Qwen3.6) to improve logical reasoning.

Example Value: true
thinking_budget?number

The maximum number of tokens for the thinking process.

Example Value: 81920

Response Parameters

application/json
200apiDocs.responses.successCreateResponse
id?string

Parameter description for Id

object?string

Parameter description for Object

created?integer

Parameter description for Created

model?string

Model ID used

choices?array

Parameter description for Choices

usage?object

Parameter description for Usage

prompt_tokens?integer

Parameter description for Prompt Tokens

completion_tokens?integer

Parameter description for Completion Tokens

total_tokens?integer

Parameter description for Total Tokens

prompt_tokens_details?object

Parameter description for Prompt Tokens Details

completion_tokens_details?object

Parameter description for Completion Tokens Details

system_fingerprint?string

Parameter description for System Fingerprint

400apiDocs.responses.badRequestParams
error?object

Parameter description for Error

message?string

Error Message

type?string

Error Type

param?string

Related Parameters

code?string

Error Code

429apiDocs.responses.rateLimited
error?object

Parameter description for Error

message?string

Error Message

type?string

Error Type

param?string

Related Parameters

code?string

Error Code

curl -X POST "https://api.modelstream.ai/v1/chat/completions" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen3-vl-flash",
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "image_url",
          "image_url": {
            "url": "https://static.modelstream.ai/demo/qwen/qwen-vl-flash.png"
          }
        },
        {
          "type": "text",
          "text": "What is depicted in the image?"
        }
      ]
    }
  ],
  "temperature": 0.7,
  "top_p": 0.8,
  "max_tokens": 2048,
  "vl_high_resolution_images": false,
  "enable_thinking": false,
  "thinking_budget": 81920
}'
{
  "id": "string",
  "object": "chat.completion",
  "created": 0,
  "model": "string",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "system",
        "content": null,
        "name": "string",
        "tool_calls": [
          {
            "id": "string",
            "type": "function",
            "function": {
              "name": "string",
              "arguments": "string"
            }
          }
        ],
        "tool_call_id": "string",
        "reasoning_content": "string"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 0,
    "completion_tokens": 0,
    "total_tokens": 0,
    "prompt_tokens_details": {
      "cached_tokens": 0,
      "text_tokens": 0,
      "audio_tokens": 0,
      "image_tokens": 0
    },
    "completion_tokens_details": {
      "text_tokens": 0,
      "audio_tokens": 0,
      "reasoning_tokens": 0
    }
  },
  "system_fingerprint": "string"
}