Files
image2api/frontend
chiyiandDevin 76510d34c9 feat(protocol): /v1 协议去除 fixed 时长模式,统一 options/range
- /v1/models:单值时长也输出 {"mode":"options","options":[N]},不再发 fixed
- 导入/同步校验只接受 options / range,fixed 分支删除,报错「时长模式仅支持 options / range」
- 渠道模型预览的 fixed 展示分支去掉
- 内部存储不变(durations 数组),历史模型与下单逻辑不受影响

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-27 21:16:22 +08:00
..
2026-07-08 09:49:54 +08:00
2026-07-08 09:49:54 +08:00

image2api frontend

Vue 3 + Vite frontend for image2api: user-facing generation UI (playground, gallery, docs, billing) plus the admin console (channels, models, users, orders, logs, config).

Develop

npm install
npm run dev        # http://localhost:5173

The dev server proxies /admin, /health, /images, /v1 to the backend. Start the Go backend separately (see backend/README.md).

# from ../backend
go build -o bin/api ./cmd/api && ./bin/api   # http://127.0.0.1:6666