Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.omniakey.com/llms.txt

Use this file to discover all available pages before exploring further.

Use this raw HTTP base URL for Gemini-native requests:
https://api.omniakey.com/v1beta

Generate Content

The model id is part of the URL path:
POST /v1beta/models/{model}:generateContent
curl "https://api.omniakey.com/v1beta/models/gemini-3.1-pro-preview:generateContent" \
  -H "Authorization: Bearer your-omniakey-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Refactor this function for readability."}]}]
  }'
The Google Gen AI SDK defaults to the Gemini v1beta API version, so SDK examples use the bare host as base_url. Raw HTTP calls include /v1beta in the URL path.

Models

Use GET /v1beta/models for Gemini-native model discovery. For the curated human-readable catalog, see Supported Models.

Gemini models through OpenAI-compatible tools

If your tool only supports OpenAI-compatible endpoints, use https://api.omniakey.com/v1 and pass a Gemini model id such as gemini-3.1-pro-preview to Chat Completions.