curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "openai/sora-2-pro/image-to-video",
"input": {
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"aspect_ratio": "16:9",
"duration": 4,
"resolution": "1024p"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}"Request timeout"{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}OpenAI
Sora 2 Official Pro Image to Video
Animate a reference image with Sora 2 Pro, with control over framing, duration, and output resolution for scene development.
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "openai/sora-2-pro/image-to-video",
"input": {
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"aspect_ratio": "16:9",
"duration": 4,
"resolution": "1024p"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}"Request timeout"{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}- Submit the request with
VIDGO_API_KEY. Atask_idis returned immediately. Keep it until the task reachesfinishedorfailed. - Use Query Task Status to retrieve the result. If you provide a
callback_url, Vidgo sends the result to your webhook when the task finishes or fails.
Sora 2 Official Pro Image to Video
Animate a reference image with Sora 2 Pro, with control over framing, duration, and output resolution for scene development.Available Models
- openai/sora-2-pro/image-to-video - Generate video from image input.
Duration Options
- 4, 8, 12, 16, 20 seconds - Set
durationto one of these values. Default: 4 seconds.
Key Features
- Animate a single reference image.
- Choose from
720p,1024p,1080poutput resolutions.
Advanced Parameters
Setmodel and optional callback_url at the request root. Place the parameters below inside input.
Send only the input fields supported by this workflow. Unsupported input fields are rejected before credits are deducted. Input URLs must use HTTP(S), include a hostname, and contain no embedded credentials.
Prompt
prompt: Required. Describe the scene and desired motion.- The prompt must not be blank when supplied.
Image URLs
image_urls: Required. Provide exactly 1 image URL.- Images must be publicly accessible and directly downloadable.
Resolution
resolution:720p,1024p,1080p. Default:1024p.
Aspect Ratio
aspect_ratio:auto,9:16,16:9. Default:16:9.
Pricing
Pricing depends on the selected model and applicable output settings. Check the Vidgo dashboard for the current rate. Credits are deducted on submission and refunded if the task fails.Authorizations
Use VIDGO_API_KEY.
Body
application/json
Keep model and callback_url at the root. Unknown root fields are ignored; unsupported input fields are rejected.
Vidgo public model ID. Must be openai/sora-2-pro/image-to-video.
Available options:
openai/sora-2-pro/image-to-video Example:
"openai/sora-2-pro/image-to-video"
Show child attributes
Show child attributes
Optional public HTTP(S) endpoint for task completion notifications. HTTPS is recommended. Omit, use null, or use an empty string to disable callbacks.