Skip to main content

AI Providers

TryPost’s AI features are built on Laravel AI (GitHub), the official first-party AI SDK for Laravel. Every provider and model on this page is whatever that package supports — TryPost doesn’t add its own provider integrations on top. TryPost uses the SDK for text only:
  • the writing assistant in the composer (generate, rephrase, shorten, expand, more casual, more formal)
  • generating ideas under Create > Ideas
  • image alt text
  • adapting captions in Repurpose
AI runs in the web app only — the REST API and the MCP server have no AI endpoints or tools. There are no credits or per-call limits; your provider bills you directly. New text is written in the language of the user who asks for it, and a rewrite (shorten, rephrase, change the tone) keeps the language of the text it rewrites.
The AI buttons turn on only when the selected provider’s key variable is set. TryPost checks the provider’s key, not whether the provider could answer without one. For Ollama, set OLLAMA_API_KEY to any value; for Bedrock, use AWS_BEARER_TOKEN_BEDROCK; for openai-compatible, set OPENAI_COMPATIBLE_API_KEY (any value if your endpoint does not check it).

Pinning a specific model

Each provider ships with a sensible default text model, so setting AI_TEXT_PROVIDER and its key is enough to get started. To pin a specific model, set the matching variable:
All of these are optional — leave them unset to use the provider’s built-in default. azure is the exception to the naming pattern: it resolves models via the deployment name you create in the Azure portal (AZURE_OPENAI_DEPLOYMENT), not a raw model identifier. openai-compatible is the other exception: OPENAI_COMPATIBLE_TEXT_MODEL is required, since an arbitrary endpoint has no sensible default to fall back to.
OpenRouter credit pre-checks: OpenRouter validates your balance against a request’s maximum possible token usage before generating anything, not the tokens actually used. A low-balance key can fail with 402 insufficient credits even on a cheap model and a short prompt. Funding the account with a few dollars usually clears this — see OpenRouter’s limits documentation.For anything else OpenRouter-specific (available models, pricing, routing behavior), check OpenRouter’s documentation directly — TryPost just passes your prompt through.