LinkfoxAI agent and documentation index

Fetch the complete documentation index at: /llms.txt

Read when and how to use LinkfoxAI at: /agent-instructions.txt

Machine-readable API description: LinkfoxAI OpenAPI specification

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

LinkfoxAI logo
开始使用
API对接文档

查询作图模型与扣点

GET/image/v1/model/config/list

查询参数

bizType:必填整数,放在 URL 查询参数中。

请求示例

模板
GET /image/v1/model/config/list?bizType=69

返回字段

codeinteger
200 表示查询成功。
msgstring
响应说明。
dataarray[object]
模型列表;没有模型时返回空数组。
数组元素
apiCodestring
模型编号。图片模型用于 provider,视频模型用于 videoType。
namestring
模型显示名称。
pricingarray[object]
图片模型的扣点档位。
数组元素
modestring
模式:stable 稳定、eco 经济。
resolutionstring
该档位对应的分辨率。
qualitystring
该档位对应的品质。
pointsPerImageinteger
每张图的算力点数。
resolutionsarray[string]
视频模型支持的分辨率。
durationsarray[string]
视频模型支持的时长,单位为秒。
referenceImageLimitinteger
视频模型的参考图或参考帧数量上限。
referenceModesarray[string]
视频模型的参考素材模式:refImage 参考图、firstFrame 首帧、firstLastFrame 首尾帧、refVideo 参考视频、refAudio 参考音频、refAudioOnly 可只传参考音频。
capabilitiesarray[string]
视频模型的生成能力:lastFrame 尾帧、voice 声音参数、audio 音频输出。
ratiosarray[string]
视频模型支持的比例;adaptive 表示自适应。

响应示例

JSON
{
  "code": 200,
  "msg": "成功",
  "data": [
    {
      "apiCode": "EXAMPLE_MODEL",
      "name": "示例模型",
      "pricing": [
        {"mode": "stable", "resolution": "2K", "quality": "medium", "pointsPerImage": 40},
        {"mode": "stable", "resolution": "4K", "quality": "high", "pointsPerImage": 80}
      ]
    }
  ]
}

视频模型响应示例:

JSON
{
  "code": 200,
  "msg": "成功",
  "data": [
    {
      "apiCode": "EXAMPLE_VIDEO_MODEL",
      "name": "示例视频模型",
      "resolutions": ["720P", "1080P"],
      "durations": ["5", "10"],
      "referenceImageLimit": 3,
      "referenceModes": ["refImage", "firstFrame", "refVideo", "refAudio"],
      "capabilities": ["lastFrame", "voice", "audio"],
      "ratios": ["16:9", "9:16", "adaptive"]
    }
  ]
}