summaryrefslogtreecommitdiff
path: root/internal/provider/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/provider/provider.go')
-rw-r--r--internal/provider/provider.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/provider/provider.go b/internal/provider/provider.go
index 256dc4c..e8fedab 100644
--- a/internal/provider/provider.go
+++ b/internal/provider/provider.go
@@ -32,6 +32,12 @@ type ImageProvider interface {
GenerateImage(ctx context.Context, prompt string, outputFile string) error
}
+// AspectRatioImageProvider generates images with an explicit aspect ratio.
+type AspectRatioImageProvider interface {
+ ImageProvider
+ GenerateImageWithAspectRatio(ctx context.Context, prompt string, outputFile string, aspectRatio string) error
+}
+
// TTSProvider generates audio from text.
type TTSProvider interface {
Name() string