/api/v1/models
Models
列出模型
Returns a list of available models supported by the Venice.ai API across text, image, audio, video, and related inference types.
GET
/api/v1/models
质量等级定价
对于接受可选quality 参数的图像模型(当前为 gpt-image-2 和 gpt-image-2-edit),响应在 model_spec.pricing.quality 下提供按质量划分的价格矩阵。每个顶级键是一个分辨率等级(1K、2K、4K),每个嵌套键是一个质量等级(low、medium、high),各自带有自己的 usd 和 diem 价格:
pricing.resolutions 是为向后兼容而保留的旧版按图像价格表。pricing.quality 是按(分辨率,质量)组合的矩阵,每当 quality 参数被支持时即适用。两个字段都会保留在响应中,以便客户端检测质量支持并在自己的 UI 中展示该矩阵。
Postman 集合
如需更多示例,请参阅此 Postman 集合。授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
查询参数
Filter models by type. Use "all" to get all model types.
可用选项:
asr, embedding, image, music, text, tts, upscale, inpaint, video 示例:
"text"