DeepSeek-v4-flash-vision-exp DeepSeek released deepseek-v4-flash-vision-exp, a vision-language model that accepts images alongside text via the OpenAI-compatible Chat Completions API, supporting JPEG, PNG, GIF, and WebP formats. The model can be accessed through three input methods: base64-encoded inline images (up to 48 MiB request body limit), external image URLs (max 8192 characters, 32 MiB file, 60-second download), or Files API file_id references (up to 64 MiB). Vision The deepseek-v4-flash-vision-exp model accepts images alongside text, so you can ask the model to describe pictures, read text from screenshots, analyze charts, and more. Supported image formats: JPEG, PNG, GIF, and WebP . The format is detected from the actual file content, not from the file name or the declared MIME type. Sending Images There are three ways to provide an image to the model. All of them use the standard OpenAI-compatible Chat Completions format, where content is an array of blocks instead of a plain string. The same three methods are also available in the Responses API /guides/responses api image-input , where images are carried in input image content parts. The base url for the examples below is https://api.deepseek.com . 1. Base64-encoded image inline Encode the image and embed it directly in the request as a data: URL. This is the simplest option for local files. The encoded data counts toward the 48 MiB request body limit see Limits limits . python import base64from openai import OpenAIclient = OpenAI api key="