curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "google/gemini-omni-1.1-flash/video-edit",
"input": {
"prompt": "A quiet forest under soft morning light, with natural detail.",
"reference_video_urls": [
"https://example.com/video.mp4"
],
"resolution": "720p",
"aspect_ratio": "16:9"
}
}
'{
"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>"
}Google
Gemini Omni 1.1 Flash Video Edit
Rework existing video with Gemini Omni 1.1 Flash, using written instructions to guide changes to the scene with output up to 4K.
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": "google/gemini-omni-1.1-flash/video-edit",
"input": {
"prompt": "A quiet forest under soft morning light, with natural detail.",
"reference_video_urls": [
"https://example.com/video.mp4"
],
"resolution": "720p",
"aspect_ratio": "16:9"
}
}
'{
"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.
Gemini Omni 1.1 Flash Video Edit
Rework existing video with Gemini Omni 1.1 Flash, using written instructions to guide changes to the scene with output up to 4K.Available Models
- google/gemini-omni-1.1-flash/video-edit - Edit an existing video using written instructions.
Duration Options
- Source video: 3-10 seconds - Output duration follows the reference video.
- Do not send
durationfor video editing.
Key Features
- Edit an existing video using written instructions.
- Optionally add up to five reference images to guide the edit.
- Choose from
360p,720p,1080p,4koutput resolutions. - Supports landscape (
16:9) and portrait (9:16) framing.
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 requested changes to the video.- The prompt must not be blank when supplied. Maximum length: 20,000 characters.
Reference Inputs
reference_image_urls: Optional; provide up to 5 images.- Omit
reference_image_urlsor send an empty array when no reference images are needed.
Source Video
reference_video_urls: Required. Provide an array containing exactly one publicly accessible source video URL.- The source video must be directly downloadable over HTTP(S) and no larger than 100 MiB for duration inspection.
Resolution
resolution:360p,720p,1080p,4k. Default:720p.
Aspect Ratio
aspect_ratio:16:9,9:16. 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 google/gemini-omni-1.1-flash/video-edit.
Available options:
google/gemini-omni-1.1-flash/video-edit Example:
"google/gemini-omni-1.1-flash/video-edit"
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.