Overview
To make it easier for developers to integrate different video generation models, AiHubMix provides a unified video API that supports several mainstream models: API Specification:https://aihubmix.com/v1/videosis the fixed endpoint<model_path>is the model path. Supported values:- veo-3.1-generate-preview
- veo-3.0-generate-preview
- sora-2
- sora-2-pro
sk-***is your API Key generated in AiHubMix
Below are the usage examples for each model.
Veo
Supported Models:
- Veo-3.1-generate-preview
- Veo-3.0-generate-preview
- The
aspectRatiosupports 16:9 or 9:16 - The
resolutiondefaults to 720p - For more details, see: Veo API Reference
Usage:
OpenAI
Supported Models:
- sora-2
- sora-2-pro
- Supported video lengths: 4 / 8 / 12 seconds (default: 4s)
- For more details, see: Sora 2 API Reference