Skip to content

Commit 8148b0a

Browse files
committed
Add OpenAI TTS Voice
1 parent 329e6c0 commit 8148b0a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api/OpenAiAudioApi.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,13 @@ public enum Voice {
392392
@JsonProperty("nova")
393393
NOVA("nova"),
394394
@JsonProperty("shimmer")
395-
SHIMMER("shimmer");
395+
SHIMMER("shimmer"),
396+
@JsonProperty("sage")
397+
SAGE("sage"),
398+
@JsonProperty("coral")
399+
CORAL("coral"),
400+
@JsonProperty("ash")
401+
ASH("ash");
396402
// @formatter:on
397403

398404
public final String value;

0 commit comments

Comments
 (0)