├── .cursor └── rules │ └── gf-rule.mdc ├── .gitattributes ├── .github └── workflows │ └── build.yaml ├── .gitignore ├── Makefile ├── README.MD ├── api ├── cosyvoice │ ├── cosyvoice.pb.go │ └── cosyvoice_grpc.pb.go ├── model │ ├── model.go │ └── v1 │ │ └── model.go ├── tts │ ├── tts.go │ └── v1 │ │ └── tts.go ├── video │ ├── v1 │ │ └── video.go │ └── video.go └── voice │ ├── v1 │ └── voice.go │ └── voice.go ├── go.mod ├── go.sum ├── hack ├── config.yaml ├── hack-cli.mk └── hack.mk ├── internal ├── boot │ └── init.go ├── cmd │ └── cmd.go ├── consts │ ├── consts.go │ ├── f2f.go │ ├── model.go │ └── tts.go ├── controller │ ├── model │ │ ├── model.go │ │ ├── model_new.go │ │ └── model_v1_model.go │ ├── tts │ │ ├── tts.go │ │ ├── tts_new.go │ │ └── tts_v1_tts.go │ ├── video │ │ ├── video.go │ │ ├── video_new.go │ │ └── video_v1_video.go │ └── voice │ │ ├── voice.go │ │ ├── voice_new.go │ │ └── voice_v1_voice.go ├── dao │ ├── .gitkeep │ ├── context.go │ ├── internal │ │ ├── context.go │ │ ├── model.go │ │ ├── video.go │ │ └── voice.go │ ├── model.go │ ├── video.go │ └── voice.go ├── logic │ ├── cosyvoice │ │ └── cosyvoice.go │ ├── logic.go │ ├── model │ │ └── model.go │ ├── tts │ │ └── tts.go │ ├── video │ │ └── video.go │ └── voice │ │ └── voice.go ├── model │ ├── base.go │ ├── do │ │ ├── model.go │ │ ├── video.go │ │ └── voice.go │ ├── entity │ │ ├── model.go │ │ ├── video.go │ │ └── voice.go │ ├── f2f.go │ └── input │ │ ├── cosyin │ │ └── cosyvoice.go │ │ ├── filein │ │ └── file.go │ │ ├── modelin │ │ └── model.go │ │ ├── ttsin │ │ └── tts.go │ │ ├── videoin │ │ └── video.go │ │ └── voicein │ │ └── voice.go ├── packed │ └── packed.go ├── pkg │ ├── cosyvoice │ │ └── cosyvioce.go │ ├── f2f │ │ └── f2f.go │ └── tts │ │ └── tts.go └── service │ ├── model.go │ ├── tts.go │ ├── video.go │ └── voice.go ├── main.go ├── manifest ├── config │ ├── config.docker.yaml │ └── config.yaml ├── deploy │ ├── docker-compose.yml │ ├── kustomize │ │ ├── base │ │ │ ├── deployment.yaml │ │ │ ├── kustomization.yaml │ │ │ └── service.yaml │ │ └── overlays │ │ │ └── develop │ │ │ ├── configmap.yaml │ │ │ ├── deployment.yaml │ │ │ └── kustomization.yaml │ └── mysql │ │ ├── docker-compose.yml │ │ ├── init.sql │ │ └── my.cnf ├── docker │ ├── Dockerfile │ └── start.sh ├── i18n │ └── .gitkeep └── protobuf │ └── cosyvoice.proto ├── resource └── public │ └── .gitkeep ├── test └── ffmpeg_test.go └── utility ├── .gitkeep ├── builder.go └── path.go /.cursor/rules/gf-rule.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/.cursor/rules/gf-rule.mdc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * linguist-language=GO -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/Makefile -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/README.MD -------------------------------------------------------------------------------- /api/cosyvoice/cosyvoice.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/cosyvoice/cosyvoice.pb.go -------------------------------------------------------------------------------- /api/cosyvoice/cosyvoice_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/cosyvoice/cosyvoice_grpc.pb.go -------------------------------------------------------------------------------- /api/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/model/model.go -------------------------------------------------------------------------------- /api/model/v1/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/model/v1/model.go -------------------------------------------------------------------------------- /api/tts/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/tts/tts.go -------------------------------------------------------------------------------- /api/tts/v1/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/tts/v1/tts.go -------------------------------------------------------------------------------- /api/video/v1/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/video/v1/video.go -------------------------------------------------------------------------------- /api/video/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/video/video.go -------------------------------------------------------------------------------- /api/voice/v1/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/voice/v1/voice.go -------------------------------------------------------------------------------- /api/voice/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/api/voice/voice.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/go.sum -------------------------------------------------------------------------------- /hack/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/hack/config.yaml -------------------------------------------------------------------------------- /hack/hack-cli.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/hack/hack-cli.mk -------------------------------------------------------------------------------- /hack/hack.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/hack/hack.mk -------------------------------------------------------------------------------- /internal/boot/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/boot/init.go -------------------------------------------------------------------------------- /internal/cmd/cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/cmd/cmd.go -------------------------------------------------------------------------------- /internal/consts/consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/consts/consts.go -------------------------------------------------------------------------------- /internal/consts/f2f.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/consts/f2f.go -------------------------------------------------------------------------------- /internal/consts/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/consts/model.go -------------------------------------------------------------------------------- /internal/consts/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/consts/tts.go -------------------------------------------------------------------------------- /internal/controller/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/model/model.go -------------------------------------------------------------------------------- /internal/controller/model/model_new.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/model/model_new.go -------------------------------------------------------------------------------- /internal/controller/model/model_v1_model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/model/model_v1_model.go -------------------------------------------------------------------------------- /internal/controller/tts/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/tts/tts.go -------------------------------------------------------------------------------- /internal/controller/tts/tts_new.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/tts/tts_new.go -------------------------------------------------------------------------------- /internal/controller/tts/tts_v1_tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/tts/tts_v1_tts.go -------------------------------------------------------------------------------- /internal/controller/video/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/video/video.go -------------------------------------------------------------------------------- /internal/controller/video/video_new.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/video/video_new.go -------------------------------------------------------------------------------- /internal/controller/video/video_v1_video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/video/video_v1_video.go -------------------------------------------------------------------------------- /internal/controller/voice/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/voice/voice.go -------------------------------------------------------------------------------- /internal/controller/voice/voice_new.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/voice/voice_new.go -------------------------------------------------------------------------------- /internal/controller/voice/voice_v1_voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/controller/voice/voice_v1_voice.go -------------------------------------------------------------------------------- /internal/dao/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/dao/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/context.go -------------------------------------------------------------------------------- /internal/dao/internal/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/internal/context.go -------------------------------------------------------------------------------- /internal/dao/internal/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/internal/model.go -------------------------------------------------------------------------------- /internal/dao/internal/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/internal/video.go -------------------------------------------------------------------------------- /internal/dao/internal/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/internal/voice.go -------------------------------------------------------------------------------- /internal/dao/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/model.go -------------------------------------------------------------------------------- /internal/dao/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/video.go -------------------------------------------------------------------------------- /internal/dao/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/dao/voice.go -------------------------------------------------------------------------------- /internal/logic/cosyvoice/cosyvoice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/logic/cosyvoice/cosyvoice.go -------------------------------------------------------------------------------- /internal/logic/logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/logic/logic.go -------------------------------------------------------------------------------- /internal/logic/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/logic/model/model.go -------------------------------------------------------------------------------- /internal/logic/tts/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/logic/tts/tts.go -------------------------------------------------------------------------------- /internal/logic/video/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/logic/video/video.go -------------------------------------------------------------------------------- /internal/logic/voice/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/logic/voice/voice.go -------------------------------------------------------------------------------- /internal/model/base.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/base.go -------------------------------------------------------------------------------- /internal/model/do/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/do/model.go -------------------------------------------------------------------------------- /internal/model/do/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/do/video.go -------------------------------------------------------------------------------- /internal/model/do/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/do/voice.go -------------------------------------------------------------------------------- /internal/model/entity/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/entity/model.go -------------------------------------------------------------------------------- /internal/model/entity/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/entity/video.go -------------------------------------------------------------------------------- /internal/model/entity/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/entity/voice.go -------------------------------------------------------------------------------- /internal/model/f2f.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/f2f.go -------------------------------------------------------------------------------- /internal/model/input/cosyin/cosyvoice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/input/cosyin/cosyvoice.go -------------------------------------------------------------------------------- /internal/model/input/filein/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/input/filein/file.go -------------------------------------------------------------------------------- /internal/model/input/modelin/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/input/modelin/model.go -------------------------------------------------------------------------------- /internal/model/input/ttsin/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/input/ttsin/tts.go -------------------------------------------------------------------------------- /internal/model/input/videoin/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/input/videoin/video.go -------------------------------------------------------------------------------- /internal/model/input/voicein/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/model/input/voicein/voice.go -------------------------------------------------------------------------------- /internal/packed/packed.go: -------------------------------------------------------------------------------- 1 | package packed 2 | -------------------------------------------------------------------------------- /internal/pkg/cosyvoice/cosyvioce.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/pkg/cosyvoice/cosyvioce.go -------------------------------------------------------------------------------- /internal/pkg/f2f/f2f.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/pkg/f2f/f2f.go -------------------------------------------------------------------------------- /internal/pkg/tts/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/pkg/tts/tts.go -------------------------------------------------------------------------------- /internal/service/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/service/model.go -------------------------------------------------------------------------------- /internal/service/tts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/service/tts.go -------------------------------------------------------------------------------- /internal/service/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/service/video.go -------------------------------------------------------------------------------- /internal/service/voice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/internal/service/voice.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/main.go -------------------------------------------------------------------------------- /manifest/config/config.docker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/config/config.docker.yaml -------------------------------------------------------------------------------- /manifest/config/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/config/config.yaml -------------------------------------------------------------------------------- /manifest/deploy/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/docker-compose.yml -------------------------------------------------------------------------------- /manifest/deploy/kustomize/base/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/kustomize/base/deployment.yaml -------------------------------------------------------------------------------- /manifest/deploy/kustomize/base/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/kustomize/base/kustomization.yaml -------------------------------------------------------------------------------- /manifest/deploy/kustomize/base/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/kustomize/base/service.yaml -------------------------------------------------------------------------------- /manifest/deploy/kustomize/overlays/develop/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/kustomize/overlays/develop/configmap.yaml -------------------------------------------------------------------------------- /manifest/deploy/kustomize/overlays/develop/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/kustomize/overlays/develop/deployment.yaml -------------------------------------------------------------------------------- /manifest/deploy/kustomize/overlays/develop/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/kustomize/overlays/develop/kustomization.yaml -------------------------------------------------------------------------------- /manifest/deploy/mysql/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/mysql/docker-compose.yml -------------------------------------------------------------------------------- /manifest/deploy/mysql/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/mysql/init.sql -------------------------------------------------------------------------------- /manifest/deploy/mysql/my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/deploy/mysql/my.cnf -------------------------------------------------------------------------------- /manifest/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/docker/Dockerfile -------------------------------------------------------------------------------- /manifest/docker/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/docker/start.sh -------------------------------------------------------------------------------- /manifest/i18n/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /manifest/protobuf/cosyvoice.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/manifest/protobuf/cosyvoice.proto -------------------------------------------------------------------------------- /resource/public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ffmpeg_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/test/ffmpeg_test.go -------------------------------------------------------------------------------- /utility/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utility/builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/utility/builder.go -------------------------------------------------------------------------------- /utility/path.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/it00021hot/heygem-api/HEAD/utility/path.go --------------------------------------------------------------------------------