Midjourney Upscale
Enhance and enlarge your AI-generated images with professional quality upscaling using our /upscale API.
What is Upscale?
Upscaling enhances your generated images by increasing their resolution and improving quality.
Use /upscale API
Integrate Midjourney's upscale functionality directly into your applications.
API Example
curl --location 'https://api.legnext.ai/api/v1/upscale' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "jobId": "280b8eb6-978f-446b-a87d-198caed8eabe", "imageNo": 4, "type": 0, "callback": "https://webhook.site/a334611b-cc33-4f5e-a865-9800f92f5551" }'
Parameters
- jobId: Original generation job ID
- imageNo: Image number (1-4)
- type: Upscale type (0-3)
- callback: Webhook URL
Response
Returns job ID, status, and usage information for tracking progress
API Response Example
{ "job_id": "2c76c546-40aa-4142-9ac1-bb30020f9f29", "model": "midjourney", "task_type": "upscale", "status": "pending", "config": { "service_mode": "public", "webhook_config": { "endpoint": "https://webhook.site/...", "secret": "" } }, "output": { "image_url": "", "image_urls": null }, "meta": { "created_at": "2025-09-10T15:21:05Z", "usage": { "type": "point", "frozen": 120, "consume": 0 } } }
job_id: Unique identifier for tracking the upscale job
status: Current job status (pending, processing, completed, failed)
frozen: Points reserved for this operation (120 points for upscale)