Upscale images to ultra-high resolutions up to 12K
| Parameter | Type | Required | Description |
|---|---|---|---|
image_url | string | Yes | Publicly accessible image URL (HTTP/HTTPS). Supports JPEG, PNG, TIFF. Max: 100MB |
| Parameter | Type | Required | Description |
|---|---|---|---|
jobId | string | Yes | ID from previous Midjourney task |
imageNo | integer | Yes | Image index from grid (0-3) |
| Parameter | Type | Default | Description |
|---|---|---|---|
target_resolution | string | 2K | Output resolution: HD, FHD, 2K, 4K, 6K, 8K, 12K |
content_type | string | standard | Enhancement model: standard, photo, illustration, text, low_res |
aspect_ratio | string | keep | Aspect ratio: keep, 1:1, 16:9, 9:16, 4:5, 5:4, 3:2, 2:3, 4:3, 3:4 |
crop_mode | string | letterbox | Crop handling: letterbox, crop, stretch |
output_format | string | jpeg | Output format: jpeg, jpg, png, tiff, tif |
face_enhancement_level | string | moderate | Face enhancement: off, none, subtle, moderate, strong |
callback | string | - | Webhook URL for completion notifications |
| Resolution | Long Edge | Credits | Cost | Recommended For |
|---|---|---|---|---|
| HD/FHD | 1920px | 120 | $0.12 | Web, social media |
| 2K | 2560px | 120 | $0.12 | Web, social media (default) |
| 4K | 3840px | 160 | $0.16 | Digital displays |
| 6K | 6144px | 200 | $0.20 | Professional printing |
| 8K | 7680px | 300 | $0.30 | Large format prints |
| 12K | 12288px | 540 | $0.54 | Billboards, posters |
| Type | Best For |
|---|---|
standard | General purpose, mixed content (default) |
photo | Photographs, realistic images |
illustration | Digital art, CGI, drawings |
text | Documents, screenshots with text |
low_res | Very low quality source images |
| Level | Effect |
|---|---|
off / none | Disabled (no faces in image) |
subtle | Gentle enhancement for natural portraits |
moderate | Balanced enhancement (default) |
strong | Aggressive enhancement for low-quality faces |
| Field | Type | Description |
|---|---|---|
job_id | string | Unique task identifier (UUID) |
model | string | Model used: midjourney |
task_type | string | Task type: enhance_upscale |
status | string | Current status: pending, processing, completed, failed |
config | object | Service configuration |
config.service_mode | string | Service mode: public |
config.webhook_config | object | Webhook configuration |
config.webhook_config.endpoint | string | Webhook endpoint URL (empty if not set) |
config.webhook_config.secret | string | Webhook secret (empty if not set) |
input | object/null | Input parameters (null for this endpoint) |
output | object | Task output (empty until completed) |
output.image_url | string | Primary enhanced image URL (available when status is completed) |
output.image_urls | array/null | Array of enhanced image URLs (null until completed) |
output.seed | string | Generation seed (empty for enhancement tasks) |
meta | object | Task metadata |
meta.created_at | string | Task creation timestamp (ISO 8601) |
meta.started_at | string | Task start timestamp (ISO 8601, 0001-01-01T00:00:00Z if not started) |
meta.ended_at | string | Task completion timestamp (ISO 8601, 0001-01-01T00:00:00Z if not completed) |
meta.usage | object | Credit usage information |
meta.usage.type | string | Usage type: point |
meta.usage.frozen | integer | Credits frozen/reserved for this task |
meta.usage.consume | integer | Credits actually consumed (0 if task failed) |
detail | object/null | Additional task details (null if none) |
logs | array | Processing logs (empty array) |
error | object | Error information |
error.code | integer | Error code (0 if successful) |
error.raw_message | string | Raw error message from service (empty if successful) |
error.message | string | Human-readable error message (empty if successful) |
error.detail | object/null | Additional error details (null if none) |
job_id to check task status via the Get Task Status endpoint.API key for authentication
Direct image URL to enhance. Must be publicly accessible. Supports JPEG, PNG, TIFF formats. Maximum file size: 100MB.
2048"https://example.com/photo.jpg"
Task ID from a previous Midjourney generation task. Use this to enhance images from prior generations.
"1868588555208310784"
Image index from the Midjourney grid (0-3). Required when using jobId.
0 <= x <= 30
Target output resolution. Higher resolutions cost more credits.
HD, FHD, 2K, 4K, 6K, 8K, 12K "4K"
Content-aware enhancement model selection.
standard, photo, illustration, text, low_res "photo"
Output aspect ratio. Use 'keep' to maintain original proportions.
keep, 1:1, 16:9, 9:16, 4:5, 5:4, 3:2, 2:3, 4:3, 3:4 "keep"
How to handle aspect ratio changes when aspect_ratio is not 'keep'.
letterbox, crop, stretch "letterbox"
Output image format.
jpeg, jpg, png, tiff, tif "jpeg"
AI-powered face enhancement strength.
off, none, subtle, moderate, strong "moderate"
Webhook URL for task completion notifications.
"https://your-domain.com/webhook"
Enhancement task created successfully