400 | BadRequest | bad request | 不合法的请求 |
400 | FieldLacking | field is missing or empty: {{.fields}} | 缺少字段,具体字段见错误信息 |
400 | FieldUnwanted | unwanted field: {{.fields}} | 不需要传某些字段,具体字段见错误信息 |
400 | FieldItemCountOutOfRange | field item count out of range: {{.fields}} | 字段超限制 |
400 | PageSizeOutOfRange | page size out of range | 图像尺寸有问题。要求:图片大小需小于50M,格式只支持 jpg/jpeg/png/webp, 图片长宽比需要小于1:4或者4:1 |
400 | ImageDownloadFailure | image download failure | 下载用户图片url失败,请检查链接的有效性 |
400 | OperationInProcess | operation in process, please retry later | 请求在处理中 |
400 | TaskPromptPolicyViolation | prompt policy violation | Prompt 触发安审风控 |
400 | ImageFormatInvalid | invalid image format | 图像格式不符合要求 |
400 | AuditSubmitIllegal | submit is illegal | 输入没有通过安全审核 |
400 | CreditInsufficient | insufficient credits | 积分不足 |
400 | CreationPolicyViolation | creation policy violation | 生成物触发风控 |
400 | ModelUnavailable | model unavailable | 请求的模型不可用,调用任务失败,请检查模型类型并重试 |
400 | UserCancelled | user cancelled | 用户手动终止任务执行 |
400 | FieldInvalid | invalid field: {{.fields}} | 传入参数未通过合法性校验 |
401 | Unauthorized | unauthorized | 未鉴权 |
403 | Forbidden | forbidden | 请求没有权限 |
404 | TaskNotFound | task not found | Task id 没找到 |
404 | CreationNotFound | creation not found | Creation id 没找到 |
404 | NotFound | not found | 请求资源不存在 |
409 | Conflict | resource conflict | 资源主键冲突 |
429 | QuotaExceeded | quota exceeded | 超过并发限制。请联系商务 |
429 | TooManyRequests | too many requests | 请求太频繁 |
429 | SystemThrottling | system is throttling | 资源超过限制 |
499 | Canceled | request canceled by client | 请求被取消 |
500 | InternalServiceFailure | internal service failure | 服务器内部错误,请稍后重试,或联系客服 |