AI-YIAPI-全球AI分发站
  1. Schemas
AI-YIAPI-全球AI分发站
  • 关于我们
  • Open AI
    • gpt-4-all(生成图片)
    • 内容补全接口
    • DALL·E 3
    • 创建嵌入
    • 创建转录
    • 创建翻译
    • TTS文本转语音
    • 合并音乐
  • InsightFace任务提交
    • 提交swap_face任务
  • 任务管理
    • 任务查询
  • Midjourney接口
    • 任务提交
      • 执行动作
      • 提交Blend任务
      • 提交Describe任务
      • 提交Imagine任务
      • 提交Modal
      • 提交Shorten任务
    • 任务查询
      • 指定ID获取任务
      • 获取任务图片的seed(需设置mj或niji的私信ID)
  • 暂时未启用
    • Generate
      • Stable Image Ultra
      • Stable Image Core
      • Stable Diffusion 3
    • SDXL & SD1.6
      • Text-to-image
    • styles
      • 创建样式
    • images
      • 生成图像
      • 图像矢量化
      • 移除背景
      • 清晰度提升
      • 生成式放大
    • 视频生成
      • 图生视频
    • 生成音乐
    • 获取音乐
    • 生成音乐
    • 获取音乐
    • flux-pro-1.1
    • flux-pro
    • flux-dev
    • flux-查询
    • Generate(文生图)
    • Remix(混合图)
    • Upscale(放大高清)
    • Describe(描述)
    • 图像生成
    • 文生视频
    • 图生视频
    • 查询任务
    • 获取视频
    • 生成视频
    • 图片描述
    • 文生图
    • 合成图
    • 放大图片
    • ideogram任务查询
    • CogVideoX视频生成
    • CogVideoX视频查询
    • Mix上传视频并生成视频
    • 查询视频任务
    • Multi模板列表
    • Mix官方模板列表
    • Mix上传视频素材库
    • Mix上传图片素材库
    • 剩余积分查询
    • Multi上传视频并生成视频
    • Move上传视频并生成视频
  • 数据模型
    • Schemas
      • AccountChooseRule
      • 401
      • AccountFilter
      • 403
      • AliyunOssOptions
      • 404
      • AutoLoginRequest
      • 500
      • BaiduTranslateConfig
      • Blend提交参数
      • BannedLimitingOptions
      • TaskResponse
      • BannedWord
      • CheckActivationDTO
      • BannedWordStandardTableParam
      • ErrorResponse
      • BannedWordStandardTableResult
      • BaseCreateCompletionRequest
      • BlendDimensions
      • Describe提交参数
      • CaptchaVerfyRequest
      • ImagePosition
      • CloudflareR2Options
      • Discord账号
      • Component
      • ChatMessageContent
      • CustomComponentModel
      • Filter
      • DatabaseType
      • Imagine提交参数
      • DiscordAccount
      • ChatCompletionRequestMessage
      • DiscordAccountConfig
      • Map«string,object»
      • DiscordAccountResult
      • Message«Discord账号»
      • DiscordAccountStandardTableParam
      • ChatCompletionResponseMessage
      • DiscordAccountStandardTableResult
      • Message«Map«string,object»»
      • DomainTag
      • Message«Void»
      • DomainTagStandardTableParam
      • ChatCompletionMessageToolCalls
      • DomainTagStandardTableResult
      • Message«string»
      • EBotType
      • Modal提交参数
      • EUserRole
      • ChatCompletionMessageToolCall
      • EUserStatus
      • Emoji
      • Pageable
      • GenerationSpeedMode
      • UsageInfo
      • HomeDto
      • Page«Map«string,object»»
      • HomeDtoResult
      • Page«任务»
      • ImageStorageType
      • ChatCompletionTool
      • InsightFaceSwapDto
      • Shorten提交参数
      • IpBlackRateLimitingOptions
      • Sort
      • IpRateLimitingOptions
      • CreateChatCompletionExclusiveFields
      • LocalStorageOptions
      • SwapFace提交参数
      • MjPlusMigrationDto
      • TaskQueryDTO
      • NgDiscordConfig
      • FunctionObject
      • OpenaiConfig
      • 任务
      • Option
      • 任务查询参数
      • ProxyConfig
      • FunctionParameters
      • RegisterDto
      • 变化任务提交参数
      • ReplicateOptions
      • 变化任务提交参数-simple
      • Result
      • GenerationID
      • SelectOption
      • 可执行按钮
      • SelectOptionListResult
      • 可执行按钮_1
      • Setting
      • ImageToVideoRequest
      • SettingResult
      • 执行动作参数
      • SmtpConfig
      • 提交结果
      • StandardSort
      • ContentModerationResponse
      • StandardTablePagination
      • 激活服务参数
      • StandardTablePaginationRequest
      • 账号修改参数
      • SubmitActionDTO
      • InpaintingSearchModeRequestBody
      • SubmitBlendDTO
      • 账号创建参数
      • SubmitChangeDTO
      • 账号查询参数
      • SubmitDescribeDTO
      • InpaintingMaskingModeRequestBody
      • SubmitImagineDTO
      • 账号筛选条件
      • SubmitModalDTO
      • Creativity
      • SubmitResultVO
      • Engine
      • SubmitShowDTO
      • Error
      • SubmitSimpleChangeDTO
      • CfgScale
      • SubmitUploadDiscordDto
      • ClipGuidancePreset
      • TaskAction
      • UpscaleImageHeight
      • TaskConditionDTO
      • UpscaleImageWidth
      • TaskInfo
      • DiffuseImageHeight
      • TaskInfoStandardTableParam
      • DiffuseImageWidth
      • TaskInfoStandardTableResult
      • Sampler
      • TaskStatus
      • Samples
      • TencentCosOptions
      • Seed
      • TranslateWay
      • Steps
      • User
      • Extras
      • UserStandardTableParam
      • StylePreset
      • UserStandardTableResult
      • TextPrompt
      • TextPrompts
      • TextPrompts
      • InputImage
      • InitImage
      • InitImageStrength
      • InitImageMode
      • StepScheduleStart
      • StepScheduleEnd
      • MaskImage
      • MaskSource
      • GenerationRequestOptionalParams
      • RealESRGANUpscaleRequestBody
      • ImageToImageRequestBody
      • ImageToImageUsingImageStrengthRequestBody
      • ImageToImageUsingStepScheduleRequestBody
      • MaskingRequestBody
      • MaskingUsingMaskImageRequestBody
      • MaskingUsingInitImageAlphaRequestBody
      • TextToImageRequestBody
      • AccountResponseBody
      • BalanceResponseBody
      • ListEnginesResponseBody
      • FinishReason
      • Image
      • OrganizationMembership
      • GenerationResponse
      • 400FromGeneration
      • 400FromUpscale
  1. Schemas

Setting

系统配置

{
    "id": "string",
    "properties": {
        "property1": null,
        "property2": null
    },
    "mongoDefaultConnectionString": "string",
    "mongoDefaultDatabase": "string",
    "isMongo": true,
    "isMongoAutoMigrate": true,
    "isAutoMigrate": true,
    "maxCount": 0,
    "accountChooseRule": "BestWaitIdle",
    "discord": {
        "guildId": "string",
        "channelId": "string",
        "privateChannelId": "string",
        "nijiBotChannelId": "string",
        "userToken": "string",
        "botToken": "string",
        "userAgent": "string",
        "enable": true,
        "enableMj": true,
        "enableNiji": true,
        "enableFastToRelax": true,
        "enableRelaxToFast": true,
        "enableAutoSetRelax": true,
        "coreSize": 0,
        "queueSize": 0,
        "maxQueueSize": 0,
        "timeoutMinutes": 0,
        "mode": "RELAX",
        "allowModes": [
            "RELAX"
        ],
        "isBlend": true,
        "isDescribe": true,
        "isShorten": true,
        "dayDrawLimit": 0,
        "isVerticalDomain": true,
        "verticalDomainIds": [
            "string"
        ],
        "subChannels": [
            "string"
        ],
        "remark": "string",
        "sponsor": "string",
        "isSponsor": true,
        "sort": 0,
        "interval": 0,
        "afterIntervalMin": 0,
        "afterIntervalMax": 0,
        "workTime": "string",
        "fishingTime": "string",
        "permanentInvitationLink": "string",
        "weight": 0,
        "remixAutoSubmit": true,
        "loginAccount": "string",
        "loginPassword": "string",
        "login2fa": "string"
    },
    "accounts": [
        {
            "guildId": "string",
            "channelId": "string",
            "privateChannelId": "string",
            "nijiBotChannelId": "string",
            "userToken": "string",
            "botToken": "string",
            "userAgent": "string",
            "enable": true,
            "enableMj": true,
            "enableNiji": true,
            "enableFastToRelax": true,
            "enableRelaxToFast": true,
            "enableAutoSetRelax": true,
            "coreSize": 0,
            "queueSize": 0,
            "maxQueueSize": 0,
            "timeoutMinutes": 0,
            "mode": "RELAX",
            "allowModes": [
                "RELAX"
            ],
            "isBlend": true,
            "isDescribe": true,
            "isShorten": true,
            "dayDrawLimit": 0,
            "isVerticalDomain": true,
            "verticalDomainIds": [
                "string"
            ],
            "subChannels": [
                "string"
            ],
            "remark": "string",
            "sponsor": "string",
            "isSponsor": true,
            "sort": 0,
            "interval": 0,
            "afterIntervalMin": 0,
            "afterIntervalMax": 0,
            "workTime": "string",
            "fishingTime": "string",
            "permanentInvitationLink": "string",
            "weight": 0,
            "remixAutoSubmit": true,
            "loginAccount": "string",
            "loginPassword": "string",
            "login2fa": "string"
        }
    ],
    "proxy": {
        "host": "string",
        "port": 0
    },
    "ngDiscord": {
        "server": "string",
        "cdn": "string",
        "wss": "string",
        "resumeWss": "string",
        "uploadServer": "string"
    },
    "baiduTranslate": {
        "appid": "string",
        "appSecret": "string"
    },
    "openai": {
        "gptApiUrl": "string",
        "gptApiKey": "string",
        "timeout": "string",
        "model": "string",
        "maxTokens": 0,
        "temperature": 0
    },
    "translateWay": "BAIDU",
    "notifyHook": "string",
    "notifyPoolSize": 0,
    "smtp": {
        "host": "string",
        "port": 0,
        "enableSsl": true,
        "fromName": "string",
        "fromEmail": "string",
        "fromPassword": "string",
        "to": "string"
    },
    "captchaServer": "string",
    "captchaNotifyHook": "string",
    "captchaNotifySecret": "string",
    "imageStorageType": "NONE",
    "aliyunOss": {
        "bucketName": "string",
        "accessKeyId": "string",
        "accessKeySecret": "string",
        "endpoint": "string",
        "customCdn": "string",
        "imageStyle": "string",
        "thumbnailImageStyle": "string",
        "videoSnapshotStyle": "string",
        "expiredMinutes": 0
    },
    "tencentCos": {
        "appId": "string",
        "secretId": "string",
        "secretKey": "string",
        "region": "string",
        "bucket": "string",
        "customCdn": "string",
        "imageStyle": "string",
        "thumbnailImageStyle": "string",
        "videoSnapshotStyle": "string",
        "expiredMinutes": 0
    },
    "cloudflareR2": {
        "accountId": "string",
        "accessKey": "string",
        "secretKey": "string",
        "bucket": "string",
        "customCdn": "string",
        "imageStyle": "string",
        "thumbnailImageStyle": "string",
        "videoSnapshotStyle": "string",
        "expiredMinutes": 0
    },
    "replicate": {
        "token": "string",
        "enableFaceSwap": true,
        "faceSwapVersion": "string",
        "faceSwapCoreSize": 0,
        "faceSwapQueueSize": 0,
        "faceSwapTimeoutMinutes": 0,
        "enableVideoFaceSwap": true,
        "videoFaceSwapVersion": "string",
        "videoFaceSwapCoreSize": 0,
        "videoFaceSwapQueueSize": 0,
        "videoFaceSwapTimeoutMinutes": 0,
        "maxFileSize": 0,
        "webhook": "string",
        "webhookEventsFilter": [
            "string"
        ]
    },
    "localStorage": {
        "customCdn": "string"
    },
    "isVerticalDomain": true,
    "enableSwagger": true,
    "bannedLimiting": {
        "enable": true,
        "rules": {
            "property1": 0,
            "property2": 0
        }
    },
    "ipRateLimiting": {
        "enable": true,
        "whitelist": [
            "string"
        ],
        "blacklist": [
            "string"
        ],
        "ipRules": {
            "property1": {
                "property1": 0,
                "property2": 0
            },
            "property2": {
                "property1": 0,
                "property2": 0
            }
        },
        "ip24Rules": {
            "property1": {
                "property1": 0,
                "property2": 0
            },
            "property2": {
                "property1": 0,
                "property2": 0
            }
        },
        "ip16Rules": {
            "property1": {
                "property1": 0,
                "property2": 0
            },
            "property2": {
                "property1": 0,
                "property2": 0
            }
        }
    },
    "ipBlackRateLimiting": {
        "enable": true,
        "whitelist": [
            "string"
        ],
        "blacklist": [
            "string"
        ],
        "ipRules": {
            "property1": {
                "property1": 0,
                "property2": 0
            },
            "property2": {
                "property1": 0,
                "property2": 0
            }
        },
        "ip24Rules": {
            "property1": {
                "property1": 0,
                "property2": 0
            },
            "property2": {
                "property1": 0,
                "property2": 0
            }
        },
        "ip16Rules": {
            "property1": {
                "property1": 0,
                "property2": 0
            },
            "property2": {
                "property1": 0,
                "property2": 0
            }
        },
        "blockTime": 0
    },
    "enableRegister": true,
    "registerUserDefaultDayLimit": 0,
    "registerUserDefaultTotalLimit": 0,
    "registerUserDefaultCoreSize": 0,
    "registerUserDefaultQueueSize": 0,
    "guestDefaultCoreSize": 0,
    "guestDefaultQueueSize": 0,
    "databaseType": "NONE",
    "databaseConnectionString": "string",
    "databaseName": "string",
    "enableGuest": true,
    "guestDefaultDayLimit": 0,
    "notify": "string",
    "enableAutoGetPrivateId": true,
    "enableAutoVerifyAccount": true,
    "enableAutoSyncInfoSetting": true,
    "enableAutoExtendToken": true,
    "enableUserCustomUploadBase64": true,
    "enableConvertOfficialLink": true,
    "enableConvertAliyunLink": true,
    "enableMjTranslate": true,
    "enableNijiTranslate": true,
    "enableConvertNijiToMj": true,
    "enableConvertNijiToNijiBot": true,
    "enableAutoLogin": true,
    "enableAccountSponsor": true
}
Built with