Gemini Omni Flash

Gemini Omni Flash is Google's multimodal video generation and editing model in the Gemini Omni family. It turns text, photos, and video into 10-second clips with native audio generation, supports photo-to-video creation from up to five reference images, and adds video-to-video plus multi-turn editing workflows. Google positions it as the Gemini app successor to Veo 3.1, combining Gemini's world understanding with conversational control for video creation and editing.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
Guides3
LEARN
Step-by-step tutorials for advanced use cases
text-to-video
Forensic Moth Thriller Teaser$0.80~39simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:gemini@omni-flash',
positivePrompt: 'Create an 8-second cinematic title teaser in 16:9 landscape. One continuous macro shot inside a dark forensic entomology archive after hours. A shallow steel evidence drawer slides open toward camera, revealing orderly rows of pinned gray moths and handwritten specimen tags beneath ultraviolet forensic light. The clear subject is one unusually large moth at the center, its powdery wings patterned like a fingerprint. Begin extremely close to the drawer latch, then glide smoothly forward just above the specimens with razor-thin depth of field as floating wing dust catches cyan and acid-magenta light. As the camera reaches the central moth, its wings give one subtle, unsettling twitch. Rack focus past it onto a cream evidence tag at the back of the drawer, where the exact series title is sharply typewritten in black capitals: “THE QUIET PROOF”. Hold the legible title for the final two seconds. Restrained prestige-crime art direction, tactile photorealism, inky blacks, cold ultraviolet cyan, sparse magenta reflections, fine 35mm grain, controlled highlights, no gore, no people, no logos, no additional text. Native sound design: fluorescent electrical hum, slow metal drawer scrape, tiny pin rattle, a dry flutter, then one low cello impact on the title reveal.',
width: 1280,
height: 720,
duration: 8
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "google:gemini@omni-flash",
"positivePrompt": "Create an 8-second cinematic title teaser in 16:9 landscape. One continuous macro shot inside a dark forensic entomology archive after hours. A shallow steel evidence drawer slides open toward camera, revealing orderly rows of pinned gray moths and handwritten specimen tags beneath ultraviolet forensic light. The clear subject is one unusually large moth at the center, its powdery wings patterned like a fingerprint. Begin extremely close to the drawer latch, then glide smoothly forward just above the specimens with razor-thin depth of field as floating wing dust catches cyan and acid-magenta light. As the camera reaches the central moth, its wings give one subtle, unsettling twitch. Rack focus past it onto a cream evidence tag at the back of the drawer, where the exact series title is sharply typewritten in black capitals: “THE QUIET PROOF”. Hold the legible title for the final two seconds. Restrained prestige-crime art direction, tactile photorealism, inky blacks, cold ultraviolet cyan, sparse magenta reflections, fine 35mm grain, controlled highlights, no gore, no people, no logos, no additional text. Native sound design: fluorescent electrical hum, slow metal drawer scrape, tiny pin rattle, a dry flutter, then one low cello impact on the title reveal.",
"width": 1280,
"height": 720,
"duration": 8
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "544c4e77-3fe2-4687-98fa-414de9fefcd5",
"model": "google:gemini@omni-flash",
"positivePrompt": "Create an 8-second cinematic title teaser in 16:9 landscape. One continuous macro shot inside a dark forensic entomology archive after hours. A shallow steel evidence drawer slides open toward camera, revealing orderly rows of pinned gray moths and handwritten specimen tags beneath ultraviolet forensic light. The clear subject is one unusually large moth at the center, its powdery wings patterned like a fingerprint. Begin extremely close to the drawer latch, then glide smoothly forward just above the specimens with razor-thin depth of field as floating wing dust catches cyan and acid-magenta light. As the camera reaches the central moth, its wings give one subtle, unsettling twitch. Rack focus past it onto a cream evidence tag at the back of the drawer, where the exact series title is sharply typewritten in black capitals: “THE QUIET PROOF”. Hold the legible title for the final two seconds. Restrained prestige-crime art direction, tactile photorealism, inky blacks, cold ultraviolet cyan, sparse magenta reflections, fine 35mm grain, controlled highlights, no gore, no people, no logos, no additional text. Native sound design: fluorescent electrical hum, slow metal drawer scrape, tiny pin rattle, a dry flutter, then one low cello impact on the title reveal.",
"width": 1280,
"height": 720,
"duration": 8
}
]'runware run google:gemini@omni-flash \
positivePrompt="Create an 8-second cinematic title teaser in 16:9 landscape. One continuous macro shot inside a dark forensic entomology archive after hours. A shallow steel evidence drawer slides open toward camera, revealing orderly rows of pinned gray moths and handwritten specimen tags beneath ultraviolet forensic light. The clear subject is one unusually large moth at the center, its powdery wings patterned like a fingerprint. Begin extremely close to the drawer latch, then glide smoothly forward just above the specimens with razor-thin depth of field as floating wing dust catches cyan and acid-magenta light. As the camera reaches the central moth, its wings give one subtle, unsettling twitch. Rack focus past it onto a cream evidence tag at the back of the drawer, where the exact series title is sharply typewritten in black capitals: “THE QUIET PROOF”. Hold the legible title for the final two seconds. Restrained prestige-crime art direction, tactile photorealism, inky blacks, cold ultraviolet cyan, sparse magenta reflections, fine 35mm grain, controlled highlights, no gore, no people, no logos, no additional text. Native sound design: fluorescent electrical hum, slow metal drawer scrape, tiny pin rattle, a dry flutter, then one low cello impact on the title reveal." \
width=1280 \
height=720 \
duration=8{
"taskType": "videoInference",
"taskUUID": "544c4e77-3fe2-4687-98fa-414de9fefcd5",
"model": "google:gemini@omni-flash",
"positivePrompt": "Create an 8-second cinematic title teaser in 16:9 landscape. One continuous macro shot inside a dark forensic entomology archive after hours. A shallow steel evidence drawer slides open toward camera, revealing orderly rows of pinned gray moths and handwritten specimen tags beneath ultraviolet forensic light. The clear subject is one unusually large moth at the center, its powdery wings patterned like a fingerprint. Begin extremely close to the drawer latch, then glide smoothly forward just above the specimens with razor-thin depth of field as floating wing dust catches cyan and acid-magenta light. As the camera reaches the central moth, its wings give one subtle, unsettling twitch. Rack focus past it onto a cream evidence tag at the back of the drawer, where the exact series title is sharply typewritten in black capitals: “THE QUIET PROOF”. Hold the legible title for the final two seconds. Restrained prestige-crime art direction, tactile photorealism, inky blacks, cold ultraviolet cyan, sparse magenta reflections, fine 35mm grain, controlled highlights, no gore, no people, no logos, no additional text. Native sound design: fluorescent electrical hum, slow metal drawer scrape, tiny pin rattle, a dry flutter, then one low cello impact on the title reveal.",
"width": 1280,
"height": 720,
"duration": 8
}Response
{
"taskType": "videoInference",
"taskUUID": "544c4e77-3fe2-4687-98fa-414de9fefcd5",
"videoUUID": "d6748aba-a1fe-43c0-8a10-673a1696dea8",
"videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/d6748aba-a1fe-43c0-8a10-673a1696dea8.mp4",
"cost": 0.800405,
"outputs": {
"videoId": "video-c4e659bf-0471-48c4-85dd-d1f326765922"
}
}first-frame
Falconry Gauntlet Field Demonstration$0.503~35simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:gemini@omni-flash',
positivePrompt: 'Continue naturally from the supplied first frame in one uninterrupted cinematic shot. The gyrfalcon shifts its weight, grips the leather gauntlet, then drives its wings downward and launches smoothly toward the open moor. The falconer absorbs the force with a small realistic arm movement while keeping the gauntlet visible in the foreground. Wind carries loose snow and bends the grass; the bird\'s wingbeats disturb the falconer\'s coat and cuff. Let the camera make a subtle forward-and-right tracking move, briefly following the falcon while maintaining clear product detail on the oxblood leather, cream stitching, brass eyelets and reinforced cuff. Preserve the exact clothing, gauntlet construction, bird anatomy, landscape and dawn lighting from the opening frame. Natural leather creak, strong wingbeats, cold wind and distant moorland ambience; no speech, music, text, logos, cuts or transitions.',
width: 1280,
height: 720,
duration: 5,
inputs: {
frameImages: [
'https://assets.runware.ai/assets/inputs/8e3eab99-03c3-499a-b201-3bfa72cdb945.jpg'
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "google:gemini@omni-flash",
"positivePrompt": "Continue naturally from the supplied first frame in one uninterrupted cinematic shot. The gyrfalcon shifts its weight, grips the leather gauntlet, then drives its wings downward and launches smoothly toward the open moor. The falconer absorbs the force with a small realistic arm movement while keeping the gauntlet visible in the foreground. Wind carries loose snow and bends the grass; the bird's wingbeats disturb the falconer's coat and cuff. Let the camera make a subtle forward-and-right tracking move, briefly following the falcon while maintaining clear product detail on the oxblood leather, cream stitching, brass eyelets and reinforced cuff. Preserve the exact clothing, gauntlet construction, bird anatomy, landscape and dawn lighting from the opening frame. Natural leather creak, strong wingbeats, cold wind and distant moorland ambience; no speech, music, text, logos, cuts or transitions.",
"width": 1280,
"height": 720,
"duration": 5,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/8e3eab99-03c3-499a-b201-3bfa72cdb945.jpg"
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "cad03dd7-1e20-4c6d-a357-b717919b89b2",
"model": "google:gemini@omni-flash",
"positivePrompt": "Continue naturally from the supplied first frame in one uninterrupted cinematic shot. The gyrfalcon shifts its weight, grips the leather gauntlet, then drives its wings downward and launches smoothly toward the open moor. The falconer absorbs the force with a small realistic arm movement while keeping the gauntlet visible in the foreground. Wind carries loose snow and bends the grass; the bird's wingbeats disturb the falconer's coat and cuff. Let the camera make a subtle forward-and-right tracking move, briefly following the falcon while maintaining clear product detail on the oxblood leather, cream stitching, brass eyelets and reinforced cuff. Preserve the exact clothing, gauntlet construction, bird anatomy, landscape and dawn lighting from the opening frame. Natural leather creak, strong wingbeats, cold wind and distant moorland ambience; no speech, music, text, logos, cuts or transitions.",
"width": 1280,
"height": 720,
"duration": 5,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/8e3eab99-03c3-499a-b201-3bfa72cdb945.jpg"
]
}
}
]'runware run google:gemini@omni-flash \
positivePrompt="Continue naturally from the supplied first frame in one uninterrupted cinematic shot. The gyrfalcon shifts its weight, grips the leather gauntlet, then drives its wings downward and launches smoothly toward the open moor. The falconer absorbs the force with a small realistic arm movement while keeping the gauntlet visible in the foreground. Wind carries loose snow and bends the grass; the bird's wingbeats disturb the falconer's coat and cuff. Let the camera make a subtle forward-and-right tracking move, briefly following the falcon while maintaining clear product detail on the oxblood leather, cream stitching, brass eyelets and reinforced cuff. Preserve the exact clothing, gauntlet construction, bird anatomy, landscape and dawn lighting from the opening frame. Natural leather creak, strong wingbeats, cold wind and distant moorland ambience; no speech, music, text, logos, cuts or transitions." \
width=1280 \
height=720 \
duration=5 \
inputs.frameImages.0=https://assets.runware.ai/assets/inputs/8e3eab99-03c3-499a-b201-3bfa72cdb945.jpg{
"taskType": "videoInference",
"taskUUID": "cad03dd7-1e20-4c6d-a357-b717919b89b2",
"model": "google:gemini@omni-flash",
"positivePrompt": "Continue naturally from the supplied first frame in one uninterrupted cinematic shot. The gyrfalcon shifts its weight, grips the leather gauntlet, then drives its wings downward and launches smoothly toward the open moor. The falconer absorbs the force with a small realistic arm movement while keeping the gauntlet visible in the foreground. Wind carries loose snow and bends the grass; the bird's wingbeats disturb the falconer's coat and cuff. Let the camera make a subtle forward-and-right tracking move, briefly following the falcon while maintaining clear product detail on the oxblood leather, cream stitching, brass eyelets and reinforced cuff. Preserve the exact clothing, gauntlet construction, bird anatomy, landscape and dawn lighting from the opening frame. Natural leather creak, strong wingbeats, cold wind and distant moorland ambience; no speech, music, text, logos, cuts or transitions.",
"width": 1280,
"height": 720,
"duration": 5,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/8e3eab99-03c3-499a-b201-3bfa72cdb945.jpg"
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "cad03dd7-1e20-4c6d-a357-b717919b89b2",
"videoUUID": "dfa67e74-a82c-47f2-b0ba-1f157552d7b7",
"videoURL": "https://vm.runware.ai/video/os/a05d22/ws/5/vi/dfa67e74-a82c-47f2-b0ba-1f157552d7b7.mp4",
"cost": 0.5032575,
"outputs": {
"videoId": "video-a1c031f3-0ea2-4715-aebd-e1f8339f3286"
}
}reference-to-video
Abyssal Research Portrait Expansion$0.605~43simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:gemini@omni-flash',
positivePrompt: 'Create a seamless 9:16 portrait outpaint and six-second moving extension of the first reference image, using the second reference to establish the surrounding hydrothermal vent field and matching visual direction. Preserve the exact compact white ROV, brass sampling cylinder, amber work lights and documentary realism from reference one. Keep the original horizontal composition recognizable across the middle of the portrait frame while naturally extending the abyss upward into deep cobalt open water and downward into detailed basalt, pale bacterial mats and vent chimneys. The ROV hovers almost motionless as its robotic claw gently closes around the cylinder; thrusters stir a faint veil of sediment, marine snow drifts slowly past the lens, and a thin black-smoker plume curls upward through the newly expanded vertical space. Use a subtle stabilized camera push-in with convincing underwater parallax, restrained contrast, cold navy and mineral-black palette punctuated by warm amber lamps. The extension must feel continuous with no seams, duplicated machinery, warped vehicle parts, abrupt reframing or invented lettering. Native audio: low submersible thruster hum, soft mechanical servo movement and muted underwater particulate hiss; no narration or music.',
width: 720,
height: 1280,
duration: 6,
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/7a7b58ce-58f8-473a-a5aa-39c3e01b1d7c.jpg',
'https://assets.runware.ai/assets/inputs/8a16d3f8-e5de-42d1-a291-1e5da5d6ba50.jpg'
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "google:gemini@omni-flash",
"positivePrompt": "Create a seamless 9:16 portrait outpaint and six-second moving extension of the first reference image, using the second reference to establish the surrounding hydrothermal vent field and matching visual direction. Preserve the exact compact white ROV, brass sampling cylinder, amber work lights and documentary realism from reference one. Keep the original horizontal composition recognizable across the middle of the portrait frame while naturally extending the abyss upward into deep cobalt open water and downward into detailed basalt, pale bacterial mats and vent chimneys. The ROV hovers almost motionless as its robotic claw gently closes around the cylinder; thrusters stir a faint veil of sediment, marine snow drifts slowly past the lens, and a thin black-smoker plume curls upward through the newly expanded vertical space. Use a subtle stabilized camera push-in with convincing underwater parallax, restrained contrast, cold navy and mineral-black palette punctuated by warm amber lamps. The extension must feel continuous with no seams, duplicated machinery, warped vehicle parts, abrupt reframing or invented lettering. Native audio: low submersible thruster hum, soft mechanical servo movement and muted underwater particulate hiss; no narration or music.",
"width": 720,
"height": 1280,
"duration": 6,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/7a7b58ce-58f8-473a-a5aa-39c3e01b1d7c.jpg",
"https://assets.runware.ai/assets/inputs/8a16d3f8-e5de-42d1-a291-1e5da5d6ba50.jpg"
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "12f556d1-4ec6-48f9-af67-2b246cf1a5a3",
"model": "google:gemini@omni-flash",
"positivePrompt": "Create a seamless 9:16 portrait outpaint and six-second moving extension of the first reference image, using the second reference to establish the surrounding hydrothermal vent field and matching visual direction. Preserve the exact compact white ROV, brass sampling cylinder, amber work lights and documentary realism from reference one. Keep the original horizontal composition recognizable across the middle of the portrait frame while naturally extending the abyss upward into deep cobalt open water and downward into detailed basalt, pale bacterial mats and vent chimneys. The ROV hovers almost motionless as its robotic claw gently closes around the cylinder; thrusters stir a faint veil of sediment, marine snow drifts slowly past the lens, and a thin black-smoker plume curls upward through the newly expanded vertical space. Use a subtle stabilized camera push-in with convincing underwater parallax, restrained contrast, cold navy and mineral-black palette punctuated by warm amber lamps. The extension must feel continuous with no seams, duplicated machinery, warped vehicle parts, abrupt reframing or invented lettering. Native audio: low submersible thruster hum, soft mechanical servo movement and muted underwater particulate hiss; no narration or music.",
"width": 720,
"height": 1280,
"duration": 6,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/7a7b58ce-58f8-473a-a5aa-39c3e01b1d7c.jpg",
"https://assets.runware.ai/assets/inputs/8a16d3f8-e5de-42d1-a291-1e5da5d6ba50.jpg"
]
}
}
]'runware run google:gemini@omni-flash \
positivePrompt="Create a seamless 9:16 portrait outpaint and six-second moving extension of the first reference image, using the second reference to establish the surrounding hydrothermal vent field and matching visual direction. Preserve the exact compact white ROV, brass sampling cylinder, amber work lights and documentary realism from reference one. Keep the original horizontal composition recognizable across the middle of the portrait frame while naturally extending the abyss upward into deep cobalt open water and downward into detailed basalt, pale bacterial mats and vent chimneys. The ROV hovers almost motionless as its robotic claw gently closes around the cylinder; thrusters stir a faint veil of sediment, marine snow drifts slowly past the lens, and a thin black-smoker plume curls upward through the newly expanded vertical space. Use a subtle stabilized camera push-in with convincing underwater parallax, restrained contrast, cold navy and mineral-black palette punctuated by warm amber lamps. The extension must feel continuous with no seams, duplicated machinery, warped vehicle parts, abrupt reframing or invented lettering. Native audio: low submersible thruster hum, soft mechanical servo movement and muted underwater particulate hiss; no narration or music." \
width=720 \
height=1280 \
duration=6 \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/7a7b58ce-58f8-473a-a5aa-39c3e01b1d7c.jpg \
inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/8a16d3f8-e5de-42d1-a291-1e5da5d6ba50.jpg{
"taskType": "videoInference",
"taskUUID": "12f556d1-4ec6-48f9-af67-2b246cf1a5a3",
"model": "google:gemini@omni-flash",
"positivePrompt": "Create a seamless 9:16 portrait outpaint and six-second moving extension of the first reference image, using the second reference to establish the surrounding hydrothermal vent field and matching visual direction. Preserve the exact compact white ROV, brass sampling cylinder, amber work lights and documentary realism from reference one. Keep the original horizontal composition recognizable across the middle of the portrait frame while naturally extending the abyss upward into deep cobalt open water and downward into detailed basalt, pale bacterial mats and vent chimneys. The ROV hovers almost motionless as its robotic claw gently closes around the cylinder; thrusters stir a faint veil of sediment, marine snow drifts slowly past the lens, and a thin black-smoker plume curls upward through the newly expanded vertical space. Use a subtle stabilized camera push-in with convincing underwater parallax, restrained contrast, cold navy and mineral-black palette punctuated by warm amber lamps. The extension must feel continuous with no seams, duplicated machinery, warped vehicle parts, abrupt reframing or invented lettering. Native audio: low submersible thruster hum, soft mechanical servo movement and muted underwater particulate hiss; no narration or music.",
"width": 720,
"height": 1280,
"duration": 6,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/7a7b58ce-58f8-473a-a5aa-39c3e01b1d7c.jpg",
"https://assets.runware.ai/assets/inputs/8a16d3f8-e5de-42d1-a291-1e5da5d6ba50.jpg"
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "12f556d1-4ec6-48f9-af67-2b246cf1a5a3",
"videoUUID": "1e0347f7-9bb8-4a89-9963-57b46bf8cbcd",
"videoURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/1e0347f7-9bb8-4a89-9963-57b46bf8cbcd.mp4",
"cost": 0.6053035,
"outputs": {
"videoId": "video-b0ea6490-29e9-4197-a900-a1e311b5abf5"
}
}video-edit
Mobility Exoskeleton Airport Demo Clip$0.655~1m 6simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:gemini@omni-flash',
positivePrompt: 'Replace the plain studio cyclorama and floor with the airport concourse shown in the reference image. Keep the wearer and graphite-and-silver mobility exoskeleton fully intact: preserve the person’s identity, clothing, body proportions, exact assisted walking cycle, joint articulation, foot placement, device geometry, and the original side-tracking camera motion. Integrate the subject naturally with accurate floor contact, moving shadows, subtle terrazzo reflections, and cool window light edged by warm ceiling illumination. Maintain the source framing and pace so the background transformation is unmistakable while the original performance remains unchanged. Add restrained natural airport ambience beneath the existing mechanical footsteps; no announcements, narration, logos, readable signage, or added foreground people.',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/309dc54d-f62f-4edc-949f-21d4b6b5e986.mp4',
referenceImages: [
'https://assets.runware.ai/assets/inputs/bc510ac9-d346-4618-a533-bde733034d70.jpg'
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "google:gemini@omni-flash",
"positivePrompt": "Replace the plain studio cyclorama and floor with the airport concourse shown in the reference image. Keep the wearer and graphite-and-silver mobility exoskeleton fully intact: preserve the person’s identity, clothing, body proportions, exact assisted walking cycle, joint articulation, foot placement, device geometry, and the original side-tracking camera motion. Integrate the subject naturally with accurate floor contact, moving shadows, subtle terrazzo reflections, and cool window light edged by warm ceiling illumination. Maintain the source framing and pace so the background transformation is unmistakable while the original performance remains unchanged. Add restrained natural airport ambience beneath the existing mechanical footsteps; no announcements, narration, logos, readable signage, or added foreground people.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/309dc54d-f62f-4edc-949f-21d4b6b5e986.mp4",
"referenceImages": [
"https://assets.runware.ai/assets/inputs/bc510ac9-d346-4618-a533-bde733034d70.jpg"
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "15f4b161-8045-4fc8-a911-7e02dfd7e46e",
"model": "google:gemini@omni-flash",
"positivePrompt": "Replace the plain studio cyclorama and floor with the airport concourse shown in the reference image. Keep the wearer and graphite-and-silver mobility exoskeleton fully intact: preserve the person’s identity, clothing, body proportions, exact assisted walking cycle, joint articulation, foot placement, device geometry, and the original side-tracking camera motion. Integrate the subject naturally with accurate floor contact, moving shadows, subtle terrazzo reflections, and cool window light edged by warm ceiling illumination. Maintain the source framing and pace so the background transformation is unmistakable while the original performance remains unchanged. Add restrained natural airport ambience beneath the existing mechanical footsteps; no announcements, narration, logos, readable signage, or added foreground people.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/309dc54d-f62f-4edc-949f-21d4b6b5e986.mp4",
"referenceImages": [
"https://assets.runware.ai/assets/inputs/bc510ac9-d346-4618-a533-bde733034d70.jpg"
]
}
}
]'runware run google:gemini@omni-flash \
positivePrompt="Replace the plain studio cyclorama and floor with the airport concourse shown in the reference image. Keep the wearer and graphite-and-silver mobility exoskeleton fully intact: preserve the person’s identity, clothing, body proportions, exact assisted walking cycle, joint articulation, foot placement, device geometry, and the original side-tracking camera motion. Integrate the subject naturally with accurate floor contact, moving shadows, subtle terrazzo reflections, and cool window light edged by warm ceiling illumination. Maintain the source framing and pace so the background transformation is unmistakable while the original performance remains unchanged. Add restrained natural airport ambience beneath the existing mechanical footsteps; no announcements, narration, logos, readable signage, or added foreground people." \
inputs.video=https://assets.runware.ai/assets/inputs/309dc54d-f62f-4edc-949f-21d4b6b5e986.mp4 \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/bc510ac9-d346-4618-a533-bde733034d70.jpg{
"taskType": "videoInference",
"taskUUID": "15f4b161-8045-4fc8-a911-7e02dfd7e46e",
"model": "google:gemini@omni-flash",
"positivePrompt": "Replace the plain studio cyclorama and floor with the airport concourse shown in the reference image. Keep the wearer and graphite-and-silver mobility exoskeleton fully intact: preserve the person’s identity, clothing, body proportions, exact assisted walking cycle, joint articulation, foot placement, device geometry, and the original side-tracking camera motion. Integrate the subject naturally with accurate floor contact, moving shadows, subtle terrazzo reflections, and cool window light edged by warm ceiling illumination. Maintain the source framing and pace so the background transformation is unmistakable while the original performance remains unchanged. Add restrained natural airport ambience beneath the existing mechanical footsteps; no announcements, narration, logos, readable signage, or added foreground people.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/309dc54d-f62f-4edc-949f-21d4b6b5e986.mp4",
"referenceImages": [
"https://assets.runware.ai/assets/inputs/bc510ac9-d346-4618-a533-bde733034d70.jpg"
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "15f4b161-8045-4fc8-a911-7e02dfd7e46e",
"videoUUID": "12b85b79-ea82-43e2-a7ae-e3d8f045c275",
"videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/12b85b79-ea82-43e2-a7ae-e3d8f045c275.mp4",
"cost": 0.655471,
"outputs": {
"videoId": "video-3bf82891-0aaa-4b46-ac9e-443f7725180c"
}
}