Alto Vale Mídia

Set up the AIs

Connect Claude Code, Codex, Gemini CLI, API keys or Ollama and choose the order of use (failover).

What it is for

Choose which AIs write captions, scripts and analyses, and in what order the app tries each one.

Before you start

Have an AI account (subscription or API key) or Ollama installed.

Step by step

Mídia uses AI to write captions and scripts, read the networks' metrics, generate recommendations and fill in the brands' registration. Everything lives on the IA (AI) page (menu).

Options

  • By command line (your plan): Claude Code, Codex (ChatGPT) or Gemini CLI already installed. The cost is that of the plan you already pay for. The Fazer login (Log in) button opens a terminal inside the app.
  • By API key: Anthropic, OpenAI, Google, xAI, Perplexity or an OpenAI-compatible service. The provider charges per use on your account. Keys are stored encrypted only on this computer, never in the database: on the Mac, with a local app key that only your user can read; on Windows, with the system's data protection (DPAPI).
  • Local (Ollama): free and offline. Good for captions and analyses; slower on long texts.

Order and failover

The arrows set the order. If the first AI fails or is out of credit, Mídia tries the next one. The Uso e custo (Usage and cost) tab shows calls, tokens and the estimated cost per day and per provider.

All the actions on the screen

"Pelo seu plano", "Por chave" and "Local" groups

Each group shows how many AIs are active and can be collapsed. Example: under "Pelo seu plano" (By your plan), turn on Claude Code, already logged in.

On/off switch

Enables or disables the AI. Example: turn off ChatGPT so the app uses only Claude.

Colar chave / Configurar (Paste key / Configure)

Opens the model, the API key (or the CLI path and login) and Obter chave (Get key). Example: paste the Anthropic key and click Salvar (Save).

Testar (Test)

Makes a short call and shows "pronto" (ready) or the error. Example: test Claude before planning the month.

Order arrows

Move the AI up and down the list: the first one is tried first and, if it fails, the app moves on to the next.

Uso e custo tab (Usage and cost)

Calls, tokens and estimated cost per provider and model, for the chosen period.

Shortcuts

⌘J / Ctrl+J opens the Assistant.

Common problems

"Precisa de login" (Needs login). Click Fazer login (Log in) on the CLI.

"Sem chave" (No key). Paste the key in Colar chave (Paste key).

See also

Assistant · Troubleshooting

Screen in the app: /ai · In the app, press F1 on this screen to open this guide.

Still have a question?

Talk to the Alto Vale IA team on WhatsApp. Tell us the app, the screen and what happened.