Skip to main content
POST
Gemini Omni Video

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be gemini_omni_video.

Available options:
gemini_omni_video
prompt
string
required

Describe the transformation and sound design to apply to the input image(s).

Maximum string length: 4096
image_urls
string<uri>[]
required

Input image URLs (required, 1-7 images). Max 20MB each; jpeg/png/webp.

Required array length: 1 - 7 elements
duration
enum<integer>
default:8

Video duration in seconds. Supported: 4, 6, 8, 10. Defaults to 8.

Available options:
4,
6,
8,
10
aspect_ratio
enum<string>
default:16:9

Output video aspect ratio.

Available options:
16:9,
9:16
resolution
enum<string>
default:720p

Output video resolution. 720p and 1080p are priced the same; 4k costs more.

Available options:
720p,
1080p,
4k
seed
integer

Optional random seed for reproducibility. If omitted, the model picks one automatically.

Required range: 0 <= x <= 2147483647
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required