Skip to content
Halaman ini belum tersedia dalam bahasa Anda, jadi ditampilkan dalam bahasa Inggris.
Google · Gemini Omni

gemini-omni-1.1-flash API

Generate, edit, and extend videos with audio using Google's Gemini Omni 1.1 Flash on APISea.

Pembuatan videoVideoTugas asinkron
ID model
gemini-omni-1.1-flash

Harga API gemini-omni-1.1-flash

Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.

OpsiAPISeaResmiHemat
DefaultDefault$0.0968$0.10−3%
1080P$0.1452$0.15−3%
360P$0.03256$0.034−4%
4K$0.2904$0.30−3%
720P$0.0968$0.10−3%

Harga dalam per detik.

Apa itu gemini-omni-1.1-flash?

Google's Gemini Omni 1.1 Flash is an all-in-one multimodal video generation model available on APISea as gemini-omni-1.1-flash. It supports text-to-video, image-to-video, multi-subject references, first-and-last-frame interpolation, video editing, and extension. Build workflows around scene prompts, reference images, or an existing video, with outputs lasting 3–10 seconds at 24fps and including generated audio. Resolution options span 360p, 720p, 1080p, and 4K, with landscape and portrait aspect-ratio controls.

Submit requests to POST /v1/videos/generations with your APISea Bearer token, then query results by task ID. APISea provides one API key and an OpenAI-compatible base URL for access across its model catalog. Pricing is pay-as-you-go, with billing only for successful requests: the Default configuration costs $0.0968 per second, about 3% below the provider list price. Resolution determines the task's deposit tier and primary video output cost.

Keunggulan gemini-omni-1.1-flash

Six Video Workflows

Generate from text or images, use multi-subject references, interpolate between first and last frames, or edit and extend existing video.

Audio Included

Produce 3–10 second videos at 24fps with generated audio.

Resolution And Orientation

Choose 360p, 720p, 1080p, or 4K output. Set 16:9 for landscape or 9:16 for portrait; video-input workflows usually follow the source video's aspect ratio.

Frame And Reference Controls

Supply starting and ending frames or multiple subject and style references. Describe each reference image's purpose and relationships in the prompt.

Cara memanggil API gemini-omni-1.1-flash dalam 4 langkah

  1. 01

    Dapatkan API key

    Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.

  2. 02

    Atur base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.

  3. 03

    Kirim permintaan

    Panggil POST /v1/videos/generations dengan "model": "gemini-omni-1.1-flash" dan parameter berikut.

  4. 04

    Tangani respons

    Respons berisi task_id. Lakukan polling ke GET /v1/tasks/{task_id} sampai statusnya completed, lalu unduh URL hasilnya.

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gemini-omni-1.1-flash",
    "prompt": "A marble rolling fast on a chain reaction style track, continuous smooth shot.",
    "aspect_ratio": "16:9",
    "resolution": "1080p"
  }'

Parameter

ParameterJenisWajibDefaultDeskripsi
modelstringWajib—Video generation model name. Must be `gemini-omni-1.1-flash`.
nsfw_checkbooleanOpsionalfalseWhether to run content moderation before submitting the video task.
promptstringOpsional—Text instructions. For text-to-video, describe the scene. For image-to-video, video editing, or extension, describe the motion, style, or requested edit.
resolutionstringOpsional720pOutput video resolution. Values are case-insensitive.
aspect_ratiostringOpsional16:9Video aspect ratio, used to select landscape or portrait output.
image_urlsarray\<string\>Opsional—Reference image array. Only publicly accessible HTTP/HTTPS URLs are supported.
first_frame_imagestringOpsional—First-frame image. Only publicly accessible HTTP/HTTPS URLs are supported.
last_frame_imagestringOpsional—Last-frame image. Only publicly accessible HTTP/HTTPS URLs are supported, and it must be provided with `first_frame_image`.
image_with_rolesarray\<object\>Opsional—Image array with roles. It is an equivalent alternative to `first_frame_image` / `last_frame_image` and can also declare reference images.
urlstringWajib—A publicly accessible image HTTP/HTTPS URL.
rolestringWajib—Image role:
video_urlsarray\<string\>Opsional—Array of videos to edit or extend. Currently, at most one video can be provided, and it must be no longer than 10 seconds.
metadataobjectOpsional—Additional parameters used to explicitly specify the generation intent.
taskstringOpsional—Available task types:
extend_from_task_idstringOpsional—The local `task_id` of the previous generation task. Use it for conversational editing or further extension without re-uploading the previous video.

Yang bisa Anda buat dengan gemini-omni-1.1-flash

Short Promotional Clips

Build a tool that turns scene descriptions into short videos with generated audio, with portrait or landscape output options.

Image Animation Tools

Let users supply a publicly accessible image as a starting frame and describe the motion or style they want.

Storyboard Transitions

Generate a transition between supplied first and last frames for a storyboard or visual sequence.

Video Revision Workflows

Create an editing interface that accepts a short source video and requested changes, or extends an earlier generation using its local task ID.

Tips untuk hasil yang lebih baik

  • 01

    Make References Explicit

    When supplying multiple images, explain each image's subject, style, and relationship to the others in the prompt. Provide at least a prompt or supported media input.

  • 02

    Choose Resolution Deliberately

    The default resolution is 720p. APISea 360P costs $0.03256 per second, while APISea 4K costs $0.2904 per second; select the tier appropriate to your output needs.

  • 03

    Use One Frame Method

    Choose either first_frame_image / last_frame_image or image_with_roles for frame controls, not both. Match both frame images' aspect ratios to aspect_ratio.

  • 04

    Handle Tasks Asynchronously

    Submit the generation request, retain the returned task ID, and query for the result. Use extend_from_task_id for further extension or conversational editing without re-uploading the previous video.

Batasan dan hal yang perlu diketahui

  • All effective image inputs, including first and last frames, are limited to 10 in total and must use publicly accessible HTTP/HTTPS URLs.

  • Video editing or extension accepts at most one source video, no longer than 10 seconds, through a publicly accessible direct HTTP/HTTPS URL.

  • Unsupported resolutions return an invalid_resolution error, and a last-frame image requires a first-frame image.

FAQ API gemini-omni-1.1-flash

How much does gemini-omni-1.1-flash cost on APISea?

APISea Default and APISea 720P each cost $0.0968 per second; APISea 360P costs $0.03256 per second, APISea 1080P costs $0.1452 per second, and APISea 4K costs $0.2904 per second. The Default configuration is about 3% below the provider list price, with pay-as-you-go billing only for successful requests.

How do I call gemini-omni-1.1-flash through the API?

Send an authenticated POST request to https://api.apisea.ai/v1/videos/generations with model set to gemini-omni-1.1-flash and an Authorization Bearer token. Include at least a prompt or supported media input, then query the asynchronous result by task ID.

Which output resolutions and aspect ratios are supported?

Supported resolutions are 360p, 720p, 1080p, and 4K, with 720p as the default; 2160p is treated as 4K. Supported aspect ratios are 16:9 and 9:16, but video-input workflows usually follow the input video's aspect ratio.

Can it generate audio and edit existing videos?

Yes, it produces 3–10 second videos at 24fps with generated audio and supports video editing and extension. A supplied source video must be no longer than 10 seconds, and only one source video is accepted per request.

Is content moderation enabled by default?

No. Set nsfw_check to true to review prompts and input images with omni-moderation-latest before submission; false or omitted adds no moderation request cost or latency.

Can I use generated videos commercially?

Commercial use is subject to the provider's terms. Review the applicable Google terms and any rights requirements for your input images, videos, and generated content before commercial deployment.

Model terkait

Pilihan: 250+ model · Minimum isi saldo $50

Mulai berkarya dengan gemini-omni-1.1-flash

Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.