/
模型支持企业博客
500+ AI 模型 API,一次搞定,就在 CometAPI
模型 API
开发者
快速入门文档API 仪表板
资源
AI 模型博客企业更新日志关于
2025 CometAPI。保留所有权利。隐私政策服务条款
Home/Models/DeepSeek/DeepSeek-OCR
D

DeepSeek-OCR

每次请求:$0.04
DeepSeek-OCR es un modelo de reconocimiento óptico de caracteres para extraer texto de imágenes y documentos. Procesa páginas escaneadas, fotos y capturas de pantalla de la interfaz de usuario para producir transcripciones con indicaciones de maquetación, como los saltos de línea. Los usos comunes incluyen la digitalización de documentos, la ingesta de facturas y recibos, la indexación de búsqueda y la habilitación de flujos de RPA. Entre los aspectos técnicos destacados se incluyen el procesamiento de imágenes a texto, la compatibilidad con contenido escaneado y fotografiado, y la salida de texto estructurado para su análisis posterior.
新
商用
概览
功能亮点
定价
API

Technical Specifications of deepseek-ocr

SpecificationDetails
Model Namedeepseek-ocr
ProviderDeepSeek via CometAPI
CategoryOCR / image-to-text
Input ModalitiesImages, scanned documents, photographed pages, UI screenshots
Output ModalitiesPlain text transcription with layout cues such as line breaks
Primary FunctionExtract text from visual documents and screenshots for downstream processing
Common Use CasesDocument digitization, invoice and receipt intake, search indexing, RPA enablement
Technical HighlightsImage-to-text processing, support for scanned and photographed content, structured text output

What is deepseek-ocr?

deepseek-ocr is an optical character recognition model designed to extract readable text from images and document-like visual inputs. It can process scanned pages, phone-captured photos, receipts, invoices, and interface screenshots, then return transcribed text in a form that preserves useful layout signals such as line breaks.

This makes deepseek-ocr useful for teams that need to convert unstructured visual content into machine-readable text. Typical workflows include digitizing archives, parsing business documents, indexing content for search, and feeding extracted text into automation or analytics pipelines.

Because the model focuses on image-to-text conversion, it is a practical choice when the goal is reliable transcription from visual sources rather than general image understanding. Its structured text output can also simplify downstream parsing, validation, and data extraction logic.

Main features of deepseek-ocr

  • Image-to-text extraction: Converts text embedded in images and document captures into machine-readable output.
  • Scanned document support: Works on scanned pages and digitized paperwork commonly used in enterprise workflows.
  • Photographed content handling: Can process camera-captured pages, receipts, and forms where text appears in real-world conditions.
  • Screenshot transcription: Extracts text from UI screenshots and application captures for indexing, testing, or automation.
  • Layout-aware output: Preserves cues such as line breaks to make the transcription easier to read and parse.
  • Document workflow friendly: Fits well into invoice intake, receipt processing, archival digitization, and back-office automation.
  • Structured downstream usage: Produces text that can be passed into parsers, search systems, validation layers, or RPA pipelines.

How to access and integrate deepseek-ocr

Step 1: Sign Up for API Key

To get started, create an account on CometAPI and generate your API key from the dashboard. This key is required to authenticate all requests and route them through the CometAPI platform.

Step 2: Send Requests to deepseek-ocr API

Once you have your API key, send requests to the CometAPI endpoint using deepseek-ocr as the model ID. Include your input payload, authentication headers, and any application-specific parameters required by your OCR workflow.

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "model": "deepseek-ocr",
    "input": [
      {
        "role": "user",
        "content": [
          {
            "type": "input_text",
            "text": "Extract the text from this document image."
          },
          {
            "type": "input_image",
            "image_url": "https://example.com/document.png"
          }
        ]
      }
    ]
  }'

Step 3: Retrieve and Verify Results

After the request completes, inspect the returned output text and verify that the extracted content matches the source image or document. For production OCR pipelines, it is a good practice to add confidence checks, post-processing rules, and human review for edge cases such as low-quality scans or complex layouts.

DeepSeek-OCR 的功能

了解 DeepSeek-OCR 的核心能力,帮助提升性能与可用性,并改善整体体验。

DeepSeek-OCR 的定价

查看 DeepSeek-OCR 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
每次请求:$0.04
每次请求:$0.05
-20%

DeepSeek-OCR 的示例代码与 API

获取完整示例代码与 API 资源,简化 DeepSeek-OCR 的集成流程,我们提供逐步指导,助你发挥模型潜能。

更多模型