출력 해상도
공개된 endpoint 스키마의 720p, 1080p, 4k를 지원합니다.
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-text-to-video",
"prompt": "침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요."
}'
import { GeminiOmniClient } from "@runapi.ai/gemini-omni";
const client = new GeminiOmniClient();
const result = await client.textToVideo.run({
model: "gemini-omni-text-to-video",
prompt: "침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.",
});
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-text-to-video","prompt":"침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요."}
)
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-text-to-video',
'prompt' => '침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.textToVideo().run({"model":"gemini-omni-text-to-video","prompt":"침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요."});
task.waitForResult();
require "runapi/gemini_omni"
client = RunApi::GeminiOmni::Client.new
result = client.text_to_video.run(
model: "gemini-omni-text-to-video",
prompt: "침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.textToVideo.Run({"model":"gemini-omni-text-to-video","prompt":"침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model gemini-omni-text-to-video \
--endpoint text_to_video \
--wait
사용 가능한 버전 5개
원하는 모델을 선택하고 몇 초 만에 생성해보세요.
원하는 모델을 선택하고 몇 초 만에 생성해보세요.
| 제공자 | |
| 모델 ID | gemini-omni-text-to-video |
| 모달리티 | Video |
| 작업 유형 | Asynchronous |
| API 엔드포인트 | /api/v1/gemini_omni/text_to_video |
| 청구 단위 | call |
| 입력 매개변수 | aspect_ratio, audio_ids, callback_url, character_ids, duration_seconds, first_frame_image_url, last_frame_image_url, model, output_resolution, prompt, reference_image_urls, seed, video_list |
| 최대 기간 | 4s, 6s, 8s, 10s |
| 최대 해상도 | 720p, 1080p, 4k |
| 종횡비 | 16:9, 9:16 |
| 카탈로그 상태 | 운영 중 |
무료로 가입하고 대시보드에서 gemini-omni-text-to-video용 API 키를 만드세요.
/api/v1/gemini_omni/text_to_video로 gemini-omni-text-to-video 모델 ID와 매개변수를 포함한 POST 요청을 보내세요.
작업을 폴링하거나 콜백을 따라 완료된 gemini-omni-text-to-video 결과를 가져오세요.
공개된 endpoint 스키마의 720p, 1080p, 4k를 지원합니다.
aspect_ratio, audio_ids, character_ids, duration_seconds, first_frame_image_url 포함 11개 문서화된 파라미터를 설정할 수 있습니다.
1개의 공개 endpoint를 제공합니다: text_to_video.
비동기 태스크는 완료 알림을 위한 콜백 URL을 수락합니다.
seedDeterministic generation seed.
promptVideo generation prompt.
audio_idsAudio preset IDs returned by create-audio.
video_listSource video clips; each clip consumes two reference units.
aspect_ratioOutput aspect ratio. (16:9, 9:16)
callback_urlWebhook URL for terminal Task delivery.
character_idsCharacter IDs returned by create-character; dual-image characters consume two of the shared seven reference units.
duration_secondsOutput duration in seconds. (4, 6, 8, 10)
output_resolutionOutput resolution. (720p, 1080p, 4k)
last_frame_image_urlPublic last-frame image URL for supported models.
reference_image_urlsPublic reference image URLs; images, video clips, and characters share a seven-unit reference limit.
first_frame_image_urlPublic first-frame image URL for supported models.
prompt에서 바로 쓸 수 있는 짧은 클립을 생성합니다.
여러 방향을 빠르게 테스트합니다.
개발 도구에 모델 컨텍스트를 제공해 영상 asset을 만들 수 있습니다.
quickstart에 표시된 모델 ID를 전달하세요.
네. 호출 또는 단위 기준으로 측정됩니다.