Actions9
- Image Actions
- 4o Image (GPT-Image-1) Actions
- Video Actions
- Music Actions
- Task Actions
- Fetch Actions
Image → Upscale Image
AI-generatedSummary
Upscale an image using a selected model.
Inputs
- model (required) — Model identifier for image generation (e.g., Flux-2).
- imageUrl (required) — URL of the source image to upscale.
- negativePrompt — Optional negative prompt to guide generation.
- width — Desired width of the upscaled image in pixels.
- height — Desired height of the upscaled image in pixels.
- strength — Control strength of the upscaling (0 to 1).
- seed — Optional seed for reproducibility.
- aspectRatio — Preferred aspect ratio for the output.
- quality — Quality setting (standard or hd).
- outputFormat — Output image format (jpg, png, webp).
- webhookUrl — Optional webhook URL to receive completion notification.
Output shape
single JSON object containing task details
Returns a record with the created task information; on success the body resolves, on failure an error is thrown.
Examples
Example 1: Upscale an image with default settings
Model: Flux-2; Image URL: https://example.com/input.jpg; Quality: standard; Output Format: webp
Example 2: Upscale with custom dimensions and format
Model: Midjourney; Image URL: https://example.com/pic.png; Width: 2048; Height: 2048; Output Format: png; Quality: hd