Images
Image capability depends on upstream and group configuration. Unsupported groups return an error.
Example
GET /v1/models and the console.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Image generation (depends on group support)
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 and the console.