Models

Loading...

Gemini Omni Flash API

Gemini's fast multimodal video model — cinematic clips with native audio from a prompt, a keyframe, or reference images.

Endpoint

POST https://api.hedra.com/v3/models/gemini-omni-flash

Example request

curl -X POST "https://api.hedra.com/v3/models/gemini-omni-flash" \
  -H "Authorization: Key $HEDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'

Parameters

num_outputsinteger

Number of outputs generated per job. Only 1 is supported.

promptstringrequired

Generation prompt.

aspect_ratiostringrequired

Output aspect ratio.

resolutionstring

Output resolution.

duration_msinteger

Duration in ms.

start_image

Start frame (image-to-video). At most 10.4 MB.

source_video

Source video (video-to-video). From 1s to 10s and at most 524.2 MB.

imagesarray

Reference images. 1 to 10 images, each at most 10.4 MB.

videosarray

Reference videos. 1 to 3 videos, each at most 10s and at most 524.2 MB.