OpenAPI 接口规范
查询实时模型目录
读取当前 API Key 可用的模型 ID、支持接口、能力参数与实时人民币报价。
GET
/v1/models在请求头中携带 Authorization: Bearer YOUR_BEEFTV_API_KEY。获取 API Key →
请求示例
替换为你的 API Key、真实任务编号与可访问的素材链接。
curl -X GET "https://beeftv.cn/v1/models" \ -H "Authorization: Bearer YOUR_BEEFTV_API_KEY"响应示例
以下为脱敏后的真实返回结构,点击切换状态码。
返回当前 Key 的实时模型列表与协议能力。
{ "object": "list", "media_protocol": { "version": "managed-media-v1", "supported_media_types": [ "image", "video", "upscale", "audio" ], "task_submit_url": "/v1/media/tasks", "task_query_url_template": "/v1/media/tasks/{task_ref}", "uploads_url": "/v1/media/uploads", "async_supported": true, "sync_compat_endpoints": [ "/v1/images/generations", "/v1/images/edits" ] }, "data": [ { "id": "dola-seedream-5-5-261028", "display_name": "Seedream 5.5", "object": "model", "created": 1626777600, "owned_by": "beeftv", "supported_endpoint_types": [ "image-generation" ], "image_capabilities": { "size": { "parameter": "size", "values": [ "1K", "1.5K", "2K" ], "default": "2K", "allowCustom": true, "tiers": [ "1K", "1.5K", "2K" ], "minPixels": 921600, "maxPixels": 4624220 }, "references": { "maxImages": 10, "maskSupported": false }, "transparentBackground": { "supported": true, "default": false }, "background": { "supported": true, "values": [ "auto", "transparent", "opaque" ], "default": "auto" }, "outputFormat": { "supported": true, "values": [ "png", "jpeg" ], "default": "png" }, "directDelivery": { "supported": true }, "controls": { "layer_decomposition": { "type": "boolean", "default": false }, "layer_decomposition_options.max_images": { "type": "integer", "min": 2, "max": 100, "step": 1, "default": 30, "visible_when": { "layer_decomposition": true } }, "layer_decomposition_options.text_recognition": { "type": "boolean", "default": true, "visible_when": { "layer_decomposition": true } }, "optimize_prompt_options.mode": { "type": "string", "enum": [ "standard" ], "default": "standard" }, "watermark": { "type": "boolean", "default": false } }, "maxOutputs": 1 }, "pricing": { "model_name": "dola-seedream-5-5-261028", "mode": "per_request", "per_request_cny": 0.0237349, "display_kind": "image", "image_price_table": { "pricebook_id": "enterprise_cny_v1", "currency": "CNY", "output": { "standard": { "1K": 0.0135628, "2K": 0.0237349 }, "layers": { "1K": 0.0135628, "2K": 0.0237349 } }, "reference": 0.00542512, "free_reference_images": 0, "low_tier_max_pixels": 2601123, "default_quality": "standard", "default_size": "2K" } } } ], "success": true}响应字段、响应头与状态码
响应体
application/json
application/json
application/json
application/json
application/json
application/json