Image API
Unified Routes
text
GET /v1/models
POST /v1/images/generations
POST /v1/images/edits
POST /v1/chat/completionsQuery Available Models
Query available models with the token under its current group:
bash
curl https://logox.top/v1/models \
-H "Authorization: Bearer sk-logox-your-key"Notes
After changing the Base URL, calls work the same way as the corresponding official API.
Image Generation Example
bash
curl https://logox.top/v1/images/generations \
-H "Authorization: Bearer sk-logox-your-key" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-1",
"prompt": "A white-background product poster",
"size": "1024x1024"
}'