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

Cherry Studio - Desktop AI Client

Import a key into Cherry Studio from the 58API console, or set the API address to https://api.58api.net. Also covers in-chat image generation and the Gemini endpoint on the painting page.

🍒 Cherry Studio is a powerful desktop AI client designed for professional users, integrating 30+ industry-specific AI assistants to meet various work scenario requirements and significantly improve work efficiency.

58API Integration Method

Prerequisite: Cherry Studio is installed and has been opened at least once. Otherwise the browser cannot open Cherry Studio.

  1. On the API Keys page of the 58API console, click the "⋯" at the far right of the row of the key you want to use, then choose Chat → Cherry Studio.
  2. When the browser asks whether to open Cherry Studio, allow it.
  3. Cherry Studio shows an Add 58API API Key dialog. Check that Provider Name is 58API and Base URL is https://api.58api.net, then click Add. If you see "58API already has this API key. It will not be added again.", the key was imported before; just click Confirm.
  4. Cherry Studio opens the 58API provider under Settings → Model Provider. It is separate from the built-in New API provider and does not change your existing 58API settings. If the enable switch in the top-right corner is off, turn it on, then add models as described in step 3 of Method 2 below.

Older versions of the console imported the key into the built-in New API provider (appended after its existing keys). If you imported a key that way before, you can delete the extra key in the 58API provider and use the 58API provider from now on.

Method 2: Manual configuration

Parameter Configuration

Provider: the built-in New API provider (Settings → Model Provider → New API) API Key: Obtain from 58API API Host: https://api.58api.net (Cherry Studio appends /v1 or /v1beta automatically depending on the protocol; https://api.58api.net/v1 also works)

Step-by-Step Guide

  1. Copy API key from 58API Copy API Key
  2. Add Provider Add Provider
  • Open Settings → Model Provider, select the built-in New API provider in the list, and turn on the enable switch in the top-right corner
  • API Key: paste your 58API API Key
  • API Host: enter https://api.58api.net (Cherry Studio appends /v1 or /v1beta automatically; https://api.58api.net/v1 also works. Do not end it with #, and do not paste /chat/completions)
  1. Add Models Add Models The screenshot shows an older version; some of the models in it have been retired. Use the current 58API model list.
  2. Return to Chat Page Switch to Chat Page The screenshot shows an older version; some of the models in it have been retired. Use the current 58API model list.
  3. Switch to 58API Model Switch Model The screenshot shows an older version; some of the models in it have been retired. Use the current 58API model list.

Drawing in Cherry Studio

First, you need to configure an API provider that supports drawing

  1. First, open Manage under the 58API provider (one-click import) or the 58API provider (manual configuration), then search for and add an image-generation model (e.g. gpt-image-2) Drawing Models The screenshot shows an older version; gpt-image-1 in it has been retired. Add gpt-image-2 instead.
  2. Open the painting page, choose 58API or New API as the provider and gpt-image-2 as the model, enter a prompt, then click generate Drawing The screenshot shows an older version; the page title differs in the current version.

Using Nano Banana (Gemini image generation)

The Nano Banana models (gemini-3-pro-image, gemini-3.1-flash-image) only work through the native Gemini API. In Cherry Studio 2.0 and later, the chat page and the Paintings page need opposite model settings, so you need two providers:

Where you generate imagesProviderModel Type
Chat page58APIText
Paintings page58API Paint (new)Image

When a model's type is Image, the chat page hides it from the model list, while the Paintings page only lists models whose type is Image. The same model cannot serve both pages, so add it once under each provider.

The steps below use the 58API provider created by the one-click import.

Use it in chat

  1. Open Settings → Model Provider → 58API, click the gear to the right of the API address to open Request configuration, and make sure the Gemini field contains https://api.58api.net. Fill it in if it is empty.
  2. Click + in the model list to add a model:
  • Model ID: gemini-3-pro-image (Nano Banana Pro)
  • Model purpose: Chat
  • Chat protocol: Gemini
  • Expand More Settings and set Model Type to Text. Turn on Vision under Input Modalities to upload reference images
  1. Add gemini-3.1-flash-image (Nano Banana 2) the same way.
  2. Go back to the chat page, pick Nano Banana under 58API in Select Model, and send your prompt. The generated image appears in the reply.

Use it on the Paintings page

  1. Click Add Provider at the bottom of the Settings → Model Provider list: After adding it, turn on the enable switch in the top-right corner.
  • Provider Name: 58API Paint (any name works)
  • Endpoint settings: enter https://api.58api.net in the Gemini field
  • API Key: paste your 58API API key
  1. Under this provider, click + to add a model:
  • Model ID: gemini-3-pro-image
  • Model purpose: Chat (do not choose Image generation)
  • Chat protocol: Gemini (if this option is missing, the provider already defaults to Gemini)
  • Expand More Settings and set Model Type to Image
  1. Add gemini-3.1-flash-image the same way.
  2. Quit Cherry Studio completely and open it again. The Paintings page caches its model list; without a restart it may show "Failed to fetch the model".
  3. Open the Paintings page, choose Nano Banana under 58API Paint, enter a description, and generate.

Troubleshooting

  • "请使用 Gemini 原生接口调用 / please use the Gemini native API": the model purpose is set to Image generation, or the chat protocol is not Gemini. Nano Banana does not support the OpenAI image API; change it to Chat + Gemini.
  • Nano Banana is missing on the chat page: its model type under this provider is Image. Change it back to Text.
  • Nano Banana is missing on the Paintings page: check that the model type is Image and that you have restarted Cherry Studio. If the model's purpose was ever switched between Image generation and Chat, Cherry Studio removes its image output and the setting cannot be restored in the interface. Delete the model and add it again with the steps above, choosing Chat as the purpose from the start.
  • The Paintings page says "Failed to fetch the model": quit Cherry Studio completely and open it again.