ai

GET /v1/ai/images/models

The image models a recipe may be pointed at.

Tất cả các điểm cuối ai

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Khóa này phải có quyền sites.view; khóa không có quyền này sẽ bị từ chối với mã lỗi 403, không phải 404.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

curl -X GET https://api.zinndigital.com/v1/ai/images/models \
  -H "Authorization: Bearer zdk_live_…"

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

The catalogue, filtered to what is actually sellable. ⛔ `untested` rows are excluded: a model the nightly self-test has *discovered* from a provider's listing is real but unproven, and offering it would be selling on the strength of a vendor's web page. `legacy` rows **are** included — a customer who pinned one deliberately keeps working. ⭐ Model ids here are **rows, not constants**, refreshed nightly from each provider's own listing and proven by a real generation. That is not architecture for its own sake: on the day this shipped, two of the three models the owner named by nickname had already moved to different ids. `capabilities` says what each one will and will not honour, so the picker can warn **before** a choice is made rather than after a post goes out with the wrong-shaped picture. Requires `sites.view`.

Tham số

TênLoạiBắt buộcNội dung này là gì
provider (query)string<openai, google, xai>Không

Phản hồi

TênLoạiBắt buộcNội dung này là gì
dataAiImageModel[]

Các lỗi điểm cuối này có thể trả về

401 · 403 · 422 · 429