-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
670d064
commit e967626
Showing
4 changed files
with
133 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
jcommon/ai/minimax/src/main/java/run/mone/ai/minimax/bo/BaseResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package run.mone.ai.minimax.bo; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class BaseResponse { | ||
|
||
@SerializedName(value = "status_code") | ||
private String statusCode; | ||
|
||
@SerializedName(value = "status_msg") | ||
private String statusMsg; | ||
} |
28 changes: 28 additions & 0 deletions
28
jcommon/ai/minimax/src/main/java/run/mone/ai/minimax/bo/ExtraInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package run.mone.ai.minimax.bo; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class ExtraInfo { | ||
|
||
@SerializedName(value = "audio_length") | ||
private Long audioLength; | ||
|
||
@SerializedName(value = "audio_sample_rate") | ||
private Long audioSampleRate; | ||
|
||
@SerializedName(value = "audio_size") | ||
private Long audioSize; | ||
|
||
private Long bitrate; | ||
|
||
@SerializedName(value = "word_count") | ||
private Long wordCount; | ||
|
||
@SerializedName(value = "invisible_character_ratio") | ||
private Double invisibleCharacterRatio; | ||
|
||
@SerializedName(value = "usage_characters") | ||
private Long usageCharacters; | ||
} |
26 changes: 26 additions & 0 deletions
26
jcommon/ai/minimax/src/main/java/run/mone/ai/minimax/bo/T2AProResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package run.mone.ai.minimax.bo; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class T2AProResponse { | ||
|
||
/** | ||
* 合成的音频下载链接 | ||
*/ | ||
@SerializedName(value = "audio_file") | ||
private String audioFile; | ||
|
||
/** | ||
* 合成的字幕下载链接 | ||
*/ | ||
@SerializedName(value = "subtitle_file") | ||
private String subtitleFile; | ||
|
||
@SerializedName(value = "extra_info") | ||
private ExtraInfo extraInfo; | ||
|
||
@SerializedName(value = "base_resp") | ||
private BaseResponse baseResponse; | ||
} |