Skip to content

DevelopersDeveloper platform

IntegrationsAgnai

Connect Agnai to Unrestricted AI

Use Unrestricted AI in an Agnai preset: AI Service Third-Party, the OpenAI Compat (Chat) format, our base URL and your key.

URL
https://tryunrestrictedai.com/v1
Base URL. Agnai adds /chat/completions.
Model ID
venice-uncensored-1-2
Type it exactly.
API keyCreate a key in the consoleStarts with ua_. Shown once, so save it.

Set up Agnai

  1. Open Presets and create a new preset

    In Agnai the connection lives inside a generation preset.

  2. Set AI Service to “Third-Party”

  3. Set Third-Party Format to “OpenAI Compat (Chat)”

  4. Paste the base URL into “URL”

    Agnai adds /chat/completions itself. Leave “Disable Auto-URL” off.

    https://tryunrestrictedai.com/v1
  5. Paste your key into the Third Party Key/Password field

    Get your key
  6. Enter the model ID as a “Manual Model ID”

    venice-uncensored-1-2
  7. Save the preset and use it

    Make it your default preset, or select it from the chat’s preset menu. An older preset left on a chat keeps sending there.

Recommended settings

  • Output limit: 4,096 tokens. Context window: 32,768 tokens.
  • Keep “Response Length” at or below the output limit above.
  • Leave “Use Local Requests” off so Agnai’s server sends the request.
  • Text chat with streaming is supported. Image input, tool calling and multiple completions per request (n > 1) are not.

Troubleshooting

Your app shows the HTTP status and usually our error code. Match it here.

401invalid_api_key
The key is missing, mistyped or revoked. Paste the whole key (it starts with ua_) without “Bearer”, or create a new key in the console.
402insufficient_credit · key_budget_exceeded · plan_limit
No usage left. Choose a plan or add credit in Billing, create a key with a higher spending limit, or lower the max response length.
429rate_limit
More than 30 requests a minute or 3 at once. Turn off multiple swipes, auto-continue and parallel generations, then wait a minute.
503inference_unavailable
The model is not accepting requests right now, or the model ID does not match a live model. Check the model ID and the status page, then retry.
400 / 413unknown_model · invalid_request · context_limit
Wrong model ID, a response length above the output limit, or a context that is too long. Copy the model ID again and lower context or response size.

Ready to connect Agnai?

Create a key, paste the two values above, and send a message.

Get your key

Unrestricted AI is not affiliated with or endorsed by these apps; they accept any OpenAI-compatible endpoint. Our terms and the model provider’s terms still apply to role-play: you must be 18 or older and content must be lawful. Usage is billed per token from your plan allowance or credit, capped by each key’s spending limit.