Commit Graph
2 Commits
Author SHA1 Message Date
Zhengshou Lai 58a141416c fix(api): avoid circular import by deferring protocols import 2026-06-03 23:45:12 +08:00
Zhengshou Lai 334ff647fc feat(api): extract pure API clients for image generation and TTS
- Add bin/api/ package with generate_image() and synthesize_tts()
- Refactor bin/commands/image.py to call bin.api.image.generate_image
- Refactor bin/commands/voice.py to call bin.api.voice.synthesize_tts
- API layer is free of Click CLI dependencies, usable by external scripts
2026-06-03 23:43:28 +08:00