# TextCortex > TextCortex is a Berlin-based AI writing and content-generation platform. Its public REST API is OpenAI-compatible, exposing model discovery, chat completions, and responses over `https://api.textcortex.com/v1` with Bearer API-key authentication. Backed by Speedinvest. This llms.txt was generated by the API Evangelist enrichment pipeline from the provider's published OpenAPI and developer surface (no upstream llms.txt is published by TextCortex). ## API - [TextCortex API (OpenAPI 3.0.2)](https://api.textcortex.com/v1/openapi.json): 5 operations — retrieveBalance, createChatCompletion, listModels, retrieveModel, createResponse. Base URL https://api.textcortex.com/v1. Auth: `Authorization: Bearer `. ## Docs - [API Reference](https://docs.textcortex.com/): interactive Stoplight Elements reference. - [Getting Started — Deploy AI on your platform](https://help.textcortex.com/hc/en-us/articles/25546707607185-TextCortex-API-Deploy-AI-on-your-platform) - [Help Center](https://help.textcortex.com/) - [Get an API key](https://app.textcortex.com/user/dashboard/settings/api-key) ## Specs & artifacts - [OpenAPI](https://raw.githubusercontent.com/api-evangelist/textcortex/refs/heads/main/openapi/textcortex-openapi.json) - [Authentication profile](https://raw.githubusercontent.com/api-evangelist/textcortex/refs/heads/main/authentication/textcortex-authentication.yml) - [Conventions](https://raw.githubusercontent.com/api-evangelist/textcortex/refs/heads/main/conventions/textcortex-conventions.yml) - [Error catalog](https://raw.githubusercontent.com/api-evangelist/textcortex/refs/heads/main/errors/textcortex-problem-types.yml) - [Data model](https://raw.githubusercontent.com/api-evangelist/textcortex/refs/heads/main/data-model/textcortex-data-model.yml) ## SDKs - [Python (PyPI: textcortex)](https://pypi.org/project/textcortex/) - [JavaScript (textcortex-hemingwai-js)](https://github.com/textcortex/textcortex-hemingwai-js) - Any OpenAI SDK works by setting base_url to https://api.textcortex.com/v1 ## Company - [Website](https://textcortex.com) - [Pricing](https://textcortex.com/pricing) - [Terms of Service](https://textcortex.com/terms-of-services) - [GitHub](https://github.com/textcortex) - [Postman workspace](https://www.postman.com/textcortex/textcortex-text-generation-api/overview)