Output resolution
Supports 720p from the published endpoint schema.
Fast, conversational video generation for natural-language creative iteration
curl -X POST https://runapi.ai/api/v1/gemini_omni/text_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-omni-flash-preview",
"prompt": "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks."
}'
import { GeminiOmniClient } from "@runapi.ai/gemini-omni";
const client = new GeminiOmniClient();
const result = await client.textToVideo.run({
model: "gemini-omni-flash-preview",
prompt: "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/gemini_omni/text_to_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"gemini-omni-flash-preview","prompt":"Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/gemini_omni/text_to_video");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'gemini-omni-flash-preview',
'prompt' => 'Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.textToVideo().run({"model":"gemini-omni-flash-preview","prompt":"Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks."});
task.waitForResult();
require "runapi/gemini_omni"
client = RunApi::GeminiOmni::Client.new
result = client.text_to_video.run(
model: "gemini-omni-flash-preview",
prompt: "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.textToVideo.Run({"model":"gemini-omni-flash-preview","prompt":"Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model gemini-omni-flash-preview \
--endpoint text_to_video \
--wait
5 versions available
Pick any model and generate in seconds.
| Provider | |
| Model ID | gemini-omni-flash-preview |
| Modality | Video |
| Task types | Asynchronous |
| API endpoint | /api/v1/gemini_omni/text_to_video |
| Billing unit | call |
| Input parameters | aspect_ratio, callback_url, model, output_resolution, prompt |
| Max resolution | 720p |
| Aspect ratios | 16:9, 9:16 |
| Catalog status | Operational |
Sign up for free and create an API key for gemini-omni-flash-preview from the dashboard.
POST to /api/v1/gemini_omni/text_to_video with the gemini-omni-flash-preview model slug and your parameters.
Poll the task or follow the callback to retrieve the completed gemini-omni-flash-preview result.
Supports 720p from the published endpoint schema.
Configure 3 documented parameters, including aspect_ratio, output_resolution, prompt.
Exposes 1 public endpoint(s): text_to_video.
Asynchronous tasks accept a callback URL for completion notifications.
promptVideo generation prompt.
aspect_ratioOutput aspect ratio. (16:9, 9:16)
callback_urlWebhook URL for terminal Task delivery.
output_resolutionOutput resolution. (720p)
Generate product launch clips and short-form ads from a text brief, cutting production from weeks to hours.
Convert lesson scripts into animated explainer videos at scale without a camera or crew.
Produce viral short-form content for social platforms directly from a prompt.
Pass the model ID shown in the quickstart.
Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades.
Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape.
Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery.
Open an issue on the public GitHub repo or email support at [email protected]. Include the task ID and model ID so the team can investigate the specific generation.
No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider.
We're here to help with enterprise setup, integrations, and technical questions.
Contact Us