Phota Image Enhancement
- PHOTA image enhancement model
- Supports creativity and resemblance adjustments, supports profile_ids
- Asynchronous processing mode, use the returned task ID to query task status
- Generated image links are valid for 24 hours, please save them promptly
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
phota-image-enhance: Image enhancement, supports creativity adjustment
"phota-image-enhance"
Input image public URL
Notes:
- Image to enhance
- Must be a publicly accessible URL
"https://example.com/low-res-photo.jpg"
Output image resolution
Options:
1K4K
"4K"
Creativity level
Notes:
- Higher values introduce more creative changes during enhancement
- Range
0.0-1.0
Do not pass this parameter unless necessary.
0.5
Resemblance level
Notes:
- Higher values make the enhanced result closer to the original
- Range
0.0-1.0
Do not pass this parameter unless necessary.
0.8
Profile ID list
Notes:
- Profile IDs created by
phota-create-profile - Used to maintain character consistency in enhancement results
Do not pass this parameter unless necessary.
["profile_abc123"]
Response
Task created successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
image.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Async task information
Task output type
image "image"