FLUX Video Edit [fast]

FLUX Video Edit [fast] is Black Forest Labs' instruction-based video editing model for changing an existing clip with a natural-language prompt. It can add, remove, or replace objects and characters; alter settings, styles, actions, and on-screen text; and revise or translate dialogue while preserving unedited motion, camera work, timing, framing, and audio. It supports source clips up to 15 seconds and produces 24 FPS output at up to 720p while retaining the original duration and aspect ratio.
![FLUX Video Edit [fast]](https://assets.runware.ai/covers/bfl-flux-video-edit-fast.jpg)
API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
Guides7
LEARN
Step-by-step tutorials for advanced use cases
video-edit
Municipal Water Documentary Title Sequence$0.181~54simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'bfl:flux@video-edit-fast',
positivePrompt: 'Transform this source clip into a tense prestige-documentary title sequence about the vast water infrastructure hidden beneath a city. Preserve the original continuous camera move, the engineer\'s identity, walking pace, body motion, rotating machinery, framing, timing and natural audio. Replace the daylight treatment plant with a monumental subterranean brutalist reservoir at night: immense wet concrete vaults disappearing into darkness, oxidized steel catwalks, black water below and distant tunnels. Keep the engineer walking naturally on the same catwalk, now illuminated by intermittent amber maintenance lamps and cold cyan reflections rising from the water. Add subtle volumetric mist, dripping condensation, ripples and realistic reflections that remain spatially and temporally consistent as the camera moves. Introduce restrained cyanotype-style engineering diagrams and pipe-network contour lines as faint translucent projections traveling across the concrete walls, physically anchored to their surfaces rather than appearing as interface graphics. Build visual tension gradually: begin nearly black and industrial, reveal more of the cavern with passing lights, then let the cyan reflections intensify during the final three seconds. At the end, form the documentary title BENEATH THE CITY in large condensed uppercase lettering from pale mineral deposits on the far concrete wall. The title must be correctly spelled, centered, legible and integrated into the environment with damp texture and grazing light. Add a smaller line beneath reading A DOCUMENTARY SERIES. No other text, logos, subtitles, borders or interface elements. Photorealistic cinematic finish, deep blacks, silver concrete, oxidized orange and electric cyan palette, subtle 35mm grain, controlled highlights and ominous institutional atmosphere.',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/7750d507-78ff-43a2-acd8-e517b566e5b9.mp4'
}
})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": "bfl:flux@video-edit-fast",
"positivePrompt": "Transform this source clip into a tense prestige-documentary title sequence about the vast water infrastructure hidden beneath a city. Preserve the original continuous camera move, the engineer's identity, walking pace, body motion, rotating machinery, framing, timing and natural audio. Replace the daylight treatment plant with a monumental subterranean brutalist reservoir at night: immense wet concrete vaults disappearing into darkness, oxidized steel catwalks, black water below and distant tunnels. Keep the engineer walking naturally on the same catwalk, now illuminated by intermittent amber maintenance lamps and cold cyan reflections rising from the water. Add subtle volumetric mist, dripping condensation, ripples and realistic reflections that remain spatially and temporally consistent as the camera moves. Introduce restrained cyanotype-style engineering diagrams and pipe-network contour lines as faint translucent projections traveling across the concrete walls, physically anchored to their surfaces rather than appearing as interface graphics. Build visual tension gradually: begin nearly black and industrial, reveal more of the cavern with passing lights, then let the cyan reflections intensify during the final three seconds. At the end, form the documentary title BENEATH THE CITY in large condensed uppercase lettering from pale mineral deposits on the far concrete wall. The title must be correctly spelled, centered, legible and integrated into the environment with damp texture and grazing light. Add a smaller line beneath reading A DOCUMENTARY SERIES. No other text, logos, subtitles, borders or interface elements. Photorealistic cinematic finish, deep blacks, silver concrete, oxidized orange and electric cyan palette, subtle 35mm grain, controlled highlights and ominous institutional atmosphere.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/7750d507-78ff-43a2-acd8-e517b566e5b9.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "564ee432-ea2d-416b-9e9c-3d6fb48b030a",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Transform this source clip into a tense prestige-documentary title sequence about the vast water infrastructure hidden beneath a city. Preserve the original continuous camera move, the engineer's identity, walking pace, body motion, rotating machinery, framing, timing and natural audio. Replace the daylight treatment plant with a monumental subterranean brutalist reservoir at night: immense wet concrete vaults disappearing into darkness, oxidized steel catwalks, black water below and distant tunnels. Keep the engineer walking naturally on the same catwalk, now illuminated by intermittent amber maintenance lamps and cold cyan reflections rising from the water. Add subtle volumetric mist, dripping condensation, ripples and realistic reflections that remain spatially and temporally consistent as the camera moves. Introduce restrained cyanotype-style engineering diagrams and pipe-network contour lines as faint translucent projections traveling across the concrete walls, physically anchored to their surfaces rather than appearing as interface graphics. Build visual tension gradually: begin nearly black and industrial, reveal more of the cavern with passing lights, then let the cyan reflections intensify during the final three seconds. At the end, form the documentary title BENEATH THE CITY in large condensed uppercase lettering from pale mineral deposits on the far concrete wall. The title must be correctly spelled, centered, legible and integrated into the environment with damp texture and grazing light. Add a smaller line beneath reading A DOCUMENTARY SERIES. No other text, logos, subtitles, borders or interface elements. Photorealistic cinematic finish, deep blacks, silver concrete, oxidized orange and electric cyan palette, subtle 35mm grain, controlled highlights and ominous institutional atmosphere.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/7750d507-78ff-43a2-acd8-e517b566e5b9.mp4"
}
}
]'runware run bfl:flux@video-edit-fast \
positivePrompt="Transform this source clip into a tense prestige-documentary title sequence about the vast water infrastructure hidden beneath a city. Preserve the original continuous camera move, the engineer's identity, walking pace, body motion, rotating machinery, framing, timing and natural audio. Replace the daylight treatment plant with a monumental subterranean brutalist reservoir at night: immense wet concrete vaults disappearing into darkness, oxidized steel catwalks, black water below and distant tunnels. Keep the engineer walking naturally on the same catwalk, now illuminated by intermittent amber maintenance lamps and cold cyan reflections rising from the water. Add subtle volumetric mist, dripping condensation, ripples and realistic reflections that remain spatially and temporally consistent as the camera moves. Introduce restrained cyanotype-style engineering diagrams and pipe-network contour lines as faint translucent projections traveling across the concrete walls, physically anchored to their surfaces rather than appearing as interface graphics. Build visual tension gradually: begin nearly black and industrial, reveal more of the cavern with passing lights, then let the cyan reflections intensify during the final three seconds. At the end, form the documentary title BENEATH THE CITY in large condensed uppercase lettering from pale mineral deposits on the far concrete wall. The title must be correctly spelled, centered, legible and integrated into the environment with damp texture and grazing light. Add a smaller line beneath reading A DOCUMENTARY SERIES. No other text, logos, subtitles, borders or interface elements. Photorealistic cinematic finish, deep blacks, silver concrete, oxidized orange and electric cyan palette, subtle 35mm grain, controlled highlights and ominous institutional atmosphere." \
inputs.video=https://assets.runware.ai/assets/inputs/7750d507-78ff-43a2-acd8-e517b566e5b9.mp4{
"taskType": "videoInference",
"taskUUID": "564ee432-ea2d-416b-9e9c-3d6fb48b030a",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Transform this source clip into a tense prestige-documentary title sequence about the vast water infrastructure hidden beneath a city. Preserve the original continuous camera move, the engineer's identity, walking pace, body motion, rotating machinery, framing, timing and natural audio. Replace the daylight treatment plant with a monumental subterranean brutalist reservoir at night: immense wet concrete vaults disappearing into darkness, oxidized steel catwalks, black water below and distant tunnels. Keep the engineer walking naturally on the same catwalk, now illuminated by intermittent amber maintenance lamps and cold cyan reflections rising from the water. Add subtle volumetric mist, dripping condensation, ripples and realistic reflections that remain spatially and temporally consistent as the camera moves. Introduce restrained cyanotype-style engineering diagrams and pipe-network contour lines as faint translucent projections traveling across the concrete walls, physically anchored to their surfaces rather than appearing as interface graphics. Build visual tension gradually: begin nearly black and industrial, reveal more of the cavern with passing lights, then let the cyan reflections intensify during the final three seconds. At the end, form the documentary title BENEATH THE CITY in large condensed uppercase lettering from pale mineral deposits on the far concrete wall. The title must be correctly spelled, centered, legible and integrated into the environment with damp texture and grazing light. Add a smaller line beneath reading A DOCUMENTARY SERIES. No other text, logos, subtitles, borders or interface elements. Photorealistic cinematic finish, deep blacks, silver concrete, oxidized orange and electric cyan palette, subtle 35mm grain, controlled highlights and ominous institutional atmosphere.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/7750d507-78ff-43a2-acd8-e517b566e5b9.mp4"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "564ee432-ea2d-416b-9e9c-3d6fb48b030a",
"videoUUID": "af5fe741-73b3-491a-9a0c-2c188b1e4ce5",
"videoURL": "https://vm.runware.ai/video/os/a07dlim3/ws/5/vi/af5fe741-73b3-491a-9a0c-2c188b1e4ce5.mp4",
"cost": 0.1813
}video-edit
Widescreen Ceramic Workshop Outpaint$0.181~45simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'bfl:flux@video-edit-fast',
positivePrompt: 'Outpaint the centered portrait footage across the full widescreen frame, completely replacing both dark side mattes with a natural continuation of the same working ceramics studio. Preserve the original central action, timing, camera position, artisan, cobalt-blue vessel, kiln, smoke movement, flickering light, and audio. Extend the kiln and soot-darkened brick wall toward frame left; add orderly shelves of unglazed clay vessels, hanging iron tools, a scarred timber workbench, and stacked firebricks toward frame right. Continue all smoke, shadows, firelight, and subtle reflections coherently into the newly created areas throughout the shot. Match the central footage\'s perspective, lens softness, exposure, grain, terracotta-and-cobalt palette, and tactile editorial documentary style. The expansion must feel like one authentic continuous camera capture with no seams, borders, duplicated objects, abrupt changes, text, logos, or added camera movement.',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/ceba33dc-a639-4307-957b-0fc00eb9a90c.mp4'
}
})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": "bfl:flux@video-edit-fast",
"positivePrompt": "Outpaint the centered portrait footage across the full widescreen frame, completely replacing both dark side mattes with a natural continuation of the same working ceramics studio. Preserve the original central action, timing, camera position, artisan, cobalt-blue vessel, kiln, smoke movement, flickering light, and audio. Extend the kiln and soot-darkened brick wall toward frame left; add orderly shelves of unglazed clay vessels, hanging iron tools, a scarred timber workbench, and stacked firebricks toward frame right. Continue all smoke, shadows, firelight, and subtle reflections coherently into the newly created areas throughout the shot. Match the central footage's perspective, lens softness, exposure, grain, terracotta-and-cobalt palette, and tactile editorial documentary style. The expansion must feel like one authentic continuous camera capture with no seams, borders, duplicated objects, abrupt changes, text, logos, or added camera movement.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/ceba33dc-a639-4307-957b-0fc00eb9a90c.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "bd8508b5-5f84-4702-80d6-eac498f44340",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Outpaint the centered portrait footage across the full widescreen frame, completely replacing both dark side mattes with a natural continuation of the same working ceramics studio. Preserve the original central action, timing, camera position, artisan, cobalt-blue vessel, kiln, smoke movement, flickering light, and audio. Extend the kiln and soot-darkened brick wall toward frame left; add orderly shelves of unglazed clay vessels, hanging iron tools, a scarred timber workbench, and stacked firebricks toward frame right. Continue all smoke, shadows, firelight, and subtle reflections coherently into the newly created areas throughout the shot. Match the central footage's perspective, lens softness, exposure, grain, terracotta-and-cobalt palette, and tactile editorial documentary style. The expansion must feel like one authentic continuous camera capture with no seams, borders, duplicated objects, abrupt changes, text, logos, or added camera movement.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/ceba33dc-a639-4307-957b-0fc00eb9a90c.mp4"
}
}
]'runware run bfl:flux@video-edit-fast \
positivePrompt="Outpaint the centered portrait footage across the full widescreen frame, completely replacing both dark side mattes with a natural continuation of the same working ceramics studio. Preserve the original central action, timing, camera position, artisan, cobalt-blue vessel, kiln, smoke movement, flickering light, and audio. Extend the kiln and soot-darkened brick wall toward frame left; add orderly shelves of unglazed clay vessels, hanging iron tools, a scarred timber workbench, and stacked firebricks toward frame right. Continue all smoke, shadows, firelight, and subtle reflections coherently into the newly created areas throughout the shot. Match the central footage's perspective, lens softness, exposure, grain, terracotta-and-cobalt palette, and tactile editorial documentary style. The expansion must feel like one authentic continuous camera capture with no seams, borders, duplicated objects, abrupt changes, text, logos, or added camera movement." \
inputs.video=https://assets.runware.ai/assets/inputs/ceba33dc-a639-4307-957b-0fc00eb9a90c.mp4{
"taskType": "videoInference",
"taskUUID": "bd8508b5-5f84-4702-80d6-eac498f44340",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Outpaint the centered portrait footage across the full widescreen frame, completely replacing both dark side mattes with a natural continuation of the same working ceramics studio. Preserve the original central action, timing, camera position, artisan, cobalt-blue vessel, kiln, smoke movement, flickering light, and audio. Extend the kiln and soot-darkened brick wall toward frame left; add orderly shelves of unglazed clay vessels, hanging iron tools, a scarred timber workbench, and stacked firebricks toward frame right. Continue all smoke, shadows, firelight, and subtle reflections coherently into the newly created areas throughout the shot. Match the central footage's perspective, lens softness, exposure, grain, terracotta-and-cobalt palette, and tactile editorial documentary style. The expansion must feel like one authentic continuous camera capture with no seams, borders, duplicated objects, abrupt changes, text, logos, or added camera movement.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/ceba33dc-a639-4307-957b-0fc00eb9a90c.mp4"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "bd8508b5-5f84-4702-80d6-eac498f44340",
"videoUUID": "57f29960-6c34-415e-898f-f0c4873be78a",
"videoURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/57f29960-6c34-415e-898f-f0c4873be78a.mp4",
"cost": 0.1813
}video-edit
Lighthouse Archive Film Restoration$0.181~2m 58simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'bfl:flux@video-edit-fast',
positivePrompt: 'Restore this damaged archival lighthouse footage for a maritime museum exhibition. Remove dust, hairs, vertical scratches, chemical blotches, torn-edge artifacts, frame jitter, gate weave, and harsh exposure flicker. Repair brief emulsion-damaged areas with temporally consistent detail so the keeper, hand crank, rotating Fresnel lens, windows, and ocean remain stable from frame to frame. Recover natural contrast and shadow detail without making the image look digitally sharpened. Apply restrained, historically plausible colorization: weathered warm brass on the lens mechanism, clear glass prisms with subtle spectral highlights, off-white painted ironwork, muted navy wool uniform, brown leather belt and boots, pale cool daylight, and a desaturated blue-gray sea. Preserve the keeper\'s exact hand-cranking action, the lens rotation, ocean movement, original camera position, framing, timing, and audio. Retain fine authentic 16mm grain and a gently aged texture, but deliver a clean, coherent, museum-grade restoration with no modern objects, invented text, or color pulsing.',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/77ef9537-4222-4bbf-8a9a-a3d7b2945b10.mp4'
}
})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": "bfl:flux@video-edit-fast",
"positivePrompt": "Restore this damaged archival lighthouse footage for a maritime museum exhibition. Remove dust, hairs, vertical scratches, chemical blotches, torn-edge artifacts, frame jitter, gate weave, and harsh exposure flicker. Repair brief emulsion-damaged areas with temporally consistent detail so the keeper, hand crank, rotating Fresnel lens, windows, and ocean remain stable from frame to frame. Recover natural contrast and shadow detail without making the image look digitally sharpened. Apply restrained, historically plausible colorization: weathered warm brass on the lens mechanism, clear glass prisms with subtle spectral highlights, off-white painted ironwork, muted navy wool uniform, brown leather belt and boots, pale cool daylight, and a desaturated blue-gray sea. Preserve the keeper's exact hand-cranking action, the lens rotation, ocean movement, original camera position, framing, timing, and audio. Retain fine authentic 16mm grain and a gently aged texture, but deliver a clean, coherent, museum-grade restoration with no modern objects, invented text, or color pulsing.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/77ef9537-4222-4bbf-8a9a-a3d7b2945b10.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "6e034771-32e6-4062-83fc-646f46fb43e8",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Restore this damaged archival lighthouse footage for a maritime museum exhibition. Remove dust, hairs, vertical scratches, chemical blotches, torn-edge artifacts, frame jitter, gate weave, and harsh exposure flicker. Repair brief emulsion-damaged areas with temporally consistent detail so the keeper, hand crank, rotating Fresnel lens, windows, and ocean remain stable from frame to frame. Recover natural contrast and shadow detail without making the image look digitally sharpened. Apply restrained, historically plausible colorization: weathered warm brass on the lens mechanism, clear glass prisms with subtle spectral highlights, off-white painted ironwork, muted navy wool uniform, brown leather belt and boots, pale cool daylight, and a desaturated blue-gray sea. Preserve the keeper's exact hand-cranking action, the lens rotation, ocean movement, original camera position, framing, timing, and audio. Retain fine authentic 16mm grain and a gently aged texture, but deliver a clean, coherent, museum-grade restoration with no modern objects, invented text, or color pulsing.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/77ef9537-4222-4bbf-8a9a-a3d7b2945b10.mp4"
}
}
]'runware run bfl:flux@video-edit-fast \
positivePrompt="Restore this damaged archival lighthouse footage for a maritime museum exhibition. Remove dust, hairs, vertical scratches, chemical blotches, torn-edge artifacts, frame jitter, gate weave, and harsh exposure flicker. Repair brief emulsion-damaged areas with temporally consistent detail so the keeper, hand crank, rotating Fresnel lens, windows, and ocean remain stable from frame to frame. Recover natural contrast and shadow detail without making the image look digitally sharpened. Apply restrained, historically plausible colorization: weathered warm brass on the lens mechanism, clear glass prisms with subtle spectral highlights, off-white painted ironwork, muted navy wool uniform, brown leather belt and boots, pale cool daylight, and a desaturated blue-gray sea. Preserve the keeper's exact hand-cranking action, the lens rotation, ocean movement, original camera position, framing, timing, and audio. Retain fine authentic 16mm grain and a gently aged texture, but deliver a clean, coherent, museum-grade restoration with no modern objects, invented text, or color pulsing." \
inputs.video=https://assets.runware.ai/assets/inputs/77ef9537-4222-4bbf-8a9a-a3d7b2945b10.mp4{
"taskType": "videoInference",
"taskUUID": "6e034771-32e6-4062-83fc-646f46fb43e8",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Restore this damaged archival lighthouse footage for a maritime museum exhibition. Remove dust, hairs, vertical scratches, chemical blotches, torn-edge artifacts, frame jitter, gate weave, and harsh exposure flicker. Repair brief emulsion-damaged areas with temporally consistent detail so the keeper, hand crank, rotating Fresnel lens, windows, and ocean remain stable from frame to frame. Recover natural contrast and shadow detail without making the image look digitally sharpened. Apply restrained, historically plausible colorization: weathered warm brass on the lens mechanism, clear glass prisms with subtle spectral highlights, off-white painted ironwork, muted navy wool uniform, brown leather belt and boots, pale cool daylight, and a desaturated blue-gray sea. Preserve the keeper's exact hand-cranking action, the lens rotation, ocean movement, original camera position, framing, timing, and audio. Retain fine authentic 16mm grain and a gently aged texture, but deliver a clean, coherent, museum-grade restoration with no modern objects, invented text, or color pulsing.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/77ef9537-4222-4bbf-8a9a-a3d7b2945b10.mp4"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "6e034771-32e6-4062-83fc-646f46fb43e8",
"videoUUID": "3defbbb1-fec2-4e6a-aead-53314ddf83d9",
"videoURL": "https://vm.runware.ai/video/os/a07dlim3/ws/5/vi/3defbbb1-fec2-4e6a-aead-53314ddf83d9.mp4",
"cost": 0.1813
}video-edit
Falconry Exhibition Miniature Reel$0.181~48simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'bfl:flux@video-edit-fast',
positivePrompt: 'Restyle the entire live-action clip as a richly animated Persian illuminated manuscript miniature created with opaque mineral pigments and gold leaf on warm ivory paper. Preserve the original camera movement, framing, timing, falconer\'s identity and body motion, and the hawk\'s exact launch path, wingbeats, anatomy and flight speed. Render the falconer with elegant flattened shapes, precise ink contours and finely patterned garments in lapis blue, vermilion, turquoise and muted saffron. Transform the grassland into a decorative manuscript landscape of rhythmic gold grasses, small stylized flowers, patterned earth and distant cobalt hills. Give the hawk especially crisp feather detailing and a readable silhouette in every frame. Add subtle handmade paper grain, delicate brush variation and restrained gold shimmer that remains temporally stable. Keep all elements coherent from frame to frame with no flicker, morphing, duplicated limbs, extra birds or added lettering. The finished result should feel like a historical miniature brought gracefully to life for a prestigious museum exhibition campaign, while retaining the source audio unchanged.',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/bacbd6ab-b55b-42d1-8962-3fa315075725.mp4'
}
})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": "bfl:flux@video-edit-fast",
"positivePrompt": "Restyle the entire live-action clip as a richly animated Persian illuminated manuscript miniature created with opaque mineral pigments and gold leaf on warm ivory paper. Preserve the original camera movement, framing, timing, falconer's identity and body motion, and the hawk's exact launch path, wingbeats, anatomy and flight speed. Render the falconer with elegant flattened shapes, precise ink contours and finely patterned garments in lapis blue, vermilion, turquoise and muted saffron. Transform the grassland into a decorative manuscript landscape of rhythmic gold grasses, small stylized flowers, patterned earth and distant cobalt hills. Give the hawk especially crisp feather detailing and a readable silhouette in every frame. Add subtle handmade paper grain, delicate brush variation and restrained gold shimmer that remains temporally stable. Keep all elements coherent from frame to frame with no flicker, morphing, duplicated limbs, extra birds or added lettering. The finished result should feel like a historical miniature brought gracefully to life for a prestigious museum exhibition campaign, while retaining the source audio unchanged.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/bacbd6ab-b55b-42d1-8962-3fa315075725.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "73720225-4e97-47d7-8d18-018d60d990c5",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Restyle the entire live-action clip as a richly animated Persian illuminated manuscript miniature created with opaque mineral pigments and gold leaf on warm ivory paper. Preserve the original camera movement, framing, timing, falconer's identity and body motion, and the hawk's exact launch path, wingbeats, anatomy and flight speed. Render the falconer with elegant flattened shapes, precise ink contours and finely patterned garments in lapis blue, vermilion, turquoise and muted saffron. Transform the grassland into a decorative manuscript landscape of rhythmic gold grasses, small stylized flowers, patterned earth and distant cobalt hills. Give the hawk especially crisp feather detailing and a readable silhouette in every frame. Add subtle handmade paper grain, delicate brush variation and restrained gold shimmer that remains temporally stable. Keep all elements coherent from frame to frame with no flicker, morphing, duplicated limbs, extra birds or added lettering. The finished result should feel like a historical miniature brought gracefully to life for a prestigious museum exhibition campaign, while retaining the source audio unchanged.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/bacbd6ab-b55b-42d1-8962-3fa315075725.mp4"
}
}
]'runware run bfl:flux@video-edit-fast \
positivePrompt="Restyle the entire live-action clip as a richly animated Persian illuminated manuscript miniature created with opaque mineral pigments and gold leaf on warm ivory paper. Preserve the original camera movement, framing, timing, falconer's identity and body motion, and the hawk's exact launch path, wingbeats, anatomy and flight speed. Render the falconer with elegant flattened shapes, precise ink contours and finely patterned garments in lapis blue, vermilion, turquoise and muted saffron. Transform the grassland into a decorative manuscript landscape of rhythmic gold grasses, small stylized flowers, patterned earth and distant cobalt hills. Give the hawk especially crisp feather detailing and a readable silhouette in every frame. Add subtle handmade paper grain, delicate brush variation and restrained gold shimmer that remains temporally stable. Keep all elements coherent from frame to frame with no flicker, morphing, duplicated limbs, extra birds or added lettering. The finished result should feel like a historical miniature brought gracefully to life for a prestigious museum exhibition campaign, while retaining the source audio unchanged." \
inputs.video=https://assets.runware.ai/assets/inputs/bacbd6ab-b55b-42d1-8962-3fa315075725.mp4{
"taskType": "videoInference",
"taskUUID": "73720225-4e97-47d7-8d18-018d60d990c5",
"model": "bfl:flux@video-edit-fast",
"positivePrompt": "Restyle the entire live-action clip as a richly animated Persian illuminated manuscript miniature created with opaque mineral pigments and gold leaf on warm ivory paper. Preserve the original camera movement, framing, timing, falconer's identity and body motion, and the hawk's exact launch path, wingbeats, anatomy and flight speed. Render the falconer with elegant flattened shapes, precise ink contours and finely patterned garments in lapis blue, vermilion, turquoise and muted saffron. Transform the grassland into a decorative manuscript landscape of rhythmic gold grasses, small stylized flowers, patterned earth and distant cobalt hills. Give the hawk especially crisp feather detailing and a readable silhouette in every frame. Add subtle handmade paper grain, delicate brush variation and restrained gold shimmer that remains temporally stable. Keep all elements coherent from frame to frame with no flicker, morphing, duplicated limbs, extra birds or added lettering. The finished result should feel like a historical miniature brought gracefully to life for a prestigious museum exhibition campaign, while retaining the source audio unchanged.",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/bacbd6ab-b55b-42d1-8962-3fa315075725.mp4"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "73720225-4e97-47d7-8d18-018d60d990c5",
"videoUUID": "f0c9bfc6-41f8-4937-a9c3-4209385fc71f",
"videoURL": "https://vm.runware.ai/video/os/a10dlim3/ws/5/vi/f0c9bfc6-41f8-4937-a9c3-4209385fc71f.mp4",
"cost": 0.1813
}