58API Help Center58API Help Center
User GuideAI ApplicationsAPI DocumentationHelp & Support

Flowise - Visual LLM workflow platform

Use OpenAI Custom Model (formerly known as ChatOpenAI Custom) in Flowise to access 58API, and complete the custom model, basic address, conversation testing and troubleshooting.

Recommended access method

The 58API model does not necessarily appear in Flowise's preset list, so this tutorial uses OpenAI Custom Model (Flowise 3.0.x and earlier versions are named ChatOpenAI Custom). It allows manual filling of model names and OpenAI compatible base addresses.

Flowise can build Chatflow and Agentflow by dragging nodes.

Preparation before use

  1. Log in 58API, create an API Key, and confirm that the balance is sufficient.
  2. Confirm the exact model ID to use from the 58API model list.
  3. Prepare a working Flowise instance.

Add OpenAI Custom Model (formerly ChatOpenAI Custom)

  1. Create a new Chatflow.
  2. Open the node list (Add Nodes → LangChain → Chat Models), or enter in the search box custom, find OpenAI Custom Model (Flowise 3.0.x and earlier versions are named ChatOpenAI Custom, and the description is "Custom/FineTuned model using OpenAI Chat compatible API").
  3. Drag the node to the canvas.

Flowise OpenAI Custom Model (formerly ChatOpenAI Custom) node and Model Name field

If using a normal OpenAI (formerly ChatOpenAI) node, the model must appear in its preset list; custom model names should use OpenAI Custom Model.

Create 58API credentials

Open Connect Credential in the OpenAI Custom Model node and select Create New.

Create New credential entry in Flowise official documentation

Fill in the newly created OpenAI API credentials:

FieldFill in the content
OpenAI Api KeyYour 58API API Key

Return to the node after saving the credentials. The API Key is saved by the credential manager, do not write it into the prompt word, node name, or exported public process.

Fill in the model and base address

  1. Model Name: Fill in the exact model ID returned by 58API.
  2. Expand Additional Parameters.
  3. Base Path: fill in https://api.58api.net/v1。
  4. Base Options: Leave empty.

58API BasePath configuration in Flowise Additional Parameters

The figure shows the fill-in value of 58API: BasePath fill-in https://api.58api.net/v1, BaseOptions remains empty.

Base Path is only filled in to /v1

Don't fill in https://api.58api.net/v1/chat/completions. Flowise will splice the request path by itself based on node operations.

When to fill in Base Options

Base Options will be passed to OpenAI SDK as JSON default request header. 58API does not require additional request headers when using Bearer API Key normally, so just keep it empty. If the server explicitly requires additional request headers, the content must be legal JSON; incorrect format will directly fail before sending the request.

Connect and run Chatflow

  1. Add Conversation Chain and a Memory node, such as Buffer Memory. Conversation Chain’s Memory input is required and must not be left unconnected.
  2. Connect OpenAI Custom Model to Conversation Chain’s Chat Model input, and connect Buffer Memory to its Memory input.
  3. Save the Chatflow.
  4. Open the test panel with the chat button in the top-right corner and send a plain-text message.
  5. Confirm that Flowise returns text and that the corresponding request appears in the 58API console usage log.

Validate this minimal setup—OpenAI Custom Model → Conversation Chain + Buffer Memory—before adding Retriever, Tools, or Agent nodes. Memory is part of this minimal flow, not an optional later extension.

Verification Checklist

  • OpenAI API credentials are saved and the node no longer prompts for missing credentials.
  • Model Name is exactly the same as 58API model ID.
  • Base Path is https://api.58api.net/v1。
  • Base Options is empty, or the content is legal JSON explicitly required by the server.
  • Conversation Chain’s Chat Model and Memory inputs are both connected; Buffer Memory can supply Memory.
  • The Chatflow test can return text, and the 58API usage log has corresponding records.

Multimodality and Tool Call Limitations

  • Image upload requires Allow Image Uploads under the Chat Model node’s Additional Parameters. Only the regular OpenAI node provides this option, but that node limits model selection to its preset list.
  • OpenAI Custom Model (formerly ChatOpenAI Custom) has no image-upload option. This tutorial’s Chatflow therefore cannot send images using a custom 58API model ID, even if the model itself supports vision. For image input, use a client that supports custom vision models, such as Cherry Studio.
  • Tools, Structured Output and reasoning content depend on the LangChain node and model return format, and are not necessarily available after setting the Base Path.
  • Flowise 3.0.11 had Agentflow v2 Structured Outputs issues, related official issue Closed.

FAQ

Conversation Chain reports a missing Memory input

Add Buffer Memory, connect its output to Conversation Chain’s Memory input, and save. Memory is required; connecting only Chat Model does not complete the minimal flow.

There is no required model in the Model Name drop-down box.

Use OpenAI Custom Model (old name ChatOpenAI Custom), manually paste in Model Name /v1/models The exact ID returned does not need to be searched repeatedly in the default list of ordinary OpenAI nodes.

Return 401

Re-create or edit the OpenAI API credentials and confirm that the API Key is complete and has no spaces or newlines. Base Path is not responsible for authentication.

Return 404

Confirm that the Base Path is https://api.58api.net/v1, and no additional /chat/completions. Check again whether the model ID exists.

Requests are sent to the OpenAI official address

Expand Additional Parameters and confirm that the Base Path is actually saved. Simply creating a custom API Key credential without setting a Base Path may still use the node default address.

Normal chat is normal, but Agent or tool fails

Return to the plain text Conversation Chain verification first; then add tools one by one. Confirm that the selected model supports the standard OpenAI tool calling structure and do not infer capabilities based on the model name alone.

official basis