$prompt); $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data), ), ); // 发送请求 $context = stream_context_create($options); $result = file_get_contents($url, false, $context); // 输出结果 echo $result; ?> 写一段php代码post字段prompt对接httpsfree-apicveoytopv2completions

原文地址: https://www.cveoy.top/t/topic/01B 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录