9 Commits

Author SHA1 Message Date
336f614041 feat: MiniMax M3接入 + M2.7-highspeed + 补充全模型定价
- 新增httpapi: minimax_openai t2t (OpenAI兼容)
- 新增llm: MiniMax-M3, MiniMax-M2.7-highspeed
- 新增llm_api_map: M3和M2.7-highspeed的t2t映射
- 新增pricing_program: mm_tts_pricing (TTS定价)
- 补充6个现有模型的ppid (Hailuo/S2V/Music/TTS)
- 更新5jmzup定价: 追加M3定价条目
- 供应商文档: docs/vendor-minimax.md
2026-06-12 16:17:44 +08:00
bbe067e2b9 docs: update docs/API.md with /v1/pricing endpoint 2026-06-11 15:20:31 +08:00
df8aafe1d8 feat: add TTS and ASR audio API endpoints
- POST /v1/audio/speech (TTS): MiniMax Speech 2.6 Turbo/HD, 2.5 HD, F5-TTS local
- POST /v1/audio/transcriptions (ASR): qwen3-asr-flash, Nvidia parakeet
- Add comprehensive docs for both endpoints in API.md
- Update load_path.py RBAC (logined + customer roles)
2026-06-04 13:58:26 +08:00
ae02a7e88c feat: add music generation API (MiniMax Music 2.5/2.6)
- Add POST /v1/music/generations endpoint (index.dspy)
- Add music generation section to API docs
- Update load_path.py RBAC permissions for new path
- Models: music-2.6, music-2.5 (MiniMax, sync, returns audio URL)
- Required params: model, catelogid=music_gen, prompt, lyrics
2026-06-04 13:40:08 +08:00
45458159d4 docs: 快乐马 I2V 图片参数名更正为 image_file(非 image_url) 2026-05-30 23:15:52 +08:00
a7099d37f3 docs: add video model-specific input parameters to API.md
Extracted input parameters from video-model-api-doc.md for each platform:
- Vidu: T2V, I2V, 2I2V, Ref2V (v1/v2 subject/non-subject modes)
- Seedance: T2V, TI2V, Ref2V
- Tongyi/DashScope: T2V, I2V, 2I2V, Ref2V, IA2V
- Kling: T2V
- Hailuo/MiniMax: TI2V
- HappyHorse: T2V, I2V, Ref2V
2026-05-30 22:45:51 +08:00
5d52d02319 refactor: V1 API 支持新 catelogid 缩写(t2t/t2v/t2i等),向后兼容中文名
- v1/chat/completions: 默认值 '文生文' → 't2t',SQL 匹配 b.id OR b.name
- v1/video/generations: SQL 匹配 b.id OR b.name,注释示例更新
- v1/image/generations: SQL 匹配 b.id OR b.name,注释示例更新
- t2t/index.dspy: 默认值 '文生文' → 't2t',SQL 匹配 b.id OR b.name
- get_type_llms.dspy: 硬编码中文名改为 alias 映射(t2v/i2v/r2v)
- docs/API.md: 添加完整 catelogid ID 对照表,示例参数更新
2026-05-30 20:36:16 +08:00
08bebcd257 refactor: v1 API 统一使用 catelogid 参数替代 lctype/llmcatelogid 2026-05-30 16:22:21 +08:00
ca51e168dc docs: add API documentation for all /v1 endpoints
- docs/API.md: comprehensive API docs covering:
  - POST /v1/chat/completions (text generation)
  - POST /v1/video/generations (video generation, new)
  - POST /v1/image/generations (image generation, new)
  - GET /v1/tasks (async task status)
  - GET /v1/models (list available models)
  - Authentication, balance check, and billing notes
2026-05-26 13:10:05 +08:00