DeepSeek has updated its vision capabilities, transitioning from the retired deepseek-v4-flash-vision-exp to the current deepseek-flash model, which supports multimodal inputs including JPEG, PNG, GIF, and WebP formats. Developers can provide images using three OpenAI-compatible methods: base64-encoded data URLs, external HTTP(S) links, or references to files uploaded via the Files API. While inline base64 and external URLs are limited to a 32 MiB per-image size and a 48 MiB total request body, the Files API allows for individual images up to 64 MiB and a total request capacity of 200 MiB. The model processes images by resizing them to a target pixel count equivalent to a 1300×1300 image, capping usage at 1024 tokens per image. Users can control processing detail via the "detail" parameter, with "low" downscaling images to 512×512 for efficiency. Technical constraints include a maximum dimension of 8192 pixels per side (reducing to 4096 pixels if a request contains 15 or more images) and a limit of 600 images per request. Additionally, DeepSeek provides an Anthropic-compatible endpoint for image submission using a specific source object structure.

Read original