PHOTA Create Profile
Phota
Phota Profile 创建
- PHOTA Profile 创建模型,上传图片集合训练生成可复用 profile
- 返回 profile_id 而非图片
- 异步处理模式,使用返回的任务ID 进行查询
profile_id会在任务详情的results字段中返回
POST
PHOTA Create Profile
授权
所有接口均需要使用Bearer Token进行认证
使用时在请求头中添加:
Authorization: Bearer YOUR_API_KEY
请求体
application/json
响应
任务创建成功
任务创建时间戳
示例:
1757165031
任务ID
示例:
"task-unified-1757165031-uyujaw3d"
实际使用的模型名称
任务的具体类型
可用选项:
image.generation.task 任务进度百分比 (0-100)
必填范围:
0 <= x <= 100示例:
0
任务状态
可用选项:
pending, processing, completed, failed 示例:
"pending"
异步任务信息
任务的输出类型
可用选项:
image 示例:
"image"