유연한 파라미터
audio_id, example_dialogue, name, voice_description 포함 4개 문서화된 파라미터를 설정할 수 있습니다.
curl -X POST https://runapi.ai/api/v1/gemini_omni/create_audio \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"audio_id": "achernar",
"name": "Acher Narrator",
"voice_description": "침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.",
"example_dialogue": "Hello, I am achernar"
}'
import { GeminiOmniClient } from "@runapi.ai/gemini-omni";
const client = new GeminiOmniClient();
const result = await client.createAudio.run({
audio_id: "achernar",
name: "Acher Narrator",
voice_description: "침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.",
example_dialogue: "Hello, I am achernar",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/gemini_omni/create_audio",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"audio_id":"achernar","name":"Acher Narrator","voice_description":"침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.","example_dialogue":"Hello, I am achernar"}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/gemini_omni/create_audio");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'audio_id' => 'achernar',
'name' => 'Acher Narrator',
'voice_description' => '침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.',
'example_dialogue' => 'Hello, I am achernar',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.createAudio().run({"audio_id":"achernar","name":"Acher Narrator","voice_description":"침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.","example_dialogue":"Hello, I am achernar"});
task.waitForResult();
require "runapi/gemini_omni"
client = RunApi::GeminiOmni::Client.new
result = client.create_audio.run(
audio_id: "achernar",
name: "Acher Narrator",
voice_description: "침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.",
example_dialogue: "Hello, I am achernar"
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.createAudio.Run({"audio_id":"achernar","name":"Acher Narrator","voice_description":"침착한 나레이터가 말하는 동안 재사용 가능한 캐릭터가 빗속을 걷는 1080p 네온 도시 추적 영상을 만들어 주세요.","example_dialogue":"Hello, I am achernar"})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model gemini-omni-audio \
--endpoint create_audio \
--wait
사용 가능한 버전 5개
원하는 모델을 선택하고 몇 초 만에 생성해보세요.
| 제공자 | |
| 모델 ID | gemini-omni-audio |
| 모달리티 | 오디오 & 음악 |
| 작업 유형 | Synchronous |
| API 엔드포인트 | /api/v1/gemini_omni/create_audio |
| 청구 단위 | 회 |
| 입력 매개변수 | audio_id, example_dialogue, name, voice_description |
| 카탈로그 상태 | 운영 중 |
무료로 가입하고 대시보드에서 gemini-omni-audio용 API 키를 만드세요.
/api/v1/gemini_omni/create_audio로 gemini-omni-audio 모델 ID와 매개변수를 포함한 POST 요청을 보내세요.
엔드포인트에서 완료된 gemini-omni-audio 응답을 직접 읽으세요.
audio_id, example_dialogue, name, voice_description 포함 4개 문서화된 파라미터를 설정할 수 있습니다.
1개의 공개 endpoint를 제공합니다: create_audio.
회 기준으로 측정되며 구독 없이 이용 가능합니다.
nameAudio preset display name.
audio_idVoice identity used for the audio preset.
example_dialogueExample dialogue demonstrating the voice style.
voice_descriptionVoice characteristics such as pitch, tone, or accent.
트랙과 오디오 asset을 만듭니다.
음성 및 오디오 pipeline을 구축합니다.
개발 환경에 오디오 도구를 제공합니다.
quickstart에 표시된 모델 ID를 전달하세요.
네. 호출 또는 단위 기준으로 측정됩니다.
네. variant는 요청 매개변수입니다. model ID만 변경하면 되며 코드 변경, 재인증, 별도 청구 설정이 필요하지 않습니다. 모든 variant는 같은 API key와 요청 형식을 공유합니다.
streaming이 가능한 경우 RunAPI는 엔드투엔드로 전송합니다. LLM 모델은 token 단위 streaming을 지원하며 미디어 모델은 비동기 작업 polling 또는 webhook callback으로 결과를 전달합니다.
공개 GitHub repo에 issue를 열거나 [email protected]로 이메일을 보내세요. 특정 생성 결과를 조사할 수 있도록 task ID와 model ID를 포함하세요.
아니요. RunAPI API key만 있으면 이 variant와 카탈로그의 모든 모델에 접근할 수 있습니다. 원래 제공사의 계정은 필요하지 않습니다.