Xuo Code setup
Xuo Code uses a Xuo gateway API key to connect to available text, image and video models. Get the Windows installer and product information from the Xuo Code website.
1. Create an automatic-group API key
Sign in to the Xuo console, open API Keys, and create a key:
- Enter a recognizable name such as
Xuo Code. - Select Automatic group. The key then follows the configured automatic-group routing order; actual groups can have different prices.
- Set quota, expiry and model restrictions as needed. You can keep other advanced options at their defaults initially, but make sure the models you need are not restricted.
- Save and copy the full API key. Treat it like a password and paste it only into your own Xuo Code client.
Your account needs available wallet or subscription credit. Model access also depends on key permissions, available channels in the automatic group, and model restrictions.
2. Download and connect
Download and install the Windows client from the Xuo Code website. Open the client's Connect page, paste the full API key into the key field, and save. Do not paste the key into a chat, project file, screenshot or public repository.
Use your Xuo gateway API key for this connection. Do not enter an upstream provider key or your website login password. If the connection fails, copy the key again, check for leading or trailing spaces, and confirm the key is still active.
3. Install the components you need
Open Capabilities and install the components you plan to use. Components provide specific workstation capabilities, so install only what you need. Image and video tasks also require a compatible component, model and key group.
4. Choose models and execution permissions
Select an available model on the Models page. The list comes from the server and depends on the API key's permissions and group. If a model is missing, check its key group, model restrictions and available channels in the automatic-group configuration.
Choose execution permissions on the Connect page according to the task. Pay particular attention to permissions that read or modify local files or run commands. The gateway API key controls model access and routing; client execution permissions control what the local workspace can do. They are separate settings.
5. Run a small task and verify usage
Start with a simple, low-cost task to confirm the connection. Try image or video tasks only as needed; they may have different charges, so check model pricing first. After a task completes, review the model, actual group and charge in Xuo's Usage Logs.
Automatic groups select an available channel according to their configured order, so requests can use different actual groups. If a model is unavailable or a request fails, check the key status, available credit, group channels, model ID and required client component.
If you suspect that a key was exposed, disable or delete it in the console, create a replacement, and update the key saved in Xuo Code. Never send the full key in screenshots, chats or support tickets.
