https://api.daer04.icu/api/sfzfm.php
示例地址:https://api.daer04.icu/api/sfzfm.php?text1=蓝桉&text2=男&text3=汉&text4=2007&text5=01&text6=15&text7=四川省富顺二中县飞龙镇促发展进村十七组31号&text8=360983200701156232
此功能仅供学习参考,请勿用于非法用途!一切后果由使用者承担!可用于生成身份证反面的照片,每一行文字都要填写,否则没填写的地方会显示默认文字,上传图片的参数是 overlay_file,事例:curl -X POST \ -F "text1=张三" \ -F "overlay_file=@/path/to/avatar.jpg" \ http://api.yxo82519.icu/api/sfzfm.php
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| text1 | string | 是 | 姓名 |
| text2 | string | 是 | 性别 |
| text3 | string | 是 | 名族 |
| text4 | string | 是 | 年 |
| text5 | string | 是 | 月 |
| text6 | string | 是 | 日 |
| text7 | string | 是 | 住址 |
| text8 | string | 是 | 身份证号 |
| 状态码 | 说明 |
|---|---|
| 200 | 请求成功,服务器已成功处理了请求。 |
| 403 | 服务器拒绝请求。这可能是由于缺少必要的认证凭据(如API密钥)或权限不足。 |
| 404 | 请求的资源未找到。请检查您的请求地址是否正确。 |
| 429 | 请求过于频繁。您已超出速率限制,请稍后再试。 |
| 500 | 服务器内部错误。服务器在执行请求时遇到了问题。 |
此处将显示接口返回结果...
<?php
$url = 'https://api.daer04.icu/api/sfzfm.php';
$params = ['text1' => 'YOUR_VALUE', 'text2' => 'YOUR_VALUE', 'text3' => 'YOUR_VALUE', 'text4' => 'YOUR_VALUE', 'text5' => 'YOUR_VALUE', 'text6' => 'YOUR_VALUE', 'text7' => 'YOUR_VALUE', 'text8' => 'YOUR_VALUE', ];
$url .= '?' . http_build_query($params);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>import requests
url = "https://api.daer04.icu/api/sfzfm.php"
params = {
'text1': 'YOUR_VALUE',
'text2': 'YOUR_VALUE',
'text3': 'YOUR_VALUE',
'text4': 'YOUR_VALUE',
'text5': 'YOUR_VALUE',
'text6': 'YOUR_VALUE',
'text7': 'YOUR_VALUE',
'text8': 'YOUR_VALUE',
}
response = requests.get(url, params=params)
print(response.text)const url = new URL('https://api.daer04.icu/api/sfzfm.php');
const params = {
'text1': 'YOUR_VALUE',
'text2': 'YOUR_VALUE',
'text3': 'YOUR_VALUE',
'text4': 'YOUR_VALUE',
'text5': 'YOUR_VALUE',
'text6': 'YOUR_VALUE',
'text7': 'YOUR_VALUE',
'text8': 'YOUR_VALUE',
};
Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
fetch(url)
.then(response => response.text())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));