UserAPI icon

UserAPI

UserApi.Ai - API layer to Midjourney (unofficial)

Seed

AI-generated

Summary

Send a seed request to the UserAPI Midjourney endpoint using a UUID hash. Optionally return the hash immediately or wait for the final result, and optionally provide a webhook URL for callbacks.

Inputs

  • hash (required) — The UUID hash of the job to seed (must be a valid UUID v4).
  • is_async — When true, the API returns the hash immediately; when false, it waits and returns the final seed result. Defaults to false.
  • webhook_url — An optional callback URL to receive progress or result notifications.
  • callback_id — An optional callback identifier (max 72 chars). This parameter is defined in the UI but is not sent to the API for the seed operation.

Output shape

array of items, each containing a json field with the API response.

On success, the response typically includes the hash and, when is_async is false, the final seed result. If the node’s continueOnFail option is enabled, errors are returned as { error: message } within the json field.

Examples

Example 1: Seed a job and wait for the final result

hash: '', is_async: false

Example 2: Seed a job and get the hash immediately, with a webhook for callbacks

hash: '', is_async: true, webhook_url: 'https://example.com/webhook'

Links

Discussion