AI Image Upscaler API Reference - Magic Hour Docs
Upscale your image using AI. Each 2x upscale costs 50 credits, and 4x upscale costs 200 credits.
Documentation Index
Fetch the complete documentation index at: https://magichour-update-openapi-spec.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API key. To get your API key, go to Developer Hub and click "Create new API Key".
Body
Body
How much to scale the image. Must be either 2 or 4.
Note: 4x upscale is only available on Creator, Pro, or Business tier.
2
Provide the assets for upscaling
Give your image a custom name for easy identification.
"My Image Upscaler image"
Response
Success
Success
Unique ID of the image. Use it with the Get image Project API to fetch status and downloads.
"cuid-example"
The amount of credits deducted from your account to generate the image. We charge credits right when the request is made.
If an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund.
50