Base URLs
Use the appropriate base URL for the API category you are calling:Authentication
Include your API key as a Bearer token on every request:YOUR_API_KEY with the key issued to your account. Contact GlobalAI OPC support if you need to obtain or rotate a key.
API Categories
Text APIs
OpenAI-compatible chat, Claude Messages, and Gemini native endpoints for intelligent conversation and text generation.
Image APIs
Nano Banana and GPT Image 2 endpoints for high-quality image generation from text prompts.
Video APIs
Nine video model families — including Sora, VEO, Seedance, Vidu, and Grok — for text-to-video and image-to-video generation.
Asset Management
Upload and manage reference media assets used as inputs for image-to-video and guided generation workflows.
Video Generation Models
The table below summarises the available video models, their creation endpoints, maximum output resolution, and supported duration range.Async Task Flow
Video and image generation are asynchronous. Follow these three steps after making a creation request:- Create the task — send a
POSTrequest to the relevant endpoint. The response returns a taskid. - Poll for status — send
GET /v1/result/{id}repeatedly and inspect thestatusfield in the response. - Retrieve the result — when
statusiscompleted, read thevideo_urlorimage_urlfield to access your generated asset.
Common Response Statuses
Every task query response includes astatus field with one of the following values:
Next Steps
Quickstart
Get your first API call working in minutes with step-by-step instructions and copy-ready code samples.
Authentication
Learn how to obtain your API key, set up Bearer token headers, and manage credentials securely.