PHOTA Create Profile
Phota
Phota Profile Creation
- PHOTA Profile creation model, uploads a collection of images to train and generate a reusable profile
- Returns profile_id instead of images
- Asynchronous processing mode, use the returned task ID to query task status
profile_idwill be returned in theresultsfield of the task details
POST
PHOTA Create Profile
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
application/json
phota-create-profile: Uploads images to train a profile, returns profile_id
Example:
"phota-create-profile"
Public URL of the image collection ZIP archive
Notes:
- Contains face photos for training the profile
- Must be a publicly accessible URL
- Format: ZIP archive
Example:
"https://example.com/face-photos.zip"
Response
Task created successfully
Task creation timestamp
Example:
1757165031
Task ID
Example:
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
Available options:
image.generation.task Task progress percentage (0-100)
Required range:
0 <= x <= 100Example:
0
Task status
Available options:
pending, processing, completed, failed Example:
"pending"
Async task information
Task output type
Available options:
image Example:
"image"