jimeng-api icon indicating copy to clipboard operation
jimeng-api copied to clipboard

国际版文本和图片生成视频 模型3.0 无法生成视频

Open BlackCateYu opened this issue 10 months ago • 3 comments

请大佬解答一下,国际版文本和网络图片生成视频 模型3.0 无法生成视频,一直在轮询轮询到了900次然后又会重试轮询,开了相关地区代理生成视频也不好用,但是普通的文生视频是好用的,不开代理也能生成,想问一下是不是这个地方坏掉了呢 [2026-01-14 14:32:05.270][info][core.ts<299,10>] 发送请求: POST https://mweb-api-sg.capcut.com/mweb/v1/get_history_by_ids [2026-01-14 14:32:05.270][info][core.ts<300,10>] 请求参数: {"aid":513641,"device_platform":"web","region":"HK","da_version":"3.3.2","web_component_open_flag":1,"web_version":"7.5.0","aigc_features":"app_lip_sync"} [2026-01-14 14:32:05.270][info][core.ts<301,10>] 请求数据: {"history_ids":["20017646762756"]} [2026-01-14 14:32:05.534][info][core.ts<327,14>] 响应状态: 200 OK [2026-01-14 14:32:05.535][info][core.ts<336,14>] 响应数据摘要: {"ret":"0","errmsg":"success","systime":"1768372324","logid":"20260114143204E5B63EF7AD73A0D44FB5","data":{"20017646762756":{"generate_type":10,"history_record_id":"20017646762756","origin_history_record_id":null,"created_time":1768370561.483,"item_list":[],"origin_item_list":[],"task":{"task_id":"20017646762756","submit_id":"a336f753-f10e-11f0-9f30-d132d3dc06b1","aid":0,"status":20,"finish_time":0,"history_id":"20017646762756","task_payload":null,"original_input":null,"req_first_frame_image":nul... [2026-01-14 14:32:05.536][info][smart-poller.ts<171,16>] 轮询 737/900: status=20(PROCESSING), failCode=none, items=0, elapsed=1757s, finish_time=0, stable=736/5 一直这样请求,返回不了

BlackCateYu avatar Jan 14 '26 06:01 BlackCateYu

[2026-01-14 14:38:19.556][info][core.ts<299,10>] 发送请求: POST https://mweb-api-sg.capcut.com/mweb/v1/get_history_by_ids [2026-01-14 14:38:19.557][info][core.ts<300,10>] 请求参数: {"aid":513641,"device_platform":"web","region":"HK","da_version":"3.3.2","web_component_open_flag":1,"web_version":"7.5.0","aigc_features":"app_lip_sync"} [2026-01-14 14:38:19.557][info][core.ts<301,10>] 请求数据: {"history_ids":["20017646762756"]} [2026-01-14 14:38:19.826][info][core.ts<327,14>] 响应状态: 200 OK [2026-01-14 14:38:19.827][info][core.ts<336,14>] 响应数据摘要: {"ret":"0","errmsg":"success","systime":"1768372698","logid":"202601141438183E28F661959F20D7EA00","data":{"20017646762756":{"generate_type":10,"history_record_id":"20017646762756","origin_history_record_id":null,"created_time":1768370561.483,"item_list":[],"origin_item_list":[],"task":{"task_id":"20017646762756","submit_id":"a336f753-f10e-11f0-9f30-d132d3dc06b1","aid":0,"status":20,"finish_time":0,"history_id":"20017646762756","task_payload":null,"original_input":null,"req_first_frame_image":nul... [2026-01-14 14:38:19.828][info][smart-poller.ts<171,16>] 轮询 900/900: status=20(PROCESSING), failCode=none, items=0, elapsed=2132s, finish_time=0, stable=899/5 [2026-01-14 14:38:19.828][info][smart-poller.ts<182,18>] 退出轮询: 轮询次数超限, 最终视频数量=0 [2026-01-14 14:38:19.829][warning][error-handler.ts<112,12>] 轮询超时: 已轮询 900 次,耗时 2132 秒,最终状态: 20,图片数量: 0,历史ID: 20017646762756 [2026-01-14 14:38:19.829][error][smart-poller.ts<221,16>] 轮询过程中发生错误: 生成超时且无结果,状态码: 20,历史ID: 20017646762756 [2026-01-14 14:38:19.830][error][server.ts<318,32>] APIException [Error]: 生成超时且无结果,状态码: 20,历史ID: 20017646762756 at handlePollingTimeout (F:\wok\jimeng-api\src\lib\error-handler.ts:115:13) at SmartPoller.poll (F:\wok\jimeng-api\src\lib\smart-poller.ts:191:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async generateVideo (F:\wok\jimeng-api\src\api\controllers\videos.ts:412:61) at async /generations (F:\wok\jimeng-api\src\api\routes\videos.ts:73:30) { errcode: -2007, errmsg: '生成超时且无结果,状态码: 20,历史ID: 20017646762756', data: undefined, httpStatusCode: undefined }

BlackCateYu avatar Jan 14 '26 06:01 BlackCateYu

[2026-01-14 14:54:40.453][info][core.ts<301,10>] 请求数据: {"history_ids":["20017233426180"]} [2026-01-14 14:54:59.546][error][core.ts<351,14>] 请求失败 (尝试 1/4): socket hang up [2026-01-14 14:54:59.547][error][core.ts<368,12>] 请求失败,已重试 0 次: socket hang up [2026-01-14 14:54:59.547][error][smart-poller.ts<221,16>] 轮询过程中发生错误: socket hang up [2026-01-14 14:54:59.548][error][server.ts<318,32>] AxiosError: socket hang up at AxiosError.from (file:///F:/wok/jimeng-api/node_modules/axios/lib/core/AxiosError.js:96:14) at RedirectableRequest.handleRequestError (file:///F:/wok/jimeng-api/node_modules/axios/lib/adapters/http.js:817:25) at RedirectableRequest.emit (node:events:531:35) at eventHandlers. (F:\wok\jimeng-api\node_modules\follow-redirects\index.js:49:24) at ClientRequest.emit (node:events:519:28) at emitErrorEvent (node:_http_client:101:11) at TLSSocket.socketOnEnd (node:_http_client:528:5) at TLSSocket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (file:///F:/wok/jimeng-api/node_modules/axios/lib/core/Axios.js:45:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async request (F:\wok\jimeng-api\src\api\controllers\core.ts:316:24) at async (F:\wok\jimeng-api\src\api\controllers\videos.ts:416:20) at async SmartPoller.poll (F:\wok\jimeng-api\src\lib\smart-poller.ts:166:34) at async generateVideo (F:\wok\jimeng-api\src\api\controllers\videos.ts:412:61) at async /generations (F:\wok\jimeng-api\src\api\routes\videos.ts:73:30) { code: 'ECONNRESET', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 45000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, /', 'Content-Type': 'application/json', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept-language': 'zh-CN,zh;q=0.9', 'Cache-control': 'no-cache', Appvr: '5.8.0', Pragma: 'no-cache', Priority: 'u=1, i', Pf: '7', 'Sec-Ch-Ua': '"Google Chrome";v="142", "Chromium";v="142", "Not_A Brand";v="99"', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Windows"', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', Origin: 'https://mweb-api-sg.capcut.com', Referer: 'https://mweb-api-sg.capcut.com', Appid: '513641', Cookie: '_tea_web_id=7929132184874590000; is_staff_user=false; store-region=hk; store-region-src=uid; sid_guard=9ba975a6e0320524c5bd906644fe22c0%7C1768373680%7C5184000%7CMon%2C+03-Feb-2025+08%3A17%3A09+GMT; uid_tt=f6d0c1f0f0f711f09f30d132d3dc06b1; uid_tt_ss=f6d0c1f0f0f711f09f30d132d3dc06b1; sid_tt=9ba975a6e0320524c5bd906644fe22c0; sessionid=9ba975a6e0320524c5bd906644fe22c0; sessionid_ss=9ba975a6e0320524c5bd906644fe22c0; sid_tt=9ba975a6e0320524c5bd906644fe22c0', 'Device-Time': '1768373680', Sign: '571acf4b7760ebe89c9daa02b0fd3129', 'Sign-Ver': '1', 'Content-Length': '34' }, method: 'post', url: 'https://mweb-api-sg.capcut.com/mweb/v1/get_history_by_ids', params: { aid: 513641, device_platform: 'web', region: 'HK', da_version: '3.3.2', web_component_open_flag: 1, web_version: '7.5.0', aigc_features: 'app_lip_sync' }, data: '{"history_ids":["20017233426180"]}', allowAbsoluteUrls: true }, request: <ref *1> Writable { _events: { close: undefined, error: [Function: handleRequestError], prefinish: undefined, finish: undefined, drain: undefined, response: [Function: handleResponse], socket: [Array], timeout: undefined, abort: undefined }, _writableState: WritableState { highWaterMark: 16384, length: 0, corked: 0, onwrite: [Function: bound onwrite], writelen: 0, bufferedIndex: 0, pendingcb: 0, [Symbol(kState)]: 17580812, [Symbol(kBufferedValue)]: null }, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: Infinity, protocol: 'https:', path: '/mweb/v1/get_history_by_ids?aid=513641&device_platform=web&region=HK&da_version=3.3.2&web_component_open_flag=1&web_version=7.5.0&aigc_features=app_lip_sync', method: 'POST', headers: [Object: null prototype], agents: [Object], auth: undefined, family: undefined, beforeRedirect: [Function: dispatchBeforeRedirect], beforeRedirects: [Object], http2Options: undefined, hostname: 'mweb-api-sg.capcut.com', port: '', agent: undefined, nativeProtocols: [Object], pathname: '/mweb/v1/get_history_by_ids', search: '?aid=513641&device_platform=web&region=HK&da_version=3.3.2&web_component_open_flag=1&web_version=7.5.0&aigc_features=app_lip_sync'
}, _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 34, _requestBodyBuffers: [ [Object] ], _eventsCount: 3, _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: false, chunkedEncoding: false, shouldKeepAlive: true, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: '34', _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /mweb/v1/get_history_by_ids?aid=513641&device_platform=web&region=HK&da_version=3.3.2&web_component_open_flag=1&web_version=7.5.0&aigc_features=app_lip_sync HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'Content-Type: application/json\r\n' + 'Accept-Encoding: gzip, deflate, br, zstd\r\n' + 'Accept-language: zh-CN,zh;q=0.9\r\n' + 'Cache-control: no-cache\r\n' + 'Appvr: 5.8.0\r\n' + 'Pragma: no-cache\r\n' + 'Priority: u=1, i\r\n' + 'Pf: 7\r\n' + 'Sec-Ch-Ua: "Google Chrome";v="142", "Chromium";v="142", "Not_A Brand";v="99"\r\n' + 'Sec-Ch-Ua-Mobile: ?0\r\n' + 'Sec-Ch-Ua-Platform: "Windows"\r\n' + 'Sec-Fetch-Dest: empty\r\n' + 'Sec-Fetch-Mode: cors\r\n' + 'Sec-Fetch-Site: same-origin\r\n' + 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36\r\n' + 'Origin: https://mweb-api-sg.capcut.com\r\n' + 'Referer: https://mweb-api-sg.capcut.com\r\n' + 'Appid: 513641\r\n' + 'Cookie: _tea_web_id=7929132184874590000; is_staff_user=false; store-region=hk; store-region-src=uid; sid_guard=9ba975a6e0320524c5bd906644fe22c0%7C1768373680%7C5184000%7CMon%2C+03-Feb-2025+08%3A17%3A09+GMT; uid_tt=f6d0c1f0f0f711f09f30d132d3dc06b1; uid_tt_ss=f6d0c1f0f0f711f09f30d132d3dc06b1; sid_tt=9ba975a6e0320524c5bd906644fe22c0; sessionid=9ba975a6e0320524c5bd906644fe22c0; sessionid_ss=9ba975a6e0320524c5bd906644fe22c0; sid_tt=9ba975a6e0320524c5bd906644fe22c0\r\n' + 'Device-Time: 1768373680\r\n' + 'Sign: 571acf4b7760ebe89c9daa02b0fd3129\r\n' + 'Sign-Ver: 1\r\n' + 'Content-Length: 34\r\n' + 'Host: mweb-api-sg.capcut.com\r\n' + 'Connection: keep-alive\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, joinDuplicateHeaders: undefined, path: '/mweb/v1/get_history_by_ids?aid=513641&device_platform=web&region=HK&da_version=3.3.2&web_component_open_flag=1&web_version=7.5.0&aigc_features=app_lip_sync', _ended: false, res: null, aborted: false, timeoutCb: [Function: emitRequestTimeout], upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: true, host: 'mweb-api-sg.capcut.com', protocol: 'https:', _redirectable: [Circular *1], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false, [Symbol(kBytesWritten)]: 0, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(errored)]: null, [Symbol(kHighWaterMark)]: 16384, [Symbol(kRejectNonStandardBodyWrites)]: false, [Symbol(kUniqueHeaders)]: null }, _currentUrl: 'https://mweb-api-sg.capcut.com/mweb/v1/get_history_by_ids?aid=513641&device_platform=web&region=HK&da_version=3.3.2&web_component_open_flag=1&web_version=7.5.0&aigc_features=app_lip_sync', _timeout: null, [Symbol(shapeMode)]: true, [Symbol(kCapture)]: false }, [cause]: Error: socket hang up at TLSSocket.socketOnEnd (node:_http_client:528:25) at TLSSocket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ECONNRESET' } }

BlackCateYu avatar Jan 14 '26 06:01 BlackCateYu

可能是官方服务器的问题,过段时间再试试

iptag avatar Jan 14 '26 12:01 iptag