BazaarLinkBazaarLink
Đăng nhập
Tài liệuTham chiếu APITham chiếu SDKSử dụng AgentKỹ năng AI
Hình ảnh

Liệt kê các model tạo ảnh

Liệt kê mọi model tạo ảnh khả dụng, mỗi model kèm supported_parameters — danh sách chính thức về những gì tuyến của model đó thực sự chấp nhận (ví dụ aspect_ratio có được hỗ trợ gốc không, input_references có bật image-to-image không). Không cần xác thực; với API key của tổ chức, phản hồi được lọc theo danh sách model cho phép của tổ chức.

GET/api/v1/images/models

Hướng dẫn chi tiết →

GET /api/v1/images/models
curl https://bazaarlink.ai/api/v1/images/models
Ví dụ phản hồi

Thành công. Trả về danh sách model; cache 5 phút (private, không cache với key tổ chức). supported_parameters là bảng hỗ trợ chính thức theo tuyến.

{
  "object": "list",
  "data": [
    {
      "id": "openai/gpt-image-2",
      "object": "model",
      "created": 1753500000,
      "owned_by": "openai",
      "name": "GPT Image 2",
      "description": "…",
      "pricing": {
        "prompt": "0.000005",
        "completion": "0.00004",
        "image": "0.04"
      },
      "architecture": {
        "modality": "text+image->image",
        "input_modalities": [
          "text",
          "image"
        ],
        "output_modalities": [
          "image"
        ]
      },
      "supported_parameters": [
        "model",
        "prompt",
        "n",
        "size",
        "stream",
        "aspect_ratio",
        "resolution",
        "quality",
        "background",
        "output_format",
        "output_compression",
        "seed",
        "input_references"
      ]
    }
  ]
}
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Liệt kê các model tạo ảnh — BazaarLink API