Actions14
- Account Actions
- Image Actions
- Job Actions
- Video Actions
Image → Upscale
AI-generatedSummary
Initiates an upscale request for a specified image using the provided parameters.
Inputs
- jobId (required) — The job ID from a previous image generation task
- imageNo (required) — Which image to upscale (0-3, corresponding to the 4 generated images)
- type (required) — The type of upscaling to apply
- callback — Optional webhook URL to receive the result when the upscale task is completed
- requestOptions — Advanced request settings such as batching, proxy, timeout, and SSL options
Output shape
an object containing the upscale job status and job ID
The response is a single object; additional fields may be omitted and status values vary.
Examples
Example 1: Upscale the first generated image with subtle upscaling and use a webhook to be notified when completed.
jobId: "12345", imageNo: 0, type: 0, callback: "https://example.com/webhook"
Example 2: Batch upscale multiple images with a batch size of 10 and a 500 ms interval.
jobId: "67890", imageNo: 1, type: 2, requestOptions: {"batching": {"batchSize": 10, "batchInterval": 500}}
Example 3: Perform a 4× upscale on image 3 without a callback.
jobId: "54321", imageNo: 3, type: 3