Generate text (chat)
Any writing task with the Gemini model you choose: a prompt or a conversation, optional system instructions, JSON answers. Add media and the model watches and listens too: understand a video to the second (what is said, shown and felt), plan an edit, read a PDF, describe images — or give a public YouTube link and the model watches it in place (find the strongest moments with timestamps, write a script from it; nothing is downloaded). Billed by the exact tokens the model reports (a video ≈ 300 tokens per second at 1 fps).
Billing: By the tokens / images / seconds the model reports — see GET /v1/ai/models for prices · Rate limit: 60/min
Request
- Base URL: https://apihub.co.il
- URL: https://apihub.co.il/v1/ai/text
- Auth: HTTP bearer
Headers
Replay-safe: the same execution is returned instead of charging twice
Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…
Request body
Response
Completed
Changes
No recorded changes to this operation across all 2 revisions of this API.