upscale_image
Upscale an image
Description
Upscale a PICTURE 2x or 4x, same picture, sharper and bigger (upscale_video is for video). Output up to 36 MP; a 4x past that is refused with 2x offered. Priced per output megapixel; dryRun returns this picture's price. Lands in the Library.
Parameters
| Parameter | Type | Description |
|---|---|---|
imagerequired | string | the picture: an https / upload_file URL, a Library id (L0…), or a local path on the CLI |
factor | number | number | 2 (default) or 4 |
dryRun | boolean | price only: nothing made, nothing charged |
get_cost | boolean | true: return the price only; nothing runs or bills |
expected_credits | number | the get_cost price; refused unbilled if the live price differs |
idempotency_key | string | chosen once, resent unchanged on retries: the same key never buys twice |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/upscale_image.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upscale_image","arguments":{"image":"<string>"}}}
CLI
hermoso call upscale_image --json '{"image":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
upscale_videoUpscale videophoto_to_modelPhoto to 3D modelsplit_vocalsRemove vocals (split a song into stems)face_match_cutFace match cutvideo_filterApply a retro or camera filter to a videotrack_objectsTrack objects in a videocut_out_backgroundRemove the background from a pictureface_swap_videoSwap only the face in a videocut_out_video_backgroundRemove the background from a videoproduct_photoshootProduct photoshoot