通用开放接口Apps API
GET /v1/apps
GET
/v1/apps返回当前 Token 对应用户可见的已上架应用列表(无分页、无筛选;单次最多约 1000 条)。
鉴权:Bearer Token(只读)
请求示例(curl)
curl https://www.guid.ai/v1/apps \ -H "Authorization: Bearer sk-xxx"成功响应
{ "code": 0, "data": [ { "app_code": "self_face_swap_v3", "app_name": "换脸", "description": "上传人脸与底图生成换脸结果", "media_type": "image", "price_type": "paid", "billing_mode": "per_run", "price": 1.5 } ], "message": "", "success": true}data[] 字段
| 字段 | 类型 | 说明 |
|---|---|---|
app_code | string | 应用编码,创建任务时必填 |
app_name | string | 应用名称 |
description | string | 简介 |
media_type | string | 媒体类型,如 image / video |
price_type | string | 如 free / paid |
billing_mode | string | per_run(按次)或 per_second(按秒) |
price | number | 单价(⚡/次 或 ⚡/秒) |
列表不返回
input_schema。各应用的inputs字段以控制台 / 管理端该应用的入参配置为准;下文给出典型示例。