Video generation overview
Sora 2 video generation on APIMaster.ai. Submit async tasks, poll status, and download MP4 via APIMaster URLs.
Video generation overview
APIMaster provides Sora 2 video generation at https://apimaster.ai/v1, including text-to-video and image-to-video.
| Model | Description | Doc |
|---|---|---|
sora-2 |
Standard, 720p | Sora 2 |
sora-2-pro |
Pro, 720p / 1080p | Sora 2 |
sora |
Alias for sora-2 |
Same as above |
Conventions
- Auth:
Authorization: Bearer YOUR_API_KEY(get key) - Async tasks: submit returns
task_id; poll untilstatusiscompleted - Video URL: on success, use
https://apimaster.ai/v1/videos/{task_id}/contentto download MP4 - Link expiry: generated video links are valid for about 24 hours — save to your own storage promptly
Recommended flow
POST https://apimaster.ai/v1/v1/videos/generations— submitGET https://apimaster.ai/v1/v1/videos/{task_id}— poll (OpenAI Video–compatible JSON)- When
completed, download via/v1/videos/{task_id}/content
OpenAI Video compatibility (optional)
You can also use OpenAI-style POST https://apimaster.ai/v1/v1/videos (JSON or multipart) with fields such as prompt, seconds, and size (e.g. 1280x720). The gateway maps these to Sora 2 parameters automatically.
See Sora 2 for full parameters, image-to-video, and error codes.