跳转到主要内容
POST
/
kyyReactApiServer
/
asset
/
sd2Manxue
/
assetStatus
curl --request POST \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/asset/sd2Manxue/assetStatus \
  --header 'Authorization: Bearer {{key}}' \
  --header 'Content-Type: application/json' \
  --data '{
    "assetIds": [
      "asset_img_001",
      "asset_video_001"
    ]
  }'
{
  "code": "0",
  "msg": null,
  "data": {
    "items": [
      {
        "assetId": "asset_img_001",
        "status": "Active"
      },
      {
        "assetId": "asset_video_001",
        "status": "Processing"
      }
    ],
    "failedItems": []
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.globalaiopc.com/llms.txt

Use this file to discover all available pages before exploring further.

Sd2 Manxue 批量查询素材审核状态

批量查询已提交审核的 sd2_manxue 素材状态。可用于判断素材是否已经通过审核并可在视频生成任务中使用。

认证

所有请求都需要在请求头中包含 Bearer token:
Authorization: Bearer {{key}}

基础 URL

https://zcbservice.aizfw.cn/kyyReactApiServer
baseUrl 为所有对外 API 的公共前缀。当前页面 frontmatter 中的 api 字段展示的是完整请求地址,请在接入时以这里的 baseUrl 为统一前缀理解和拼接接口路径。

请求参数

assetIds
array
必填
需要查询状态的素材 ID 列表。示例:
  • asset_img_001
  • asset_video_001

响应参数

code
string
状态码,0 表示成功。
msg
string
返回信息。失败时返回错误原因。
data.items
array
查询成功的素材状态列表。
data.items[].assetId
string
素材 ID。
data.items[].status
string
当前审核状态。常见值:
  • Active - 审核通过,可直接使用
  • Processing - 审核中
  • Failed - 审核失败
data.failedItems
array
查询失败的素材列表,可能为空。
data.failedItems[].assetId
string
查询失败的素材 ID。
data.failedItems[].errorMessage
string
查询失败原因。
当素材状态为 Active 时,建议在生成任务中使用 asset://{assetId} 的形式引用素材。
curl --request POST \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/asset/sd2Manxue/assetStatus \
  --header 'Authorization: Bearer {{key}}' \
  --header 'Content-Type: application/json' \
  --data '{
    "assetIds": [
      "asset_img_001",
      "asset_video_001"
    ]
  }'
{
  "code": "0",
  "msg": null,
  "data": {
    "items": [
      {
        "assetId": "asset_img_001",
        "status": "Active"
      },
      {
        "assetId": "asset_video_001",
        "status": "Processing"
      }
    ],
    "failedItems": []
  }
}