Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기
언어 모델Google

Gemini Omni 1.1 Flash Preview

google/gemini-omni-1.1-flash-preview

Gemini Omni 1.1 Flash Preview is Google's natively multimodal Omni model, served through the Gemini Interactions API (/v1beta/interactions). It accepts text, image, audio and video input and returns multimodal output, including video generation and editing.

API key 받기

사양

모달리티
텍스트비디오
입력 / 출력 가격
$1.50USD / 100만 토큰$9.00USD / 100만 토큰/M
컨텍스트 / 최대 출력
N/A
출시일
2026년 8월 27일

이 모델은 Gemini Interactions API를 통해 비디오를 생성하며, Chat Completions 또는 Playground에서는 사용할 수 없습니다. 아래 요청 예시를 SandBase API key와 함께 사용하세요.

빌드를 시작하세요

첫 요청 보내기

통합 인증 및 사용량 추적이 있는 Gemini 네이티브 엔드포인트입니다.

프로덕션 API
Gemini Interactions API 엔드포인트
https://api.sandbase.ai/v1beta/interactions
모델 ID
google/gemini-omni-1.1-flash-preview
curl -X POST "https://api.sandbase.ai/v1beta/interactions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-omni-1.1-flash-preview",
  "input": "A five-second video of ocean waves at sunset"
}'
02

출력 스키마

필드유형설명
idstring완료에 대한 고유 식별자
objectstring객체 유형, 예: "chat.completion"
modelstring완료에 사용된 모델
choicesarray완료 후보 목록
choices[].message.contentstring생성된 텍스트 콘텐츠
choices[].finish_reasonstring생성이 중지된 이유
usage.prompt_tokensinteger프롬프트의 토큰 수
usage.completion_tokensinteger완료에 사용된 토큰 수
usage.total_tokensinteger사용된 총 토큰 수

Gemini Omni 1.1 Flash Preview

Gemini Omni 1.1 Flash Preview is Google's natively multimodal Omni model. It takes text, images and video as input and returns video with synchronized audio, plus text. Google model ID: gemini-omni-1.1-flash-preview.

Status: Preview. Google has deprecated this model; new integrations should use google/gemini-omni-1.2-flash.

Endpoint

This model is only available on the Gemini Interactions API. It does not accept /v1/chat/completions or generateContent.

POST https://api.sandbase.ai/v1beta/interactions
Authorization: Bearer $SANDBASE_API_KEY
Content-Type: application/json

Request and response bodies follow Google's Interactions API, so the official Google SDK works when pointed at the SandBase base URL.

Generate a video from text

curl -sS --max-time 600 https://api.sandbase.ai/v1beta/interactions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-omni-1.1-flash-preview",
    "input": "A red paper boat floating on a calm pond, gentle ripples.",
    "response_format": {
      "type": "video",
      "aspect_ratio": "16:9",
      "resolution": "720p",
      "duration": "8s"
    }
  }'
response_format fieldValues
aspect_ratio16:9, 9:16
resolution360p, 720p (default), 1080p, 4k
duration3–10 seconds (default 8), written as a string such as "8s"

Use images or a video as input

Put media parts before the text prompt in input. Send files as base64 without line breaks.

{
  "model": "google/gemini-omni-1.1-flash-preview",
  "input": [
    {"type": "image", "data": "<base64>", "mime_type": "image/jpeg"},
    {"type": "text", "text": "Animate this scene with a slow camera push-in."}
  ]
}

For editing, send the source video as {"type": "video", "data": "<base64>", "mime_type": "video/mp4"}. Large videos produce large request bodies; build the JSON in a file and send it with curl --data-binary @request.json rather than as a command-line argument.

Supported tasks (per Google's model page): text to video, image to video, subject references, first and last frames, video editing and video extension. To force a task, set "generation_config": {"video_config": {"task": "image_to_video"}} (text_to_video, image_to_video, reference_to_video, edit).

Response

The request waits for the result and returns an Interaction object. Always check status:

  • completed: the video is in steps[], in the step with "type": "model_output", as {"type": "video", "mime_type": "video/mp4", "data": "<base64>"}. Decode data to get the MP4.
  • in_progress: the generation is still running. Fetch it later with GET /v1beta/interactions/{id}, using the id from the response.

Example of decoding the result in Python:

import base64, json
resp = json.load(open("response.json"))
for step in resp["steps"]:
    for part in step.get("content") or []:
        if part.get("type") == "video":
            open("output.mp4", "wb").write(base64.b64decode(part["data"]))

Run in the background

To return immediately and poll, add "background": true and "store": true. The response has "status": "in_progress" and an id; poll until status is no longer in_progress:

curl -sS https://api.sandbase.ai/v1beta/interactions/$INTERACTION_ID \
  -H "Authorization: Bearer $SANDBASE_API_KEY"

Billing

You pay per token, using the counts in the response usage:

Token typePrice per 1M tokens
Input (text, image, video)$1.50
Text output$9.00
Thinking (total_thought_tokens)$9.00
Video output$17.50

Google counts output video at a fixed number of tokens per second: 1,931 at 360p, 5,792 at 720p, 8,688 at 1080p, 17,376 at 4k. Approximate video cost:

360p720p1080p4k
Per second$0.034$0.101$0.152$0.304
8 seconds$0.27$0.81$1.22$2.43

Thinking and input tokens are added on top. The model may return a video even when the prompt only asks for text, so budget for a video-length charge on every request. Failed requests are not charged.

Also on SandBase

For single generations without multi-turn editing, the same model is available as task models on /v1/run, for example google/gemini-omni-flash/1.1/text-to-video.

질문

FAQ

SandBase를 통해 Google Gemini Omni 1.1 Flash Preview을 호출하려면 어떻게 하나요?

SandBase API 키를 만든 다음, 모델 ID "google/gemini-omni-1.1-flash-preview"를 사용해 https://api.sandbase.ai의 Gemini Interactions API (/v1beta/interactions)로 요청을 보내세요. 이 페이지의 요청 예시에 정확한 페이로드가 나와 있습니다.

Google Gemini Omni 1.1 Flash Preview의 비용은 얼마인가요?

1M 입력 토큰당 $1.50, 1M 출력 토큰당 $9이며, 요청당 SandBase 잔액에서 청구됩니다. 적용 가능한 할인은 이 페이지의 가격 정보에 표시됩니다.

별도의 Google 계정이 필요한가요?

아니요. SandBase API 키 하나와 잔액만 있으면 Google Gemini Omni 1.1 Flash Preview과 카탈로그의 다른 모델을 모두 사용할 수 있습니다. Google에 별도로 가입할 필요는 없습니다.