setAccessKey('AK'); $client->setSecretKey('Sk'); echo "\nDemo Img2ImgExquisiteStyle\n"; $body = [ "req_key" => "img2img_exquisite_style", // "binary_data_base64":[], "image_urls" => [ "https://xxx" ], "return_url" => True, "logo_info" => [ "add_logo" => True, "position" => 2, "language" => 0, "opacity" => 1.0 ] ]; $response = $client->Img2ImgExquisiteStyle(['json' => $body]); // 将返回的链接中的 & 替换为 \u0026 $response = str_replace('\u0026', '&', $response); echo $response;