RunningHub API icon

RunningHub API

Interact with the RunningHub API

Standard Model API → Run Model API

AI-generated

Summary

Sends a POST request to any RunningHub standard model API endpoint under /openapi/v2, using a JSON body you supply, and returns the API's response as the item JSON.

Inputs

  • Endpoint Path (required) — Model API path relative to /openapi/v2, e.g. rhart-image-g/image-to-image. A full /openapi/v2/... path or a leading slash is also accepted and normalized.
  • Request Body (required) — JSON object parsed and sent as the POST body to the chosen endpoint. Defaults to {}. Invalid JSON will cause an error for that item.

Output shape

One output item per input item, with the parsed JSON response from the RunningHub endpoint as the item's json.

Authentication uses the credential's API key as a Bearer header (the key is not put in the body). Standard model jobs may return a status like QUEUED or RUNNING rather than final media URLs; poll with the Task Query 'Query Task Output V2' operation (/openapi/v2/query) for results. With Continue On Fail, errors are returned per item instead of stopping the run. The node also performs a license-key check before running, and fails if no valid license key is set in the credentials.

Examples

Example 1: Run an image-to-image model with a prompt and source image URL

Endpoint Path: rhart-image-g/image-to-image; Request Body: {"prompt":"...","imageUrls":["https://..."]} (fields per the model's API docs)

Example 2: Call an endpoint using a full path copied from docs

Endpoint Path: /openapi/v2/rhart-video/video-upscaler; Request Body: {"videoUrl":"https://...","targetResolution":"1080p"}

Links

Discussion