图片
图片能力取决于上游与分组配置。未开通时会返回不支持。
请求示例
GET /v1/models 与控制台为准。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
图片生成接口(视分组支持情况)
POST /v1/images/generations
curl https://sub2api.lingshichat.top/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_IMAGE_MODEL",
"prompt": "a calm mountain lake at sunrise",
"size": "1024x1024"
}'
GET /v1/models 与控制台为准。