Initial commit: 军事科技AI配音系统 v1.0

- Flask backend with MiniMax and CosyVoice TTS engines
- Frontend UI with emotion tags, speed/pitch/volume controls
- Nginx reverse proxy configuration
- Dual engine support (MiniMax speech-2.8-hd, CosyVoice v3.5-flash)
This commit is contained in:
2026-06-30 21:00:20 +08:00
commit d6edc69c65
17 changed files with 1551 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from flask import Flask, jsonify
from flask_cors import CORS
def create_app():
app = Flask(__name__)
CORS(app, resources={r"/api/*": {"origins": "*"}})
from app.routes.tts_synthesize import bp as synthesize_bp
app.register_blueprint(synthesize_bp)
@app.route('/api/health')
def health(): return jsonify({'status': 'ok', 'service': '军事科技AI配音系统'})
return app
if __name__ == '__main__':
create_app().run(host='0.0.0.0', port=5000, debug=True)