查询图片生成配置
查询图片生成是否可用,以及可用模型、尺寸、参考图上限、参考图附加费和当前费率版本。无需认证。提交时只使用本接口返回的模型和尺寸。
认证
公开接口,无需认证。
示例中的凭证为占位值,请替换后在服务器端运行。
代码示例
curl -X GET 'https://shixux.com/api/v1/image/config'{ "enabled": true, "available": true, "message": "example", "models": [ "doubao-seedream-5-0-pro-260628" ], "sizes": [ "1024x1024" ], "billing": { "rates": [ { "model": null, "size": null, "credits": null } ], "version": 1, "updated_at": "2026-10-06T10:00:00Z" }}请求成功
application/json- response
reference_rates?各模型的参考图附加费(积分)。未出现在此列表中的模型不对参考图收费。
max_reference_images?各模型最多可使用的输入图片数量。
available*booleanbilling*enabled*booleanmessage*stringmodels*array<>sizes*array<>