Generate premium quality videos from a source image with OpenAI’s Sora 2 Pro model. Supports resolution upscaling and multiple duration options.
| Property | Value |
|---|
| Provider | OpenAI |
| Model | Sora 2 Pro |
| Capability | Image to Video |
| Base Cost | 300,000 micro-cents/second ($0.30/sec) |
| Processing Time | ~240 seconds |
Request Body
Model slug. Use openai/sora-2-pro/image-to-video for image-to-video generation.
Input parameters for image-to-video generation.
URL of the source image to animate.
Video aspect ratio. Default: 16:9. Options: 16:9, 9:16.
Video duration in seconds. Default: 4. Options: 4, 8, 12.
Output resolution. Default: 720p. Options: 720p, 1080p.
HTTPS URL to receive a webhook notification when the job completes or fails.
Pricing
Base cost: 300,000 micro-cents per second ($0.30/sec)
finalCost = baseCost × duration × resolution
| Factor | Option | Multiplier |
|---|
| Duration | 4 | 4x |
| 8 | 8x |
| 12 | 12x |
| Resolution | 720p | 1x |
| 1080p | 1.67x |
Default cost: 4 seconds, 720p = 300,000 × 4 × 1 = 1,200,000 micro-cents ($1.20)
Response
Unique identifier for the submitted job.
Initial job status. Always "pending" on successful submission.
ISO 8601 timestamp of the estimated completion time.
The cost of the job in micro-cents.
Code Examples
curl -X POST https://api.muvi.video/v1/jobs/submit \
-H "Authorization: Bearer $PIXELBYTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/sora-2-pro/image-to-video",
"input": {
"image_url": "https://example.com/portrait.jpg",
"aspect_ratio": "16:9",
"duration": "8",
"resolution": "1080p"
}
}'