Commit Graph
63 Commits
Author SHA1 Message Date
chiyi 33b5fc3b0e fix(runway): retry the /v1/tasks submit on transient errors
A dropped proxy connection (EOF) or 5xx on the task-create failed the whole generation. submitTask now retries transient (ErrTemporaryUpstream) submits up to 3x with backoff, honoring ctx. Applies to both Nano Banana image and Gen-4 video. Validated: 10/10 4K images (19-24MB PNG each) generated across 10 accounts.
2026-07-09 17:06:43 +08:00
chiyi cc6a2b1c54 fix(runway): raise the tls-client timeout so large artifact downloads don't cancel
Runway (Nano Banana 2) used a 30s whole-request timeout that includes reading the response body, so downloading a rendered image/video artifact off a slow CDN aborted with 'request canceled (Client.Timeout or context cancellation while reading body)'. Raised to 300s; genCtx still bounds the overall generation.
2026-07-09 16:55:02 +08:00
chiyi fba6772584 fix(imagine,krea,leonardo): poll for the full genCtx budget instead of a short hardcoded cap
imagine/krea capped polling at 4min and leonardo at 5min while the caller's genCtx budget is 8min, so slow-but-valid generations were killed early with 'generation timed out'. Now the poll deadline tracks ctx.Deadline() minus 60s download headroom (fallback to the old fixed cap if ctx has no deadline). chatgpt already ties its budget to the deadline (pollBudget) and runway/grok honor ctx, so no change needed there.
2026-07-09 16:52:16 +08:00
chiyi 5198b08bdf fix(adobe): poll until the genCtx deadline instead of a shorter hardcoded cap
pollImage/pollVideo capped themselves at 3min/10min while the caller's genCtx budget is 8min (image) / 12min (video), so slow-but-valid generations were killed early with 'adobe generation timed out'. Now the loop honors ctx.Err() and uses the full budget.
2026-07-09 16:49:21 +08:00
chiyi 622bc9ba9a feat(providers): account calls (auth/refresh/credits) egress on the local IP
Now only the generate/video submit uses proxy.url; cookie-exchange/login, token refresh, credit-balance and project/session bootstrap all go direct. Also splits adobe GenerateVideo (submit=proxy, poll/download=local). Verified live: adobe gpt 1K cookie-exchange via local IP, submit 23.244.30.102 (proxy) vs local 76.209.9.65, 2.0MB PNG. Build+vet pass.
2026-07-09 16:36:04 +08:00
chiyi 6c2a942a88 feat(providers): route only the generate submit through the proxy
Extends the adobe split to leonardo, krea, imagine, runway (image+video) and chatgpt: reference-image upload, polling and result download egress on the local IP; only the generate/task-create submit uses proxy.url. chatgpt keeps its anti-bot-guarded submit+upload phase on the proxy and moves only the existing second (poll/resolve/download) session to local. custom is already direct. Build+vet pass; adobe verified live, the other providers are code-complete but not yet live-tested (no dev accounts).
2026-07-09 16:21:31 +08:00
chiyi db3219416e feat(adobe): route only the image-generate submit through the proxy
Reference-image upload, job polling and result download now run on the local IP; only the generate submit egresses via proxy.url. Verified live: submit egress 74.244.159.228 (proxy) vs upload/poll/download 76.209.9.65 (local), 1K adobe gpt image generated OK.
2026-07-09 16:08:33 +08:00
chiyi f3803d01cf 更新adobe协议 2026-07-08 20:17:33 +08:00
chiyi 98b5f5a5c3 chatgot更新换号重试 2026-07-08 13:13:25 +08:00
chiyi e45ff5ef9a 恢复gpt 2026-07-08 09:22:26 +08:00
chiyi 5e809d375b 更新调度 2026-07-07 13:22:34 +08:00
chiyi ce390d9b67 增加指纹随机 2026-07-07 12:28:02 +08:00
chiyi 67354c3b8c 增加随机指纹 2026-07-07 12:03:52 +08:00
chiyi 10c312eb09 修复账号没了找不到email 2026-07-06 18:36:11 +08:00
chiyi d3a479ed76 修复误判死 2026-07-06 15:52:09 +08:00
chiyi c25e162841 grok 判死 2026-07-06 15:43:31 +08:00
chiyi 23dd70505a 优化违禁词 2026-07-06 14:28:43 +08:00
chiyi b103e6d35e 忽略原本的id 2026-07-06 12:54:03 +08:00
chiyi 89e0a9df9f 优化违禁词 2026-07-06 12:18:09 +08:00
chiyi 713cca8f67 优化chatgpt检查 2026-07-06 10:57:41 +08:00
chiyi e05db36f63 优化错误检查 2026-07-06 10:37:46 +08:00
chiyi e517c56225 更新chatgpt协议 2026-07-06 10:21:44 +08:00
chiyi c96bee4094 增加积分 2026-07-05 22:45:27 +08:00
chiyi 729a061840 更新统计 2026-07-05 19:54:49 +08:00
chiyi 07aa50e8ff 更新统计 2026-07-05 19:52:47 +08:00
chiyi d7056de56e 更新支付 2026-07-05 18:48:49 +08:00
chiyi f27c6ba60c 增加批量导入违禁词 2026-07-05 14:59:05 +08:00
chiyi 28fe59a1af 修复视频分辨率问题 2026-07-05 14:35:36 +08:00
chiyi 06f16e7924 所有拦截请求都写入日志 2026-07-05 03:15:43 +08:00
chiyi 10d0732f8c 增加违禁词管理 增加多选操作 2026-07-05 03:00:49 +08:00
chiyi b83007edb6 修复下载问题 2026-07-04 19:45:29 +08:00
chiyi fab9998a18 更新调度 2026-07-04 15:38:32 +08:00
chiyi daad121f12 优化调度 2026-07-04 15:23:43 +08:00
chiyi aef01923b0 支持模型别名 2026-07-04 15:01:24 +08:00
chiyi 03f9744dcb 增加模型别名 2026-07-04 14:49:52 +08:00
chiyi 641a021f7a grok更新 2026-07-04 12:53:48 +08:00
chiyi 34e69adefc grok修复 2026-07-03 23:33:04 +08:00
chiyi c6a8ca440a 修复grok视频参考图 2026-07-03 23:10:04 +08:00
chiyi f9e72c0168 修复bug 2026-07-03 18:12:46 +08:00
chiyi 53dc178804 更新尺寸兼容 2026-07-03 10:27:49 +08:00
chiyi 1f205fc096 修复分辨率 2026-07-03 10:13:48 +08:00
chiyi dbd2d1b79a 更新导入设计 2026-07-03 09:19:56 +08:00
chiyi 4e2844ff51 grok修复恢复时间 2026-07-03 02:10:30 +08:00
chiyi b744c5f486 更新gpt参考图数量 2026-07-03 01:52:12 +08:00
chiyi 273892f98f 更新缩略图 2026-07-03 00:15:41 +08:00
chiyi c5a059df6c 去掉1500字数限制 2026-07-02 20:54:52 +08:00
chiyi 7a168a1dd8 adobe限流不封号 2026-07-02 16:59:27 +08:00
chiyi dde178f8f7 增加上传重试 2026-07-02 15:38:54 +08:00
chiyi 12070ff4fd 更新日志展示 2026-07-02 14:23:30 +08:00
chiyi 39b149b206 更新openai风控协议 2026-07-02 13:57:08 +08:00