温柔语录
GET
无需 Key
运行中
接口简介
温柔语录API,随机返回治愈暖心、细腻舒缓的温柔风格文案,内容涵盖生活感悟、情感慰藉、成长寄语等,响应快速,无冗余信息,适配社交互动、文案填充、视频旁白、日常治愈等场景。
接口地址
https://api.lolimi.cn/API/wryl/api请求示例
测试访问https://api.lolimi.cn/API/wryl/api?type=json返回预览
JSON{
"text": "凡是过往皆是序章,所有将来皆为可盼."
}
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| type | string | Required | 可选json/text默认text |
返回参数
| 参数名 | 类型 | 描述 |
|---|---|---|
| code | int | 状态码 |
| text | string | 内容 |
参数配置
登录获取 KeyResponseWaiting...
<?php
$url = "https://api.lolimi.cn/API/wryl/api";
$params = array (
'type' => 'value',
);
$url .= '?' . http_build_query($params);
$res = file_get_contents($url);
echo $res;