gemini-omni-1.2-flash-ext API
Generate, edit, and extend videos from text, images, or source footage with gemini-omni-1.2-flash-ext on APISea.
gemini-omni-1.2-flash-extתמחור API של gemini-omni-1.2-flash-ext
כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.
| אפשרות | APISea | רשמי | חיסכון |
|---|---|---|---|
| 1080P | $0.0264 | $0.209 | −87% |
| 360P | $0.0176 | $0.023 | −23% |
| 4K | $0.0616 | $0.07 | −12% |
| 720Pברירת מחדל | $0.0264 | $0.104 | −75% |
המחירים הם לכל שנייה.
מהו gemini-omni-1.2-flash-ext?
Google’s Gemini Omni model, gemini-omni-1.2-flash-ext, gives developers a unified API for video generation, editing, and extension. Start with a text prompt, animate a first-frame image, guide a transition with first and last frames, or supply up to 10 reference images. You can also edit a source video or append a new segment to it. Controls include resolution, landscape or portrait aspect ratio, negative prompts, and system instructions.
On APISea, submit an asynchronous task and query its result by task ID. Supported resolutions are 360p, 720p, 1080p, and 4k; duration rules depend on the selected mode. Billing is pay-as-you-go, per second, and only for successful requests. APISea charges $0.0176 per second for 360P, $0.0264 per second for 720P or 1080P, and $0.0616 per second for 4K. The default configuration is about 75% below the provider list price.
המאפיינים הבולטים של gemini-omni-1.2-flash-ext
Multiple Video Workflows
Use text-to-video, first-frame animation, first-and-last-frame generation, multi-image reference, video editing, or extension through one model.
Reference Image Guidance
Supply 1–10 reference images for characters, products, or styles. Editing and extension can also use reference images alongside a source video.
Resolution And Framing
Choose 360p, 720p, 1080p, or 4k output, with 16:9 landscape or 9:16 portrait framing. Extensions retain the source video’s aspect ratio.
Prompt-Level Controls
Describe the scene or requested changes in a required prompt. Add a negative prompt for unwanted content or a system instruction to guide visual style.
איך לקרוא ל-API של gemini-omni-1.2-flash-ext ב-4 שלבים
- 01
יצירת מפתח API
יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.
- 02
הגדרת כתובת הבסיס
יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.
- 03
שליחת הבקשה
יש לקרוא ל-POST /v1/videos/generations עם "model": "gemini-omni-1.2-flash-ext" והפרמטרים שלהלן.
- 04
טיפול בתגובה
התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.
דוגמאות לבקשות
תיעוד: gemini-omni-1.2-flash-ext Video Generationcurl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gemini-omni-1.2-flash-ext",
"prompt": "Aerial shot over a misty mountain lake at sunrise.",
"duration": 10,
"resolution": "1080p",
"aspect_ratio": "9:16"
}'פרמטרים
| פרמטר | סוג | נדרש | ברירת מחדל | תיאור |
|---|---|---|---|---|
model | string | נדרש | — | Video generation model name. Fixed as `gemini-omni-1.2-flash-ext`. |
nsfw_check | boolean | אופציונלי | false | Whether to run content moderation before submitting the video task. |
prompt | string | נדרש | — | Video description or editing instruction. It cannot be empty after leading and trailing whitespace is trimmed. For Text-to-Video, describe the scene, characters, actions, camera, and sound; with images or videos, describe the motion, style, or changes you want. |
duration | integer | אופציונלי | 10 | Video duration in seconds. Must be an integer. |
resolution | string | אופציונלי | 720p | Video resolution, case-insensitive. It determines the per-second price. |
aspect_ratio | string | אופציונלי | 16:9 | Only `16:9` (landscape, default) and `9:16` (portrait) are supported; other values return a 400 error. |
omni_reference_task_type | string | אופציונלי | — | Task type, specifying how the input material is used. |
generation_type | string | אופציונלי | — | Compatible field, equivalent to `omni_reference_task_type`. Allowed values: `frame` (same as `image_to_video`), `reference`, `edit`, `extend`. |
image_urls | array\<url\> | אופציונלי | — | Reference image array for multi-image reference (characters, products, styles, etc.). Supports 1–10 images. |
first_frame_image | string | אופציונלי | — | First-frame image. The first frame of the generated video is this image. Only publicly accessible HTTP/HTTPS image URLs are supported; Base64 Data URLs are not supported. |
last_frame_image | string | אופציונלי | — | Last-frame image for first-and-last-frame generation; the video transitions from the first frame to this image. Only publicly accessible HTTP/HTTPS image URLs are supported; Base64 Data URLs are not supported. |
image_with_roles | array\<object\> | אופציונלי | — | Image array with roles, an equivalent way to write `first_frame_image` / `last_frame_image` / `image_urls`. |
url | string | נדרש | — | Publicly accessible HTTP/HTTPS image URL. Base64 Data URLs are not supported. |
role | string | אופציונלי | — | |
video_urls | array\<url\> | אופציונלי | — | Array of videos to edit or extend. Only 1 video is supported. You can also use the single-value field `video_url` instead; pass only one of them. |
extend_from_task_id | string | אופציונלי | — | A task ID on this platform (`task_01…`). Continue editing or extending one of your previously completed `gemini-omni-1.2-flash-ext` tasks without re-uploading the video. |
negative_prompt | string | אופציונלי | — | Content you do not want to appear in the video. |
system_prompt | string | אופציונלי | — | System instruction, such as fixing the visual style or forbidding on-screen text. Must be a string. |
מה אפשר לבנות עם gemini-omni-1.2-flash-ext
Product video creation
Build a workflow that turns product reference images and motion instructions into short videos for campaign assets.
Portrait content tools
Let users generate 9:16 videos from text or a first-frame image for portrait-oriented publishing workflows.
Visual transition generation
Accept starting and ending images to generate a video transition between two specified frames.
Footage revision workflows
Give teams a prompt-driven interface to edit source footage or append new content to a previously completed model task.
טיפים לקבלת תוצאות טובות יותר
- 01
Write mode-specific prompts
Always provide a nonempty prompt. For text-to-video, describe the scene, characters, action, camera, and sound; for editing, describe the changes you want.
- 02
Set video modes explicitly
When supplying a source video or a completed task ID, explicitly select edit or extend. Use either omni_reference_task_type or generation_type, never both.
- 03
Match duration to mode
Use integer durations of 3–15 seconds for text, first-frame, or multi-image generation, and 3–10 seconds for first-and-last-frame generation or added extension segments. Omit duration and seconds entirely in editing mode.
- 04
Choose resolution before submitting
Resolution determines the per-second price: 360P costs $0.0176 per second, 720P and 1080P cost $0.0264 per second, and 4K costs $0.0616 per second. Submit the task, then query its result by task ID.
מגבלות ודברים שכדאי לדעת
Processing is asynchronous; results must be queried by task ID.
Reference inputs support up to 10 images and only one source video.
Image inputs require publicly accessible HTTP/HTTPS URLs; Base64 Data URLs are not supported.
שאלות נפוצות על API של gemini-omni-1.2-flash-ext
How much does gemini-omni-1.2-flash-ext cost on APISea?
APISea pricing is $0.0176 per second for 360P, $0.0264 per second for 720P, $0.0264 per second for 1080P, and $0.0616 per second for 4K. Billing is pay-as-you-go and only for successful requests; the default configuration is about 75% below the provider list price.
How do I call gemini-omni-1.2-flash-ext?
Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication, model set to gemini-omni-1.2-flash-ext, and a nonempty prompt. The API creates an asynchronous task; query the result using its task ID.
Can it generate videos from images or edit existing videos?
Yes. It supports first-frame image-to-video, first-and-last-frame generation, multi-image references, and source-video editing or extension. For video inputs, a task type is required; explicitly choosing edit or extend is recommended.
What resolutions and durations are supported?
Resolutions are 360p, 720p, 1080p, and 4k, with 2160p accepted as an alias for 4k. Text-to-video, first-frame, and multi-image generation support 3–15 seconds; first-and-last-frame generation and new extension segments support 3–10 seconds. Editing follows the source duration and does not accept a duration parameter.
Is content moderation enabled by default?
No. nsfw_check defaults to false; setting it to true uses omni-moderation-latest to review prompts and input images before submission. Leaving it false or omitted sends no moderation request and adds no moderation cost or latency.
Can I use generated videos commercially?
Commercial use is subject to the provider’s terms. Review the applicable terms for your intended use; the supplied model documentation does not specify commercial licensing rights.
מודלים קשורים
gemini-omni-1.1-flash-ext
Omni-Flash-Extgemini-omni-1.1-flash
gemini-omni-1.2-flash
gemini-omni-flash-preview
Veo 3.1
veo3.1-fastveo3.1-fast-official
veo3.1-lite
Veo 3.1 Quality
veo3.1-qualityמתחילים לבנות עם gemini-omni-1.2-flash-ext
מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.