
Overview
The Dedalus Go SDK provides convenient access to the Dedalus REST API from applications written in Go. Built with Stainless, it offers a type-safe, idiomatic Go interface for interacting with AI models and services.Quickstart
Get started with your first chat completion in minutes
Installation
Install the SDK and set up your development environment
Key Features
Chat Completions
Chat Completions
Create conversational AI experiences with support for streaming responses, system messages, and multi-turn conversations.
Text Embeddings
Text Embeddings
Generate vector embeddings for text inputs to power semantic search, clustering, and recommendation systems.
Audio Processing
Audio Processing
Comprehensive audio capabilities including speech synthesis (text-to-speech), transcription (speech-to-text), and audio translation.
Image Generation
Image Generation
Create, edit, and generate variations of images using powerful AI models.
Model Management
Model Management
List available models and retrieve detailed information about model capabilities and configurations.
Type-Safe Parameters
Type-Safe Parameters
Use generic Field types to distinguish between zero values, null values, and omitted fields, preventing accidental errors.
Automatic Retry
Automatic Retry
Built-in retry logic with exponential backoff for connection errors, timeouts, and rate limits.
Middleware Support
Middleware Support
Add custom request/response handling with middleware for logging, monitoring, and request modification.
Multiple Environments
Multiple Environments
Switch between production and development environments with simple configuration options.
File Upload Handling
File Upload Handling
Seamless file upload support for audio transcription, image generation, and other file-based operations.
OpenAI Compatible
The Dedalus SDK maintains full compatibility with OpenAI API standards while providing additional Dedalus-specific features like server-side tool execution and MCP error reporting.Quick Example
Next Steps
API Reference
Explore the complete API documentation
GitHub Repository
View source code and contribute
