Skip to main content

dria generate

Generate text with any model on the network. Streams by default.

Basic usage

Streaming vs non-streaming

Streaming is enabled by default — tokens appear as they’re generated:

Vision (image attachments)

Attach images with -a. Use a vision model (models with -vl in the name):
Multiple attachments:
Supported formats: .jpg, .jpeg, .png, .gif, .webp, .bmp

Structured output

Extract structured data by specifying field names:
Field types: string (default), integer, number, boolean. Separate with commas, specify type with :. For complex schemas, use a JSON schema file:

Piping

Pipe prompts from stdin:
Pipe output to other tools:

Options