Перейти к основному содержанию

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.

Raw HTTP requests use:
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 normally default to Gemini v1beta, so SDK examples use the bare host https://api.omniakey.com as base_url; raw HTTP calls include /v1beta in the URL.

Models

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