Venice AI

Use Venice AI for chat, image generation, embeddings, and more

Actions9

Overview

This node integrates with the Venice AI platform, providing access to various AI-powered capabilities such as chat completions, image generation and editing, text-to-speech conversion, embeddings creation, and model information retrieval. Specifically, for the Model - List operation, it fetches a list of available AI models filtered by type (e.g., text, image, embedding). This is useful when you want to dynamically retrieve and select from supported AI models in your workflows.

Practical examples:

  • Automatically fetching all available text models to present options for a chat or completion task.
  • Listing image generation models to choose the best fit for generating or editing images.
  • Retrieving embedding models to use for semantic search or text analysis.

Properties

Name Meaning
Model Type The category of models to list. Options: All, Text, Image, Embedding, TTS (text-to-speech), Upscale

Output

The output is a JSON object containing the list of models returned by the Venice AI API. The structure depends on the API response but generally includes details about each model such as its ID, type, and traits.

Example output structure (simplified):

{
  "models": [
    {
      "id": "venice-uncensored",
      "type": "text",
      "description": "A general-purpose text model"
    },
    {
      "id": "hidream",
      "type": "image",
      "description": "Image generation model"
    }
  ]
}

No binary data is produced for this operation.

Dependencies

  • Requires an API key credential for Venice AI configured in n8n.
  • Uses HTTP requests to Venice AI endpoints (/models and /models/traits) to fetch model information.
  • No additional environment variables are required beyond the API authentication.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Network connectivity problems can prevent reaching the Venice AI API.
    • Selecting an unsupported model type may return empty results or errors.
  • Error messages:

    • "No binary data property ... found" — Not applicable for this operation since no binary input is needed.
    • API errors will be propagated; ensure the API key is valid and has sufficient permissions.
  • Resolution tips:

    • Verify that the Venice AI API key is correctly set up in n8n credentials.
    • Check network access to the Venice AI service.
    • Use the "All" option for Model Type to get a complete list if filtering returns no results.

Links and References

  • Venice AI Documentation (hypothetical link)
  • Venice AI API Reference for Models endpoint (check official Venice AI API docs)

Discussion