{
    "openapi": "3.0.0",
    "info": {
        "title": "美女图片 - API文档",
        "version": "1.0.0",
        "description": "接口输出高清大图美女图片，获得更多同类同一主题同一个人图片，可以和“抽取网页图片接口”配合使用。版权问题请联系发布方获取。（MCP 服务由 分类新闻 接口统一提供）"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/meinv\/index": {
            "get": {
                "summary": "美女图片",
                "tags": [
                    "美女图片"
                ],
                "description": "默认返回10条最新资讯支持翻页和关键词搜索",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    },
                    {
                        "name": "num",
                        "in": "query",
                        "description": "返回数量1-50，默认10",
                        "required": true,
                        "schema": {
                            "type": "int",
                            "example": 10,
                            "description": "返回数量1-50，默认10"
                        }
                    },
                    {
                        "name": "form",
                        "in": "query",
                        "description": "兼容历史问题，建议传1",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 0,
                            "description": "兼容历史问题，建议传1"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "翻页",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "翻页"
                        }
                    },
                    {
                        "name": "rand",
                        "in": "query",
                        "description": "随机获取",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "随机获取"
                        }
                    },
                    {
                        "name": "word",
                        "in": "query",
                        "description": "检索关键词",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "example": "天行数据",
                            "description": "检索关键词"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "62ac899e8fcf654a74479b4239b4651f",
                                            "description": "新闻唯一ID"
                                        },
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/article\/154",
                                            "description": "文章地址"
                                        },
                                        "ctime": {
                                            "type": "Date",
                                            "example": "2015-07-17",
                                            "description": "发布时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "文章的标题",
                                            "description": "文章标题"
                                        },
                                        "picUrl": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/static\/img\/logo.png",
                                            "description": "封面图片"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "文章来源",
                                            "description": "文章来源"
                                        },
                                        "description": {
                                            "type": "string",
                                            "example": "文章的描述",
                                            "description": "文章描述"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "newslist": [
                                            {
                                                "url": "http:\/\/bbs..com.cn\/mm\/meinv-8813167-0-1.html",
                                                "ctime": "2019-03-20 12:01",
                                                "title": "学妹",
                                                "picUrl": "http:\/\/image..net\/c\/2019-03\/20\/11\/201903201131027731-239867.jpg",
                                                "description": "美女图片"
                                            },
                                            {
                                                "url": "http:\/\/bbs..com.cn\/mm\/meinv-8813199-0-1.html",
                                                "ctime": "2019-03-20 12:01",
                                                "title": "云林天乡",
                                                "picUrl": "http:\/\/image..net\/c\/2019-03\/20\/11\/201903201137401921-239867.jpg",
                                                "description": "美女图片"
                                            },
                                            {
                                                "url": "http:\/\/bbs..com.cn\/mm\/meinv-8813166-0-1.html",
                                                "ctime": "2019-03-20 12:01",
                                                "title": "东方韵（287）",
                                                "picUrl": "http:\/\/image..net\/c\/2019-03\/20\/11\/20190320112835561-239867.jpg",
                                                "description": "美女图片"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "美女图片",
                "tags": [
                    "美女图片"
                ],
                "description": "默认返回10条最新资讯支持翻页和关键词搜索",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "num": {
                                        "type": "int",
                                        "example": 10,
                                        "description": "返回数量1-50，默认10"
                                    },
                                    "form": {
                                        "type": "int",
                                        "example": 0,
                                        "description": "兼容历史问题，建议传1"
                                    },
                                    "page": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "翻页"
                                    },
                                    "rand": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "随机获取"
                                    },
                                    "word": {
                                        "type": "string",
                                        "example": "天行数据",
                                        "description": "检索关键词"
                                    }
                                },
                                "required": [
                                    "key",
                                    "num"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "62ac899e8fcf654a74479b4239b4651f",
                                            "description": "新闻唯一ID"
                                        },
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/article\/154",
                                            "description": "文章地址"
                                        },
                                        "ctime": {
                                            "type": "Date",
                                            "example": "2015-07-17",
                                            "description": "发布时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "文章的标题",
                                            "description": "文章标题"
                                        },
                                        "picUrl": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/static\/img\/logo.png",
                                            "description": "封面图片"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "文章来源",
                                            "description": "文章来源"
                                        },
                                        "description": {
                                            "type": "string",
                                            "example": "文章的描述",
                                            "description": "文章描述"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "newslist": [
                                            {
                                                "url": "http:\/\/bbs..com.cn\/mm\/meinv-8813167-0-1.html",
                                                "ctime": "2019-03-20 12:01",
                                                "title": "学妹",
                                                "picUrl": "http:\/\/image..net\/c\/2019-03\/20\/11\/201903201131027731-239867.jpg",
                                                "description": "美女图片"
                                            },
                                            {
                                                "url": "http:\/\/bbs..com.cn\/mm\/meinv-8813199-0-1.html",
                                                "ctime": "2019-03-20 12:01",
                                                "title": "云林天乡",
                                                "picUrl": "http:\/\/image..net\/c\/2019-03\/20\/11\/201903201137401921-239867.jpg",
                                                "description": "美女图片"
                                            },
                                            {
                                                "url": "http:\/\/bbs..com.cn\/mm\/meinv-8813166-0-1.html",
                                                "ctime": "2019-03-20 12:01",
                                                "title": "东方韵（287）",
                                                "picUrl": "http:\/\/image..net\/c\/2019-03\/20\/11\/20190320112835561-239867.jpg",
                                                "description": "美女图片"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}