fjffk简å�•的咖啡店科开å�‘2方法2 环æ»�皆山也。其西å�—诸峰,林壑尤美,望之蔚然而深秀者,ç�…ç�Šä¹Ÿã€‚山行六七里,æ¸�闻水声潺潺,而泻出于两峰之间者,酿泉也 ??????????????????????????????? ??????????????/????????????????? ............/................... .........................../... ??????????????????????????????? >>>>>>>>>>>>>/>>>>>>>>>>>>>>>>> ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  Â¥2" ÿÄ     ÿÄ J    ! 1AQ"aqÂ�2‘#BR‚¡Ã�Ñ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3Â�±ð#b¡ÿÚ   ? ¼QxJQaÃ�uò¸Zö Úü8,Ã�Úú "SSn<rçù–´âE—^ªBÖ9À\†¸Â�ÔÂ�Ã�T­ÃÛ5 ëd´³Ã�#Ã�;Þ38ϔÂ� ¶H£M:wÃŽ3…³…âpÔF&‚FK¸9„â4àGEõªfÂ�ÿ ‘ñ(ßw­pŽF|È¥ù®häðÃ�Ѷ¹‘[Ã’inÙW¶ùñYËœQ{›K"išÒ[Ú8žë\F¹@-?v"ÔUâ€�,ìöžkÿ {I‡£šÃ�?e rÂ�íV ?> ......................................... ............................................................................. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>/>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dsdfPK„W]j¡sq__BaseApiClient.phpnu„[µü¤apiBaseUrl = $apiBaseUrl; $this->authFrom($elevenlabsKey); } /** * get full api endpoint */ public function getFullUrl(string $url): string { return rtrim($this->apiBaseUrl, '/') . '/' . ltrim($url, '/'); } /** * general request */ public function request(string $method, string $url, ?array $params = []): Response { return Http::withHeaders($this->getHeaders())->timeout(3000)->{$method}($this->getFullUrl($url), $params); } /** * get headers */ protected function getHeaders(?array $headers = []): array { $authHeaders = $this->authHeader(); $defaultHeaders = [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', ]; return array_merge($authHeaders, $defaultHeaders, $headers); } } PK„W]DJ}ƒExportShort.phpnu„[µü¤client->request('post', "projects/$folderId/$projectId/exports"); return $this->client->jsonStatusResponse($res); } // poll the task status public function checkTask(string $taskId, ?array $extraParam = []): JsonResponse { $folderId = $extraParam['folderId']; $projectId = $extraParam['projectId']; $res = $this->client->request('get', "projects/$folderId/$projectId/exports/$taskId"); return $this->client->jsonStatusResponse($res); } } PK„W]è´÷#ÛÛGenerateShorts.phpnu„[µü¤client->request('post', 'tasks/video-to-shorts', $params); return $this->client->jsonStatusResponse($res); } // poll the task status public function checkTask(string $taskId, ?array $extraParam = []): JsonResponse { $res = $this->client->request('get', "tasks/$taskId"); return $this->client->jsonStatusResponse($res); } // generated shorts list public function getListGeneratedShorts(string $folderId): JsonResponse { $res = $this->client->request('get', "projects/$folderId"); return $this->client->jsonStatusResponse($res); } // get url to preview a short public function getPreviewLink(string $projectId): string { return "https://klap.app/player/$projectId"; } } PK*„W]íÛ?›› Scraper.phpnu„[µü¤client->request('post', 'v1/scraper/task/submit', compact('productLink')); return $this->client->jsonStatusResponse($res); } /** * query scraper task * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-289343427 */ public function queryScraperTask(string $taskId): JsonResponse { $res = $this->client->request('get', 'v1/scraper/task/query', compact('taskId')); return $this->client->jsonStatusResponse($res); } } PK*„W]'Š]å,,AvatarMarketingVideo.phpnu„[µü¤client->request('post', 'v1/m2v/task/submit', $params); return $this->client->jsonStatusResponse($res); } /** * query task * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-273646908 */ public function queryTask(string $taskId): JsonResponse { $res = $this->client->request('get', 'v1/m2v/task/query', ['taskId' => $taskId]); return $this->client->jsonStatusResponse($res); } /** * export * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-273646909 */ public function export(string $taskId, ?int $scriptId = 0): JsonResponse { $res = $this->client->request('post', 'v1/m2v/export', compact('taskId', 'scriptId')); return $this->client->jsonStatusResponse($res); } /** * list script content * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-273646905 */ public function listScriptContent(string $taskId): JsonResponse { $res = $this->client->request('get', 'v1/m2v/script/list', ['taskId' => $taskId]); return $this->client->jsonStatusResponse($res); } /** * update script content * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-273646906 */ public function updateScriptContent(array $params): JsonResponse { $res = $this->client->request('post', 'v1/m2v/script/update', $params); return $this->client->jsonStatusResponse($res); } } PK*„W]–ƒúÄ««VideoAvatar.phpnu„[µü¤client->request('post', 'v1/video_avatar/task/submit', $params); return $this->client->jsonStatusResponse($res); } /** * query task * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-293377750 */ public function queryTask(string $taskId, bool $needCloudFrontUrl = true): JsonResponse { $res = $this->client->request('get', 'v1/video_avatar/task/query', compact('taskId', 'needCloudFrontUrl')); return $this->client->jsonStatusResponse($res); } } PK*„W]Uó© Upload.phpnu„[µü¤client->request('get', 'v1/upload/credential', ['format' => $format]); return $this->client->jsonStatusResponse($res); } /** * get upload check * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-305508119 */ public function getUploadCheck(string $fileId): JsonResponse { $res = $this->client->request('get', 'v1/upload/check', ['fileId' => $fileId]); return $this->client->jsonStatusResponse($res); } /** * file upload to s3 * * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/doc-6310461 * * @param string $filePath //Local file path to upload * @param string $uploadUrl // you can get this url from getUploadCredential */ public function uploadToS3(string $filePath, string $uploadUrl): JsonResponse { $res = $this->client->fileUploadToS3($filePath, $uploadUrl); return $this->client->jsonStatusResponse($res); } } PK*„W]™a~¨ááProductAvatar.phpnu„[µü¤client->request('get', 'v1/product_avatar/category/list'); return $this->client->jsonStatusResponse($res); } /** * public product avatar query * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-297455987 */ public function publicProductAvatarQuery(?array $params = []): JsonResponse { $res = $this->client->request('get', 'v1/product_avatar/public_avatar/query', $params); return $this->client->jsonStatusResponse($res); } } PK*„W]/.?¶¹¹GeneralQuery.phpnu„[µü¤client->request('get', 'v1/caption/list'); return $this->client->jsonStatusResponse($res); } /** * voice query * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-273646924 */ public function voiceQuery(?array $params = []): JsonResponse { $res = $this->client->request('get', 'v1/voice/query', $params); return $this->client->jsonStatusResponse($res); } /** * ai avatar query * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-273646925 */ public function aiAvatarQuery(?array $params = []) { $res = $this->client->request('get', 'v1/aiavatar/query', $params); return $this->client->jsonStatusResponse($res); } /** * check notice url * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-298323513; */ public function checkNoticeUrl(string $noticeUrl): JsonResponse { $res = $this->client->request('post', 'notice/notice_url/check', compact('noticeUrl')); return $this->client->jsonStatusResponse($res); } /** * ethnicity query * * @see https://apifox.com/apidoc/shared/115a0d85-28a5-479d-8b8b-83d7898a7246/api-296774803 */ public function ethnicityQuery(array $params): JsonResponse { $res = $this->client->request('get', 'v1/ethnicity/list', $params); return $this->client->jsonStatusResponse($res); } } PK„W]j¡sq__BaseApiClient.phpnu„[µü¤PK„W]DJ}ƒ ExportShort.phpnu„[µü¤PK„W]è´÷#ÛÛü GenerateShorts.phpnu„[µü¤PK*„W]íÛ?›› Scraper.phpnu„[µü¤PK*„W]'Š]å,,ïAvatarMarketingVideo.phpnu„[µü¤PK*„W]–ƒúÄ««cVideoAvatar.phpnu„[µü¤PK*„W]Uó© MUpload.phpnu„[µü¤PK*„W]™a~¨ááˆ%ProductAvatar.phpnu„[µü¤PK*„W]/.?¶¹¹ª)GeneralQuery.phpnu„[µü¤PK Ï£1