PantheraHive

Automate AI workflows, manage user wallets, and run AI models using the PantheraHive platform

Actions7

Model → Run AI Task

AI-generated

Summary

Send a prompt or task to a specified AI model on the PantheraHive platform and receive the AI-generated response.

Inputs

  • Prompt (required) — The prompt or task text to send to the AI model, guiding the AI's response.
  • Model — Select the AI model to use for the task; options include 'Default (Platform Choice)', 'Gemini 2.5 Pro', and 'Gemini 2.0 Flash'. Defaults to 'default'.
  • System Prompt — Optional system or context prompt prepended before the user prompt to provide additional guidance to the AI.
  • Max Tokens — Maximum number of tokens the AI model should generate in the response, from 1 up to 8192. Defaults to 2048.
  • User ID — Optional user identifier for credit tracking and audit purposes.

Output shape

a single JSON object containing the AI model's response to the prompt

The output JSON structure matches the API's response format from PantheraHive's /api/make/model/run endpoint. Errors during execution are surfaced as node errors or as JSON with error details if 'Continue On Fail' is enabled.

Examples

Example 1: Run an AI task with a user prompt and default model

Prompt text provided; other parameters at their defaults or blank; user ID optional.

Links

Discussion