{"ok":true,"service":"embed-gateway","what":"Embeddings only (gemini-embedding-2: text, images, video, audio, PDF). One token per platform.","house":{"POST /v1/embed":"{ input: string | item | item[], task?: document|search-query|question|fact-check|code-query|classification|clustering|similarity|none, dimensions?: 768, async?: bool }","item":"{ text?, title?, image?|video?|audio?|pdf?: url | data-url | base64 | files/…, mime?, start?, end?, fps?, audio_track?, ocr?, key? } or { parts: [...] }","GET /v1/embed/batches/{id}":"state of a batch job, vectors when done","GET /v1/usage":"your usage of the last 14 days"},"google":"Same paths as generativelanguage.googleapis.com/v1beta for embedContent, batchEmbedContents, asyncBatchEmbedContent, countTokens, openai/embeddings, batches, files (own resources only). Send your token as x-goog-api-key.","docs":"github.com/Riverlabs/embed-gateway (README.md)"}