返回首页
作图_美女拿手机 GET 正常
06月13日 创建 更新于 07-01 20:07
输入QQ号码即可生成美女拿手机主题的创意合成图片,将QQ相关信息融入画面,风格美观,适合社交互动、趣味整活、个性配图等娱乐场景使用。
总调用次数
58
接口地址
https://gulangsc.cn/API/zt/sj.php
请求示例
https://gulangsc.cn/API/zt/sj.php?qq=123456
参数说明
qq string 需要生成的QQ号
url string QQ号空则必填(图片链接)
代码示例
curl -X GET 'https://gulangsc.cn/API/zt/sj.php?qq=123456'
import requests

url = 'https://gulangsc.cn/API/zt/sj.php?qq=123456'
response = requests.request('GET', url)
print(response.text)
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    url := "https://gulangsc.cn/API/zt/sj.php?qq=123456"
    req, _ := http.NewRequest("GET", url, nil)
    res, _ := http.DefaultClient.Do(req)
    defer res.Body.Close()
    body, _ := io.ReadAll(res.Body)
    fmt.Println(string(body))
}
fetch('https://gulangsc.cn/API/zt/sj.php?qq=123456', {
  method: 'GET',
})
  .then(res => res.json())
  .then(console.log)
  .catch(console.error);
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class Main {
    public static void main(String[] args) throws Exception {
        var client = HttpClient.newHttpClient();
        var request = HttpRequest.newBuilder()
            .uri(URI.create("https://gulangsc.cn/API/zt/sj.php?qq=123456"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();
        var response = client.send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.body());
    }
}
<?php
$url = 'https://gulangsc.cn/API/zt/sj.php?qq=123456';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
#!/bin/bash
# 使用 curl
curl -X GET 'https://gulangsc.cn/API/zt/sj.php?qq=123456'

# 或使用 wget
wget -qO- 'https://gulangsc.cn/API/zt/sj.php?qq=123456'
在线测试
需要生成的QQ号
QQ号空则必填(图片链接)
实时响应预览
正在获取实时响应...
元信息
API ID
#17
更新于
07-01 20:07
请求方式
GET
鉴权要求
无需 Key
QPS 状态
10/s
预览状态
已开启