Skip to main content
AGICTO API supports OpenAI-compatible request formats. You can reuse existing OpenAI SDK code and switch the Base URL, API Key, and model name.

Migration checklist

Chat completions

Endpoint details: Chat completions

Embeddings

Endpoint details: Create embeddings

Images

Endpoint details: Generate images

Common issues

  • If authentication fails, check Authorization: Bearer $API_KEY.
  • If the SDK calls the wrong URL, check whether your Base URL includes /v1.
  • If a model is unavailable, replace model with a model enabled for your account.
  • If a request body fails to parse, check whether the endpoint expects JSON or multipart/form-data.