Gemini Omni 1.2 Flash API-Referenz
Video mit Ton bis 4K aus Text, Bildern, Referenzen oder deinem eigenen Clip
Mit einem einzigen PopNow-API-Schlüssel rufst du Gemini Omni 1.2 Flash aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in USD und eine Anfrage, die du direkt ins Terminal kopieren kannst.
Die Parameterbeschreibungen stammen aus dem Eingabeschema des Modells und sind nur auf Englisch verfügbar.
Auf einen Blick
- Hersteller
- Ergebnis
- Video
- Ab
- $0.027 USD pro Sekunde Ergebnis
Die Preise werden in USD angezeigt und von deinem PopNow-Guthaben abgebucht. Bei Annahme wird der Höchstbetrag reserviert, nach Abschluss der tatsächliche Verbrauch abgerechnet und der Rest freigegeben. Fehlgeschlagene Tasks kosten nichts. Ein genaues Angebot erhältst du vorab über POST /api/v1/jobs/quote.
Video erstellen
google/gemini-omni-1.2-flash/text-to-video
Preis
| Option | USD |
|---|---|
360p | $0.027 pro Sekunde Ergebnis |
720p | $0.079 pro Sekunde Ergebnis |
1080p | $0.118 pro Sekunde Ergebnis |
4k | $0.236 pro Sekunde Ergebnis |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 20.000 Zeichen | Describe the subject, the action, the camera and the sound. Say "in a single continuous shot" if you want no cuts. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionOptional | string | 720p | 360p, 720p, 1080p, 4k | Output resolution. 360p and 720p are native; 1080p and 4K are upscaled by Google. Sets the per-second rate. |
duration_secondsOptional | integer | 8 | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | Clip length in whole seconds, from 3 to 15. Billed per second at the rate of the chosen resolution. |
seedOptional | integer | — | 10000 bis 99999 | Optional whole number from 10000 to 99999 for side-by-side comparisons; it does not guarantee identical frames. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-1.2-flash/text-to-video",
"input": {
"prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
"duration_seconds": 8,
"resolution": "720p"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Bild zu Video
google/gemini-omni-1.2-flash/image-to-video
Preis
| Option | USD |
|---|---|
360p | $0.027 pro Sekunde Ergebnis |
720p | $0.079 pro Sekunde Ergebnis |
1080p | $0.118 pro Sekunde Ergebnis |
4k | $0.236 pro Sekunde Ergebnis |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 20.000 Zeichen | Describe the motion, the camera and the sound. |
image_urlPflicht | string (uri) | — | — | Opening frame of the clip. |
last_image_urlOptional | string (uri) | — | — | Optional closing frame: the clip moves from the opening frame to this one. With a closing frame the clip can be 3 to 10 seconds long. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionOptional | string | 720p | 360p, 720p, 1080p, 4k | Output resolution. 360p and 720p are native; 1080p and 4K are upscaled by Google. Sets the per-second rate. |
duration_secondsOptional | integer | 8 | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | Clip length in whole seconds, from 3 to 15. Billed per second at the rate of the chosen resolution. |
seedOptional | integer | — | 10000 bis 99999 | Optional whole number from 10000 to 99999 for side-by-side comparisons; it does not guarantee identical frames. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
Das Beispiel nutzt in image_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-1.2-flash/image-to-video",
"input": {
"prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"duration_seconds": 8,
"resolution": "720p"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Referenz zu Video
google/gemini-omni-1.2-flash/reference-to-video
Preis
| Option | USD |
|---|---|
360p | $0.027 pro Sekunde Ergebnis |
720p | $0.079 pro Sekunde Ergebnis |
1080p | $0.118 pro Sekunde Ergebnis |
4k | $0.236 pro Sekunde Ergebnis |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 20.000 Zeichen | Say in plain words what each reference is and how to use it, for example "the man in Image 1" or "move like Video 1". |
reference_image_urlsOptional | array<string (uri)> | — | bis zu 6 Einträge | Up to six images of the people, products or places to keep, with up to three per character for two characters. |
reference_video_urlsOptional | array<string (uri)> | — | bis zu 3 Einträge | Up to three reference clips of no more than 3 seconds each for look and motion; any sound in them is ignored. Google lists one clip for outputs of 11 to 15 seconds. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionOptional | string | 720p | 360p, 720p, 1080p, 4k | Output resolution. 360p and 720p are native; 1080p and 4K are upscaled by Google. Sets the per-second rate. |
duration_secondsOptional | integer | 8 | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | Clip length in whole seconds, from 3 to 15. Billed per second at the rate of the chosen resolution. |
seedOptional | integer | — | 10000 bis 99999 | Optional whole number from 10000 to 99999 for side-by-side comparisons; it does not guarantee identical frames. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-1.2-flash/reference-to-video",
"input": {
"prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
"duration_seconds": 8,
"resolution": "720p"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Video bearbeiten
google/gemini-omni-1.2-flash/video-edit
Preis
| Option | USD |
|---|---|
360p | $0.054 pro Sekunde Ergebnis |
720p | $0.117 pro Sekunde Ergebnis |
1080p | $0.164 pro Sekunde Ergebnis |
4k | $0.305 pro Sekunde Ergebnis |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 20.000 Zeichen | Say what to change in plain words and end with "Keep everything else the same." |
video_urlPflicht | string (uri) | — | — | The clip to edit (MP4). Billed per second of the source clip, rounded up, with a 3 second minimum. |
resolutionOptional | string | 720p | 360p, 720p, 1080p, 4k | Output resolution. 360p and 720p are native; 1080p and 4K are upscaled by Google. Sets the per-second rate. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
Das Beispiel nutzt in video_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-1.2-flash/video-edit",
"input": {
"prompt": "Recolor the flowers in soft pastel blue; keep the face and the motion unchanged",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"resolution": "720p"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
