Path: /api/v1/chat/completions
Method: POST
接口描述:
| llm 模型名称 | token来源 |
|---|---|
| kimi | Local Storage中找到refresh_token的值 |
| doubao (豆包) | Cookies中找到sessionid的值 |
| qwen (通义千问) | Cookies中找到login_aliyunid_ticket的值,这将作为Token值 |
| glm (智普清言) | Cookies中找到chatglm_refresh_token的值 |
| deepseek | LocalStorage中找到userToken中的value值 |
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/json | 是 | ||
| llm | 是 | qwen | 模型类型 | |
| Authorization | 是 | Authorization: Bearer 你的token | token |
Body
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| messages | object [] | 非必须 | item 类型: object | ||
| ├─ role | string | 非必须 | |||
| ├─ content | string | 非必须 | |||
| model | string | 非必须 | |||
| stream | boolean | 非必须 | |||
| temperature | number | 非必须 | |||
| top_p | number | 非必须 | |||
| conversation_id | string | 必须 | 多轮对话上下文承接 |
{"type":"object","title":"empty object","properties":{}}
Path: /api/v1/image/generations
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/json | 是 |
Body
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| model | string | 非必须 | |||
| prompt | string | 非必须 | |||
| negativePrompt | string | 非必须 | |||
| width | number | 非必须 | |||
| height | number | 非必须 | |||
| sample_strength | number | 非必须 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| created | number | 非必须 | |||
| data | object [] | 非必须 | item 类型: object | ||
| ├─ url | string | 必须 |
Path: /api/v1/player/jx
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| url | 是 | https://www.iqiyi.com/v_19rro9zm6k.html | 视频网站URL 爱奇艺 腾讯视频 芒果都支持 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| serverTime | number | 非必须 | |||
| msg | string | 非必须 | |||
| data | object | 非必须 | |||
| ├─ link | string | 非必须 | 解析链接 | ||
| ├─ type | string | 非必须 | 视频类型 m3u8 mp4 | ||
| ├─ url | string | 非必须 | 播放地址 | ||
| code | number | 非必须 |
Path: /api/v1/player/tips
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| key | 是 | 电影名/节目名 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| serverTime | number | 非必须 | |||
| data | object | 非必须 | |||
| ├─ list | string [] | 非必须 | item 类型: string | ||
| ├─ | 非必须 | ||||
| ├─ query | string | 非必须 | |||
| code | number | 非必须 | |||
| msg | string | 非必须 |
Path: /api/v1/player/search
Method: GET
接口描述:
Query
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| key | 是 | 肖申克的救赎 | 搜索词 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| serverTime | number | 非必须 | |||
| data | object | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ describe | string | 必须 | 描述 | ||
| ├─ tags | string,null | 必须 | 标签 | ||
| ├─ img | string | 必须 | 封面 | ||
| ├─ name | string | 必须 | 名称 | ||
| ├─ actors | string | 必须 | 作者,隔开 | ||
| ├─ lastUpDate | string | 必须 | 更新时间 | ||
| ├─ resource | object [] | 必须 | 资源列表 | item 类型: object | |
| ├─ S | string | 必须 | 资源地址 | ||
| ├─ N | string | 必须 | 名称 | ||
| ├─ query | string | 非必须 | 搜索词 | ||
| code | number | 非必须 | |||
| msg | string | 非必须 |
Path: /api/v1/ygsf/author/zplist
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/json | 是 |
Body
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| name | string | 非必须 | |||
| loaded | number | 非必须 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| stat | number | 非必须 | |||
| data | object | 非必须 | |||
| ├─ total | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ _zuopin_id | string | 必须 | |||
| ├─ _name | string | 必须 | |||
| ├─ _video | number | 必须 | |||
| ├─ _cover_url | string | 必须 | |||
| appversion | string | 非必须 | |||
| showad | boolean | 非必须 |
Path: /api/v1/ygsf/gallery/items
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/json | 是 |
Body
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| gid | string | 非必须 | |||
| loaded | number | 非必须 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| stat | number | 非必须 | |||
| data | object | 非必须 | |||
| ├─ total | number | 非必须 | |||
| ├─ list | object [] | 非必须 | item 类型: object | ||
| ├─ _type | string | 必须 | |||
| ├─ _data | object | 必须 | |||
| ├─ _name | string | 非必须 | |||
| ├─ _dynasty | string | 非必须 | |||
| ├─ _head | string | 非必须 | |||
| appversion | string | 非必须 | |||
| showad | boolean | 非必须 |
Path: /api/v1/ygsf/author/details
Method: POST
接口描述:
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/json | 是 |
Body
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| name | string | 非必须 |
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| stat | number | 非必须 | |||
| data | object | 非必须 | |||
| ├─ _id | string | 非必须 | |||
| ├─ _name | string | 非必须 | |||
| ├─ _dynasty | string | 非必须 | |||
| ├─ _intro | string | 非必须 | |||
| ├─ _head | string | 非必须 | |||
| ├─ _url | string | 非必须 | |||
| ├─ _profile | string | 非必须 | |||
| ├─ _title | string | 非必须 | |||
| ├─ _baike | string | 非必须 | |||
| appversion | string | 非必须 | |||
| showad | boolean | 非必须 |
Path: /api/v1/ygsf/today
Method: POST
接口描述:
{
"stat": 0,
"data": {
"shulun": {
"_id": "9dd323acda64c1624e6f3055e9c05cae",
"_content": "形不变而势所趋背各有情态。势者,以一为主,而七面之势倾向之也。",
"_src": "翰林要诀",
"_author": "陈绎曾",
"_dynasty": "元",
"_push_date": "2024-02-28"
},
"calendar": "甲辰・初春・正月十九",
"brand": {
"_url": "https://ygsf.cdn.bcebos.com/zitie/10421665ebc269276ccffa3f459fef6e/pages/1-637f.png"
}
},
"appversion": "5.0.0",
"showad": true
}
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/json | 是 |
Body
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| stat | number | 非必须 | |||
| data | object | 非必须 | |||
| ├─ shulun | object | 非必须 | |||
| ├─ _id | string | 非必须 | |||
| ├─ _content | string | 非必须 | |||
| ├─ _src | string | 非必须 | |||
| ├─ _author | string | 非必须 | |||
| ├─ _dynasty | string | 非必须 | |||
| ├─ _push_date | string | 非必须 | |||
| ├─ calendar | string | 非必须 | |||
| ├─ brand | object | 非必须 | |||
| ├─ _url | string | 非必须 | |||
| appversion | string | 非必须 | |||
| showad | boolean | 非必须 |