Wiro - Gemini 2 5 Flash icon

Wiro - Gemini 2 5 Flash

Gemini-2-5-flash

Wiro - Gemini 2 5 Flash

AI-generated

Overview

This node integrates with the Wiro API to process multimedia inputs (images, videos, audio) along with a text prompt and optional parameters to generate a response using the Gemini 2 5 Flash model. It supports chat history via user and session IDs, system-level instructions, and various model tuning parameters such as thinking budget, temperature, top P, and max output tokens. The node sends a request to the Wiro API, waits for the task to complete by polling, and returns the final status and message. This node is useful for scenarios requiring advanced AI-driven multimedia and text processing, such as generating responses based on multimedia context or extended AI thinking.

Use Case Examples

  1. Generating AI responses based on multiple input files (images, videos, audio) and a text prompt.
  2. Using chat history with user and session IDs to maintain context in conversations.
  3. Customizing AI output randomness and length with temperature, top P, and max output tokens parameters.

Properties

Name Meaning
Input Files URL Optional URLs of multiple input files separated by semicolon, supporting images, videos, and audio.
Prompt Required text prompt to guide the AI model's response.
User ID Optional user identifier for chat history, can be numeric or string.
Session ID Optional session identifier for chat history, can be numeric or string.
System Instructions Optional system-level instructions to guide the AI model's behavior.
Thinking Budget (Tokens) Optional token budget for extended AI thinking; -1 for dynamic, 0 to disable, range -1 to 65536.
Temperature Optional parameter controlling randomness of AI output, range 0.0 to 2.0.
Top P Optional nucleus sampling parameter controlling diversity, range 0.0 to 1.0.
Max Output Tokens Optional maximum length of AI response, range 1 to 65536.

Output

JSON

  • taskid - The unique identifier of the submitted task.
  • message - The final message or response from the AI model after task completion.
  • status - The status of the task, either 'completed' or 'failed'.

Dependencies

  • Wiro API with API key and secret for authentication

Troubleshooting

  • If the node throws an error indicating missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and the API is reachable.
  • Polling may fail or timeout if the task does not complete; ensure network connectivity and that the Wiro API service is operational.

Links

Discussion