Skip to main content
Dartantic supports multi-modal input, including text, images, PDFs and other binary attachments. You can attach local files, download files from URLs, attach raw bytes, attach links, or mix and match all of the above.

Local Files

You can attach local files to prompts you send to your agent:

Download from URL

You can download data from links:

Raw Bytes

You can attach bytes you’ve already got in memory:

Web URLs

You an attach links w/o downloading:

Mix and Match Attachments

You can mix and match:

Audio Transcription

Google Gemini models support audio transcription natively through the chat interface. Simply attach an audio file and request transcription in your prompt.

Text Transcription

For simple text transcription, attach an audio file and request the transcription:

Transcription with Timestamps

For word-level timestamps and structured output, use typed responses with a JSON schema:

Provider Support

Note: Only Google Gemini models currently support audio transcription through the chat interface.

OCR (Optical Character Recognition)

Google Gemini models support OCR for extracting text from images. Simply attach an image containing text and request extraction in your prompt.

Text Extraction

Extract text from images while preserving formatting and structure:

Use Cases

OCR is useful for:
  • Extracting text from scanned documents
  • Reading text from screenshots
  • Processing forms and receipts
  • Analyzing documents with complex layouts
  • Converting images of text to editable format

Provider Support

Note: For specialized OCR tasks requiring extremely high accuracy or specific document types, consider using dedicated OCR services. Mistral also offers a specialized OCR model (mistral-ocr-3-25-12) for document processing, which will be supported once the SDK adds vision capabilities.

Examples

Next Steps