Saltar al contenido principal

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.

Las solicitudes HTTP directas usan:
https://api.omniakey.com/v1beta

Generate Content

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."}]}]
  }'
Google Gen AI SDKs normalmente usan Gemini v1beta por defecto. Los ejemplos de SDK usan el host sin sufijo https://api.omniakey.com como base_url; las llamadas HTTP directas incluyen /v1beta en la URL.

Models

Usa GET /v1beta/models para descubrimiento Gemini-native. Para el catálogo legible, consulta Supported Models.