DeepSeek V4 Flash Vision Exp accepts text and image input for multimodal understanding and agent workflows. It supports the Responses API and remains compatible with Chat Completions.
Provider: DeepSeek
Category: text generation
Endpoint: /v1/responses
Status: Available
Cost: --
DeepSeek V4 Flash Vision Exp accepts text and image input for multimodal understanding and agent workflows. It supports the Responses API and remains compatible with Chat Completions.
API access
Endpoint
POST /v1/responses
Base URL
https://api.hiapi.ai
Uses the OpenAI Responses format. One HiAPI key works across all available models.
Input price
572 Credits
/ 1M tokens
Output price
1,715 Credits
/ 1M tokens
Context
1.05M
context window
Max output
262.1K
output tokens
Ask a question, upload images, or paste from clipboard. Then inspect the streamed answer, token usage, latency, and estimated cost.
Upload or paste up to 4 images, 10 MB each. Images are safety reviewed.
Call DeepSeek V4 Flash Vision Exp with the streaming OpenAI Responses format. Copy a ready-to-use cURL, Python, or Node.js example below.
/v1/responsescurl -N -X POST "https://api.hiapi.ai/v1/responses" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash-vision-exp",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "分析一张图片并结合文字要求给出可执行的结论。"
}
]
}
],
"stream": true,
"store": false,
"max_output_tokens": 1024,
"reasoning": {
"effort": "high"
}
}'Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.
Uses the OpenAI Responses format. Keep stream: true, send input as a message array, and set reasoning effort with reasoning.effort.
Combine input_text and input_image in one input message. Use a public HTTPS image URL; Playground uploads automatically provide a temporary reviewed URL.
/v1/responsescurl -N -X POST "https://api.hiapi.ai/v1/responses" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash-vision-exp",
"input": [
{
"type": "message",
"role": "user",
"content": [
{
"type": "input_text",
"text": "Describe the main subject, setting, and important visual details."
},
{
"type": "input_image",
"image_url": "https://static.hiapi.ai/example/subject-1.jpg",
"detail": "low"
}
]
}
],
"stream": true,
"store": false,
"max_output_tokens": 1024,
"reasoning": {
"effort": "high"
}
}'Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.
Uses the OpenAI Responses format. Keep stream: true, send input as a message array, and set reasoning effort with reasoning.effort.
Responses API
Start with core fields, then enable advanced capabilities as needed.
The fields that form a valid request
Enable reasoning, context, and tools as needed
Max output is a model specification limit, not a per-request generation target. Examples show only the runtime fields currently available and verified on HiAPI.
Billing is based on actual input, output, and cached token usage. All prices below are shown per 1 million tokens.
Prompts and context sent to the model
Responses and reasoning generated by the model
These specifications reflect the current public HiAPI text request contract. Undisclosed capabilities are not inferred by the page.
DeepSeek V4 Flash Vision Exp accepts text and image input for multimodal understanding and agent workflows. It supports the Responses API and remains compatible with Chat Completions.
HiAPI exposes this model through /v1/responses. Test prompts and parameters in the Playground, then use the same HiAPI API key in your server application.
The Playground and API share the same model ID, so three steps take a tested prompt into production.
Step 1
Test instructions, input, and reasoning.effort in the Playground.
Step 2
View an existing key or create another after signing in; one key works across all available models.
Step 3
Send requests to /v1/responses and track cost with the usage object.
It accepts text and images and returns text. Use it for image descriptions, document and chart understanding, visual questions, and reasoning over images. Choose an image model to generate or edit images.
Set model to deepseek-v4-flash-vision-exp. Use POST /v1/responses with input, or POST /v1/chat/completions with messages. Their image formats differ, so use the example for your chosen endpoint.
The Playground accepts uploaded or pasted JPEG, PNG, WebP and GIF files: up to 4 images per message, 10 MB each. The API accepts public HTTPS image URLs or base64 data URLs. Responses uses input_image; Chat Completions uses image_url content blocks. The stated upload count and size limits apply to the Playground.
Responses uses reasoning.effort. The page offers none, low, medium and high, defaulting to high. none disables reasoning; other levels request reasoning effort, with latency and token use depending on the task. For Chat Completions, disable reasoning with reasoning.enabled=false.
The context window is 1,048,576 tokens and the output budget limit is 262,144 tokens. The Playground and default examples use 1,024. Reasoning tokens count toward this budget and may consume much of it before the final answer. Raise max_output_tokens or retry without reasoning when output is truncated; combined input and output must still fit the context window.
Image tokens count as input, reasoning tokens count as output, and cached input is billed at the cached-input rate. See the live pricing section for all three rates. Compare usage.input_tokens, usage.output_tokens and input_tokens_details.cached_tokens against your API logs. A cache hit does not make the entire request free.
The examples use store:false. Resend the required context in input on each turn; a previous text response alone does not retain the conversation for you. With Chat Completions, put the relevant history in messages.
Yes. For Responses, use text.format.type=json_object for JSON and tools/tool_choice to define and select functions. Your application executes returned function calls, then supplies a function_call_output with the matching call_id. The model does not execute local code for your application. See the API documentation for complete examples.
Read text from response.output_text.delta and final usage from response.completed. Also handle response.incomplete and response.failed. Do not wait for the Chat Completions [DONE] marker on the Responses endpoint.
Yes, if the key has access to this model and the account has sufficient balance. Set the OpenAI SDK base_url to https://api.hiapi.ai/v1 and use responses.create or chat.completions.create. The web Playground uses your signed-in session, so you do not paste an API key there.