UserAPI icon

UserAPI

UserApi.Ai - API layer to Midjourney (unofficial)

Upscale

AI-generated

Summary

Upscales a Midjourney image variant via POST /midjourney/v2/upscale.

Inputs

  • hash (required) — Required UUID hash identifying the image to upscale
  • choice (required) — Selects which image variant to upscale (1-4)
  • webhook_url — Optional callback URL for webhook notifications
  • webhook_type — Allowed values: progress, result

Output shape

JSON response from the Midjourney API, paired with the input item index.

Invalid hash format throws a NodeApiError; webhook fields are attached only when webhook_url is provided.

Examples

Example 1: Upscale the first variant of an image with hash `a1b2c3d4-e5f6-7g8h-9i10-jk11l12m13n14`.

hash: a1b2c3d4-e5f6-7g8h-9i10-jk11l12m13n14, choice: 1

Links

Discussion