chiyi and Devin
babfc71f13
feat(upstream): 自定义上游支持 Vivid 协议(/v1/generate NDJSON)
...
- custom 上游新增 protocol 选项(openai|vivid);vivid 走
POST /v1/generate NDJSON 流:跳过心跳空行,取末行终态,
断流携 jobId 重连不重复扣费;参考图先 POST /v1/uploads
拿预签名再 PUT 直传;错误码 4011/4002/4293/5001/4001 分类
- 添加上游弹窗加协议二选一;账号 meta 存 protocol 并可回显
- 附 vivid 链路单测(成功流/URL 透传/失败帧/错误码/两步上传)
Generated with [Devin](https://devin.ai )
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-14 12:18:26 +08:00
chiyi
4fb7fc9204
feat: sync all features to image2api
2026-08-15 23:00:30 +08:00
chiyi
f76ecd5769
feat: 二次元前端改版 + 后端账号plan探测/调度修复
2026-08-06 10:11:05 +08:00
Linda
a65f52b7f4
admin lists: server-side pagination + filters for accounts/users/cdks/showcase/banned-words (limit/offset/total; stats over full set; /showcase/admin flat paginated view; dead=1 accounts filter for bulk dead-delete)
2026-07-16 10:48:35 +08:00
chiyi and Claude Opus 4.8
3ef84bb9b3
feat: 自定义 OpenAI 兼容上游聚合 + 权重/并发调度
...
- custom provider:把任意 v1 端点当账号(base_url+key),按 model id 路由,
直连不走代理;支持 images/generations、images/edits、Sora 式异步视频
- 调度器全局权重优先 + 每账号并发感知(上游账号可配并发,其余系统固定)
- 后台:添加/编辑上游、自定义模型表单(每档普通/代理价,留空=不支持)、
账号权重/并发列与导入权重
- grok-video / nano-banana-2(runway) 写入硬编码目录(开源自带);
去掉 540p,Adobe 视频最低 720p
- UI:SelectMenu 与输入框等高、测试耗时改用秒
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-28 21:59:46 +08:00
chiyi and Claude Opus 4.8
17cd289dfd
feat: add Grok (grok.com) video provider; runway nano-banana image; unify runway/grok pool policy
...
- grok provider: imagine text/image-to-video (media.post.create → conversations/new),
GetGrokCreditsConfig credit query (remaining = 100 - used) + weekly reset, spoofed
x-statsig-id (no Cloudflare clearance needed), /api/auth/session email lookup,
6 reference images, 10 concurrent jobs/account, no token refresh (dead = dead)
- runway: nano-banana-2 image flow (Nano Banana 2); drop pre-deduct + post-success
reconcile; out-of-credits/403 → dead (no revive); 10-ratio support
- imagine: drop post-success credit reconcile (consistent with krea)
- account gate: per-account N-concurrency (grok=10, others=1)
- admin: provider health lists all 7 providers; frontend import auto-detects Grok SSO
- docs: README (CN/EN) updated to 7 providers + Grok
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-28 04:01:06 +08:00
chiyi and Claude Opus 4.8
606caaf047
Initial open-source release (MIT): image2api AI gateway
...
Full Go backend + Vue 3 frontend, OpenAI-compatible API, multi-provider
account pools, billing/admin, Docker one-command deploy with auto HTTPS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 22:59:04 +08:00