From c791e9fdd57af52599de266facbaba0077f31558 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 15 Jul 2025 07:48:58 +0300 Subject: feat: add OpenAI DALL-E image generation and make OpenAI default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Implement OpenAI DALL-E provider for generating educational flashcard images - Add support for DALL-E 2 and DALL-E 3 with configurable size, quality, and style - Implement intelligent caching to minimize API costs - Make OpenAI the default provider for both audio (TTS) and images (DALL-E) - Add automatic fallback to free alternatives (espeak/pixabay) when OpenAI unavailable - Fix bug where cached images couldn't be copied to output directory - Update documentation with OpenAI setup instructions and examples - Add comprehensive unit tests for OpenAI image provider - Bump version to 0.1.0 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- internal/audio/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/audio') diff --git a/internal/audio/provider.go b/internal/audio/provider.go index 5b8c336..c803b61 100644 --- a/internal/audio/provider.go +++ b/internal/audio/provider.go @@ -44,7 +44,7 @@ type Config struct { // DefaultConfig returns default configuration func DefaultProviderConfig() *Config { return &Config{ - Provider: "espeak", + Provider: "openai", OutputDir: "./", OutputFormat: "mp3", ESpeakVoice: "bg", -- cgit v1.2.3