- AIGC-OPEN-API
- AI绘画模型和模式相关接口
菜单综合选项
GET
https://ai-api-test.feilianyun.cn/options
PC端AI绘画相关接口
请求参数
Query 参数
modelType
string
modelType
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://ai-api-test.feilianyun.cn/options?modelType='
返回响应
🟢200OK
application/json
Body
code
integer <int32>
可选
data
object (绘画菜单)
可选
aiHiresFixes
array[object (AiHiresFix) {6}]
二次重绘放大
aiSpeedTypeRespList
array[object (AiSpeedTypeResp) {6}]
绘制速度/绘制通道
batchSizes
array[object (BatchSize) {4}]
生成数量
cfgScale
array[object (CfgScale) {4}]
精确度
clearTypes
array[object (ClearType) {3}]
可选
defaultConsumeNum
integer <int32>
默认消耗次数
exclusionKeywordStrLimit
integer <int32>
可选
faceOptimize
array[object (FaceOptimizeScale) {5}]
面部优化
imageScale
array[object (ImageScale) {2}]
画面大小
imgToImgSimilarity
boolean
图片相似度权限
示例值:
false
indexBanners
array[object (AiMiniAppBanner) {9}]
可选
keywordStrLimit
integer <int32>
可选
optionCollect
array[object (WxMiniMenu) {3}]
综合选项
paintPatterns
array[object (绘画模式) {7}]
选择模式
steps
array[object (Step) {4}]
步骤
message
string
可选
示例
{
"code": 0,
"data": {
"aiHiresFixes": [
{
"canChoose": false,
"canNotChooseMessage": "string",
"name": "string",
"reduce": 0,
"select": false,
"type": 0
}
],
"aiSpeedTypeRespList": [
{
"canChoose": false,
"canNotChooseMessage": "string",
"name": "string",
"reduce": 0,
"select": false,
"type": 0
}
],
"batchSizes": [
{
"batchSizeName": "string",
"batchSizeValue": 0,
"reduce": 0,
"select": false
}
],
"cfgScale": [
{
"cfgScaleName": "string",
"cfgScaleType": 0,
"cfgScaleValue": 0,
"reduce": 0
}
],
"clearTypes": [
{
"clearType": "string",
"clearTypeDesc": "string",
"reduce": 0
}
],
"defaultConsumeNum": 0,
"exclusionKeywordStrLimit": 0,
"faceOptimize": [
{
"faceOptimizeName": "string",
"faceOptimizeType": 0,
"nonMemberDisable": false,
"reduce": 0,
"select": false
}
],
"imageScale": [
{
"name": "string",
"value": "string"
}
],
"imgToImgSimilarity": false,
"indexBanners": [
{
"bannerUrl": "string",
"createTime": "2019-08-24T14:15:22Z",
"id": 0,
"indexSort": 0,
"jumpLink": "string",
"platform": "string",
"position": "string",
"status": 0,
"updateTime": "2019-08-24T14:15:22Z"
}
],
"keywordStrLimit": 0,
"optionCollect": [
{
"mainTitle": "string",
"options": [
{
"itemUrl": "string",
"name": "string",
"value": "string"
}
],
"titleCode": "string"
}
],
"paintPatterns": [
{
"iconType": 0,
"itemUrl": "string",
"name": "string",
"select": false,
"selected": false,
"sort": 0,
"value": 0
}
],
"steps": [
{
"reduce": 0,
"stepDesc": "string",
"stepType": 0,
"stepValue": 0
}
]
},
"message": "string"
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-06-26 03:13:07