包含Go API项目的所有源代码、配置文件、Docker配置、文档和前端资源 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
498 B
Go
24 lines
498 B
Go
package constant
|
|
|
|
type TaskPlatform string
|
|
|
|
const (
|
|
TaskPlatformSuno TaskPlatform = "suno"
|
|
TaskPlatformMidjourney = "mj"
|
|
TaskPlatformKling TaskPlatform = "kling"
|
|
TaskPlatformJimeng TaskPlatform = "jimeng"
|
|
)
|
|
|
|
const (
|
|
SunoActionMusic = "MUSIC"
|
|
SunoActionLyrics = "LYRICS"
|
|
|
|
TaskActionGenerate = "generate"
|
|
TaskActionTextGenerate = "textGenerate"
|
|
)
|
|
|
|
var SunoModel2Action = map[string]string{
|
|
"suno_music": SunoActionMusic,
|
|
"suno_lyrics": SunoActionLyrics,
|
|
}
|