UserAPI icon

UserAPI

UserApi.Ai - API layer to Midjourney (unofficial)

Inpaint

AI-generated

Summary

Operation: inpaint

Inputs

  • hash (required) — Required UUID hash
  • mask (required) — Mask (Base64)
  • prompt (required) — Prompt
  • webhook_url — Optional callback URL
  • webhook_type — Allowed values: progress, result

Output shape

main

Returns the API response JSON per item.

Examples

Example 1: Ingest a midjourney generation hash, Base64 mask, and inpaint prompt to request region replacement via UserAPI.

Set hash, mask, prompt; optionally webhook_url and webhook_type for status polling.

Links

Discussion