Core API Categories
Text APIs
Generate and stream conversational text using GPT, Claude, and Gemini models through a single OpenAI-compatible chat completions endpoint.
Image APIs
Create high-quality images from text prompts using Nano Banana and GPT Image models, with flexible aspect ratios and resolutions up to 4K.
Video APIs
Produce AI-generated videos from text or image prompts using Sora, VEO, Seedance, Vidu, Grok, and more — with durations from 4 to 30 seconds.
API Reference
Browse the full API reference for every endpoint, request parameter, and response schema across all three API categories.
Supported Models
Video Models
Sora
OpenAI’s video generation model. Variants include
openAiSora2, openAiSora2Stable, openAiSora2Plus, and sora2Stable. Supports 4–15 second clips.VEO
Google’s high-quality video generation model. Supports text-to-video and image-to-video with multiple durations and resolutions.
Seedance 1.5
Volcano Engine’s video model. Models:
seedance_1_5_pro_720p and seedance_1_5_pro_1080p. Supports 5–10 second videos.Seedance 2.0
Next-generation Volcano Engine model. Variants:
seedance_2_0, seedance_2_0_fast, seedance_2_0_pro, seedance_2_0_fast_pro. Includes asset management.Vidu
Flexible text-to-video and image-to-video model. Models:
viduq3-pro and viduq3-turbo. Supports 1–16 seconds at 540p, 720p, or 1080p.Grok
xAI’s video model.
grok_video3 supports 6–30 seconds at 480p/720p; grok_video3_pro produces fixed 10-second clips.StarVideos
High-quality video generation with text and image prompt support.
Videos & SD2 Manxue
Additional specialized video generation models for diverse creative use cases.
Image Models
Text Models
Base URLs
All GlobalAI OPC API requests go to one of two base URLs depending on the API category.Always use the correct base URL for the API category you are calling. Using the text base URL for an image or video endpoint — or vice versa — will result in a connection error.
Authentication
All requests to GlobalAI OPC require a Bearer token: include your API key in anAuthorization: Bearer YOUR_API_KEY header on every request.
Async Task Model
Image and video generation use an asynchronous task model. When you submit a generation request, the API immediately returns a taskid and a status of queued or processing. You then poll a query endpoint with the task ID until the status changes to completed (or failed), at which point the response includes the generated image URL or video URL.
Task completion time varies by model and output length. Video generation typically takes one to several minutes. Plan your integration to poll at reasonable intervals — every 30–60 seconds is a good starting point.
Next Steps
Quickstart
Make your first text, image, and video generation calls in minutes.
API Reference
Explore the complete API reference for all endpoints and parameters.