MiniMax Hailuo 02

MiniMax Hailuo 02 is a 1080p AI video model for cinematic, high motion scenes. It converts text prompts or still images into short, polished clips with strong instruction following and realistic physics. Ideal for commercial spots, trailers, music promos, and social shorts.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
text-to-video
Sculptural Hearing Jewelry Fashion Reel$0.49~2m 34simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'minimax:3@1',
positivePrompt: 'A polished six-second luxury fashion product reel for sculptural hearing jewelry. In a sunlit Bauhaus-inspired salon, a poised silver-haired woman in a minimalist ivory high-neck dress wears a clearly visible cobalt-blue hearing device with a slender brushed-silver ear cuff and tiny coral enamel detail. Begin in an extreme close profile focused sharply on the device, revealing its premium materials and precise fit. She slowly lifts her chin and turns toward camera while one hand gently brushes her hair behind the ear, keeping the product unobstructed. The camera performs a smooth controlled arc from profile into a refined three-quarter portrait, subtly pulling back while maintaining crisp focus on the ear jewelry. Large translucent acrylic mobiles in cobalt, coral, and pale amber rotate slowly in the background; soft geometric reflections drift across the cream walls and a faint breeze moves loose strands of hair and sheer curtains. Warm directional afternoon light, clean editorial styling, realistic skin texture, elegant restrained movement, shallow depth of field, premium fashion-film finish, accurate anatomy and product continuity. No text, logos, interface elements, cuts, or additional people.',
width: 1920,
height: 1080,
duration: 6,
fps: 25,
providerSettings: {
minimax: {
promptOptimizer: true
}
}
})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": "minimax:3@1",
"positivePrompt": "A polished six-second luxury fashion product reel for sculptural hearing jewelry. In a sunlit Bauhaus-inspired salon, a poised silver-haired woman in a minimalist ivory high-neck dress wears a clearly visible cobalt-blue hearing device with a slender brushed-silver ear cuff and tiny coral enamel detail. Begin in an extreme close profile focused sharply on the device, revealing its premium materials and precise fit. She slowly lifts her chin and turns toward camera while one hand gently brushes her hair behind the ear, keeping the product unobstructed. The camera performs a smooth controlled arc from profile into a refined three-quarter portrait, subtly pulling back while maintaining crisp focus on the ear jewelry. Large translucent acrylic mobiles in cobalt, coral, and pale amber rotate slowly in the background; soft geometric reflections drift across the cream walls and a faint breeze moves loose strands of hair and sheer curtains. Warm directional afternoon light, clean editorial styling, realistic skin texture, elegant restrained movement, shallow depth of field, premium fashion-film finish, accurate anatomy and product continuity. No text, logos, interface elements, cuts, or additional people.",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 25,
"providerSettings": {
"minimax": {
"promptOptimizer": True
}
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "73a8673d-6265-4e5e-973c-ce2bf339372e",
"model": "minimax:3@1",
"positivePrompt": "A polished six-second luxury fashion product reel for sculptural hearing jewelry. In a sunlit Bauhaus-inspired salon, a poised silver-haired woman in a minimalist ivory high-neck dress wears a clearly visible cobalt-blue hearing device with a slender brushed-silver ear cuff and tiny coral enamel detail. Begin in an extreme close profile focused sharply on the device, revealing its premium materials and precise fit. She slowly lifts her chin and turns toward camera while one hand gently brushes her hair behind the ear, keeping the product unobstructed. The camera performs a smooth controlled arc from profile into a refined three-quarter portrait, subtly pulling back while maintaining crisp focus on the ear jewelry. Large translucent acrylic mobiles in cobalt, coral, and pale amber rotate slowly in the background; soft geometric reflections drift across the cream walls and a faint breeze moves loose strands of hair and sheer curtains. Warm directional afternoon light, clean editorial styling, realistic skin texture, elegant restrained movement, shallow depth of field, premium fashion-film finish, accurate anatomy and product continuity. No text, logos, interface elements, cuts, or additional people.",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 25,
"providerSettings": {
"minimax": {
"promptOptimizer": true
}
}
}
]'runware run minimax:3@1 \
positivePrompt="A polished six-second luxury fashion product reel for sculptural hearing jewelry. In a sunlit Bauhaus-inspired salon, a poised silver-haired woman in a minimalist ivory high-neck dress wears a clearly visible cobalt-blue hearing device with a slender brushed-silver ear cuff and tiny coral enamel detail. Begin in an extreme close profile focused sharply on the device, revealing its premium materials and precise fit. She slowly lifts her chin and turns toward camera while one hand gently brushes her hair behind the ear, keeping the product unobstructed. The camera performs a smooth controlled arc from profile into a refined three-quarter portrait, subtly pulling back while maintaining crisp focus on the ear jewelry. Large translucent acrylic mobiles in cobalt, coral, and pale amber rotate slowly in the background; soft geometric reflections drift across the cream walls and a faint breeze moves loose strands of hair and sheer curtains. Warm directional afternoon light, clean editorial styling, realistic skin texture, elegant restrained movement, shallow depth of field, premium fashion-film finish, accurate anatomy and product continuity. No text, logos, interface elements, cuts, or additional people." \
width=1920 \
height=1080 \
duration=6 \
fps=25 \
providerSettings.minimax.promptOptimizer=true{
"taskType": "videoInference",
"taskUUID": "73a8673d-6265-4e5e-973c-ce2bf339372e",
"model": "minimax:3@1",
"positivePrompt": "A polished six-second luxury fashion product reel for sculptural hearing jewelry. In a sunlit Bauhaus-inspired salon, a poised silver-haired woman in a minimalist ivory high-neck dress wears a clearly visible cobalt-blue hearing device with a slender brushed-silver ear cuff and tiny coral enamel detail. Begin in an extreme close profile focused sharply on the device, revealing its premium materials and precise fit. She slowly lifts her chin and turns toward camera while one hand gently brushes her hair behind the ear, keeping the product unobstructed. The camera performs a smooth controlled arc from profile into a refined three-quarter portrait, subtly pulling back while maintaining crisp focus on the ear jewelry. Large translucent acrylic mobiles in cobalt, coral, and pale amber rotate slowly in the background; soft geometric reflections drift across the cream walls and a faint breeze moves loose strands of hair and sheer curtains. Warm directional afternoon light, clean editorial styling, realistic skin texture, elegant restrained movement, shallow depth of field, premium fashion-film finish, accurate anatomy and product continuity. No text, logos, interface elements, cuts, or additional people.",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 25,
"providerSettings": {
"minimax": {
"promptOptimizer": true
}
}
}Response
{
"taskType": "videoInference",
"taskUUID": "73a8673d-6265-4e5e-973c-ce2bf339372e",
"videoUUID": "743cb4ad-dfc2-4698-a1d7-49050bc9c9ff",
"videoURL": "https://vm.runware.ai/video/os/a07dlim3/ws/5/vi/743cb4ad-dfc2-4698-a1d7-49050bc9c9ff.mp4",
"seed": 1274062652,
"cost": 0.49
}text-to-video
Forensic Botany Docuseries Title Teaser$0.49~2m 52simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'minimax:3@1',
positivePrompt: 'A polished six-second title sequence for a premium forensic botany docuseries, presented as one continuous photorealistic shot. Inside a secure evidence greenhouse at night, a forensic botanist in a dark laboratory coat walks beside rows of sealed glass specimen cabinets, carrying a stainless-steel tray with a single pressed fern fragment. She stops beneath a scanning lamp and smoothly slides the tray into its illuminated cradle. The camera begins inches above wet leaves in extreme macro, then glides forward between foliage and rises into a precise over-the-shoulder composition as the tray enters the scanner. Ventilation fans stir leaves, condensation runs down glass, suspended pollen drifts through narrow beams of emerald and amber light, and the scanner casts a moving white line across the specimen. As the scan passes, fine veins and evidence markings resolve into the elegant engraved title VERDANT EVIDENCE on the dark tray surface. Hold the final centered title for readability while the botanist remains softly silhouetted behind it. Restrained prestige-documentary art direction, deep forest green, oxidized brass, charcoal black, clinical highlights, realistic optics, shallow depth of field, subtle film grain, controlled suspense, no additional words or logos.',
width: 1920,
height: 1080,
duration: 6,
fps: 25,
providerSettings: {
minimax: {
promptOptimizer: true
}
}
})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": "minimax:3@1",
"positivePrompt": "A polished six-second title sequence for a premium forensic botany docuseries, presented as one continuous photorealistic shot. Inside a secure evidence greenhouse at night, a forensic botanist in a dark laboratory coat walks beside rows of sealed glass specimen cabinets, carrying a stainless-steel tray with a single pressed fern fragment. She stops beneath a scanning lamp and smoothly slides the tray into its illuminated cradle. The camera begins inches above wet leaves in extreme macro, then glides forward between foliage and rises into a precise over-the-shoulder composition as the tray enters the scanner. Ventilation fans stir leaves, condensation runs down glass, suspended pollen drifts through narrow beams of emerald and amber light, and the scanner casts a moving white line across the specimen. As the scan passes, fine veins and evidence markings resolve into the elegant engraved title VERDANT EVIDENCE on the dark tray surface. Hold the final centered title for readability while the botanist remains softly silhouetted behind it. Restrained prestige-documentary art direction, deep forest green, oxidized brass, charcoal black, clinical highlights, realistic optics, shallow depth of field, subtle film grain, controlled suspense, no additional words or logos.",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 25,
"providerSettings": {
"minimax": {
"promptOptimizer": True
}
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "798e413e-4c6f-439f-b77d-ed1fcc0609c7",
"model": "minimax:3@1",
"positivePrompt": "A polished six-second title sequence for a premium forensic botany docuseries, presented as one continuous photorealistic shot. Inside a secure evidence greenhouse at night, a forensic botanist in a dark laboratory coat walks beside rows of sealed glass specimen cabinets, carrying a stainless-steel tray with a single pressed fern fragment. She stops beneath a scanning lamp and smoothly slides the tray into its illuminated cradle. The camera begins inches above wet leaves in extreme macro, then glides forward between foliage and rises into a precise over-the-shoulder composition as the tray enters the scanner. Ventilation fans stir leaves, condensation runs down glass, suspended pollen drifts through narrow beams of emerald and amber light, and the scanner casts a moving white line across the specimen. As the scan passes, fine veins and evidence markings resolve into the elegant engraved title VERDANT EVIDENCE on the dark tray surface. Hold the final centered title for readability while the botanist remains softly silhouetted behind it. Restrained prestige-documentary art direction, deep forest green, oxidized brass, charcoal black, clinical highlights, realistic optics, shallow depth of field, subtle film grain, controlled suspense, no additional words or logos.",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 25,
"providerSettings": {
"minimax": {
"promptOptimizer": true
}
}
}
]'runware run minimax:3@1 \
positivePrompt="A polished six-second title sequence for a premium forensic botany docuseries, presented as one continuous photorealistic shot. Inside a secure evidence greenhouse at night, a forensic botanist in a dark laboratory coat walks beside rows of sealed glass specimen cabinets, carrying a stainless-steel tray with a single pressed fern fragment. She stops beneath a scanning lamp and smoothly slides the tray into its illuminated cradle. The camera begins inches above wet leaves in extreme macro, then glides forward between foliage and rises into a precise over-the-shoulder composition as the tray enters the scanner. Ventilation fans stir leaves, condensation runs down glass, suspended pollen drifts through narrow beams of emerald and amber light, and the scanner casts a moving white line across the specimen. As the scan passes, fine veins and evidence markings resolve into the elegant engraved title VERDANT EVIDENCE on the dark tray surface. Hold the final centered title for readability while the botanist remains softly silhouetted behind it. Restrained prestige-documentary art direction, deep forest green, oxidized brass, charcoal black, clinical highlights, realistic optics, shallow depth of field, subtle film grain, controlled suspense, no additional words or logos." \
width=1920 \
height=1080 \
duration=6 \
fps=25 \
providerSettings.minimax.promptOptimizer=true{
"taskType": "videoInference",
"taskUUID": "798e413e-4c6f-439f-b77d-ed1fcc0609c7",
"model": "minimax:3@1",
"positivePrompt": "A polished six-second title sequence for a premium forensic botany docuseries, presented as one continuous photorealistic shot. Inside a secure evidence greenhouse at night, a forensic botanist in a dark laboratory coat walks beside rows of sealed glass specimen cabinets, carrying a stainless-steel tray with a single pressed fern fragment. She stops beneath a scanning lamp and smoothly slides the tray into its illuminated cradle. The camera begins inches above wet leaves in extreme macro, then glides forward between foliage and rises into a precise over-the-shoulder composition as the tray enters the scanner. Ventilation fans stir leaves, condensation runs down glass, suspended pollen drifts through narrow beams of emerald and amber light, and the scanner casts a moving white line across the specimen. As the scan passes, fine veins and evidence markings resolve into the elegant engraved title VERDANT EVIDENCE on the dark tray surface. Hold the final centered title for readability while the botanist remains softly silhouetted behind it. Restrained prestige-documentary art direction, deep forest green, oxidized brass, charcoal black, clinical highlights, realistic optics, shallow depth of field, subtle film grain, controlled suspense, no additional words or logos.",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 25,
"providerSettings": {
"minimax": {
"promptOptimizer": true
}
}
}Response
{
"taskType": "videoInference",
"taskUUID": "798e413e-4c6f-439f-b77d-ed1fcc0609c7",
"videoUUID": "fc60b644-5174-421b-b59d-0bf0d2b02186",
"videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/fc60b644-5174-421b-b59d-0bf0d2b02186.mp4",
"seed": 1651877920,
"cost": 0.49
}first-frame
Couture Beekeeping Suit Showcase Reel$0.56~4m 55simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'minimax:3@1',
positivePrompt: 'Continue naturally from the opening fashion photograph as a polished 10-second protective-workwear showcase. The beekeeper begins walking slowly toward camera along the glasshouse aisle while the camera performs a smooth low dolly backward and subtle clockwise arc, preserving her full silhouette and the suit’s ivory tailoring. Her canvas sleeves crease realistically, utility pockets shift with each step, leather gloves swing gently, and the fine veil catches amber highlights. A soft breeze moves the rosemary and lifts the veil’s outer fabric without exposing her face. Bees flow around her in believable loose spirals, passing near the lens with natural depth of field rather than forming patterns. Midway, she turns one shoulder toward the light and calmly raises a wooden honey frame, revealing brass fasteners, reinforced cuffs, and precise seam construction. Sunbeams slide across the mesh and warm honeycomb; tiny airborne pollen glows in the backlight. Finish in a confident three-quarter hero pose beside a pale hive as the camera eases closer to a waist-up product view, honey frame held at her side. Premium agricultural fashion editorial, restrained choreography, warm honey gold, sage and chalk palette, photorealistic fabric physics, cinematic 35mm lens, elegant continuous shot, no cuts, no captions, no logos.',
width: 1366,
height: 768,
duration: 10,
fps: 25,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/dd9c326a-6a09-4f3c-9f84-67831e674432.jpg',
frame: 'first'
}
]
}
})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": "minimax:3@1",
"positivePrompt": "Continue naturally from the opening fashion photograph as a polished 10-second protective-workwear showcase. The beekeeper begins walking slowly toward camera along the glasshouse aisle while the camera performs a smooth low dolly backward and subtle clockwise arc, preserving her full silhouette and the suit’s ivory tailoring. Her canvas sleeves crease realistically, utility pockets shift with each step, leather gloves swing gently, and the fine veil catches amber highlights. A soft breeze moves the rosemary and lifts the veil’s outer fabric without exposing her face. Bees flow around her in believable loose spirals, passing near the lens with natural depth of field rather than forming patterns. Midway, she turns one shoulder toward the light and calmly raises a wooden honey frame, revealing brass fasteners, reinforced cuffs, and precise seam construction. Sunbeams slide across the mesh and warm honeycomb; tiny airborne pollen glows in the backlight. Finish in a confident three-quarter hero pose beside a pale hive as the camera eases closer to a waist-up product view, honey frame held at her side. Premium agricultural fashion editorial, restrained choreography, warm honey gold, sage and chalk palette, photorealistic fabric physics, cinematic 35mm lens, elegant continuous shot, no cuts, no captions, no logos.",
"width": 1366,
"height": 768,
"duration": 10,
"fps": 25,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/dd9c326a-6a09-4f3c-9f84-67831e674432.jpg",
"frame": "first"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "4d6f9ff5-cf04-4d80-a3d4-d967916297dc",
"model": "minimax:3@1",
"positivePrompt": "Continue naturally from the opening fashion photograph as a polished 10-second protective-workwear showcase. The beekeeper begins walking slowly toward camera along the glasshouse aisle while the camera performs a smooth low dolly backward and subtle clockwise arc, preserving her full silhouette and the suit’s ivory tailoring. Her canvas sleeves crease realistically, utility pockets shift with each step, leather gloves swing gently, and the fine veil catches amber highlights. A soft breeze moves the rosemary and lifts the veil’s outer fabric without exposing her face. Bees flow around her in believable loose spirals, passing near the lens with natural depth of field rather than forming patterns. Midway, she turns one shoulder toward the light and calmly raises a wooden honey frame, revealing brass fasteners, reinforced cuffs, and precise seam construction. Sunbeams slide across the mesh and warm honeycomb; tiny airborne pollen glows in the backlight. Finish in a confident three-quarter hero pose beside a pale hive as the camera eases closer to a waist-up product view, honey frame held at her side. Premium agricultural fashion editorial, restrained choreography, warm honey gold, sage and chalk palette, photorealistic fabric physics, cinematic 35mm lens, elegant continuous shot, no cuts, no captions, no logos.",
"width": 1366,
"height": 768,
"duration": 10,
"fps": 25,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/dd9c326a-6a09-4f3c-9f84-67831e674432.jpg",
"frame": "first"
}
]
}
}
]'runware run minimax:3@1 \
positivePrompt="Continue naturally from the opening fashion photograph as a polished 10-second protective-workwear showcase. The beekeeper begins walking slowly toward camera along the glasshouse aisle while the camera performs a smooth low dolly backward and subtle clockwise arc, preserving her full silhouette and the suit’s ivory tailoring. Her canvas sleeves crease realistically, utility pockets shift with each step, leather gloves swing gently, and the fine veil catches amber highlights. A soft breeze moves the rosemary and lifts the veil’s outer fabric without exposing her face. Bees flow around her in believable loose spirals, passing near the lens with natural depth of field rather than forming patterns. Midway, she turns one shoulder toward the light and calmly raises a wooden honey frame, revealing brass fasteners, reinforced cuffs, and precise seam construction. Sunbeams slide across the mesh and warm honeycomb; tiny airborne pollen glows in the backlight. Finish in a confident three-quarter hero pose beside a pale hive as the camera eases closer to a waist-up product view, honey frame held at her side. Premium agricultural fashion editorial, restrained choreography, warm honey gold, sage and chalk palette, photorealistic fabric physics, cinematic 35mm lens, elegant continuous shot, no cuts, no captions, no logos." \
width=1366 \
height=768 \
duration=10 \
fps=25 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/dd9c326a-6a09-4f3c-9f84-67831e674432.jpg \
inputs.frameImages.0.frame=first{
"taskType": "videoInference",
"taskUUID": "4d6f9ff5-cf04-4d80-a3d4-d967916297dc",
"model": "minimax:3@1",
"positivePrompt": "Continue naturally from the opening fashion photograph as a polished 10-second protective-workwear showcase. The beekeeper begins walking slowly toward camera along the glasshouse aisle while the camera performs a smooth low dolly backward and subtle clockwise arc, preserving her full silhouette and the suit’s ivory tailoring. Her canvas sleeves crease realistically, utility pockets shift with each step, leather gloves swing gently, and the fine veil catches amber highlights. A soft breeze moves the rosemary and lifts the veil’s outer fabric without exposing her face. Bees flow around her in believable loose spirals, passing near the lens with natural depth of field rather than forming patterns. Midway, she turns one shoulder toward the light and calmly raises a wooden honey frame, revealing brass fasteners, reinforced cuffs, and precise seam construction. Sunbeams slide across the mesh and warm honeycomb; tiny airborne pollen glows in the backlight. Finish in a confident three-quarter hero pose beside a pale hive as the camera eases closer to a waist-up product view, honey frame held at her side. Premium agricultural fashion editorial, restrained choreography, warm honey gold, sage and chalk palette, photorealistic fabric physics, cinematic 35mm lens, elegant continuous shot, no cuts, no captions, no logos.",
"width": 1366,
"height": 768,
"duration": 10,
"fps": 25,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/dd9c326a-6a09-4f3c-9f84-67831e674432.jpg",
"frame": "first"
}
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "4d6f9ff5-cf04-4d80-a3d4-d967916297dc",
"videoUUID": "0f7ac524-9611-4b26-b87d-4e664fe2b2f6",
"videoURL": "https://vm.runware.ai/video/os/a10dlim3/ws/5/vi/0f7ac524-9611-4b26-b87d-4e664fe2b2f6.mp4",
"seed": 2054945336,
"cost": 0.56
}first-last-frame
Historic Stone Laser Cleaning Reel$0.28~1m 48simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'minimax:3@1',
positivePrompt: 'Create a polished six-second social media service ad connecting the supplied before and after frames. Maintain the exact limestone lion corbel, conservator, workbench, studio, lighting and composition throughout. Begin on the soot-blackened carving. The conservator steadily sweeps the handheld pulsed-laser wand from left to right across the lion\'s face and mane. A narrow scanning line travels with the wand; black contamination curls away as a delicate gray plume and tiny dry flakes, revealing pale honey limestone in a crisp advancing band. Show realistic hand movement, cable drag, airborne dust and progressive cleaning—no melting, fire, dramatic sparks or damage to the stone. The camera performs a subtle slow push-in with gentle parallax while keeping the lion\'s eyes sharp. Finish precisely on the clean endpoint with the wand at the right cheek and a few final soot particles settling onto the steel bench. Premium architectural-conservation cinematography, tactile macro detail, restrained charcoal, limestone cream and teal palette, credible workshop atmosphere, no captions, logos or interface graphics.',
width: 1366,
height: 768,
duration: 6,
fps: 25,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/c53fd008-1bc2-4741-8619-5051aaec6773.jpg',
frame: 'first'
},
{
image: 'https://assets.runware.ai/assets/inputs/5208e2d2-81a2-4b59-935a-a07dbb8a21ce.jpg',
frame: 'last'
}
]
}
})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": "minimax:3@1",
"positivePrompt": "Create a polished six-second social media service ad connecting the supplied before and after frames. Maintain the exact limestone lion corbel, conservator, workbench, studio, lighting and composition throughout. Begin on the soot-blackened carving. The conservator steadily sweeps the handheld pulsed-laser wand from left to right across the lion's face and mane. A narrow scanning line travels with the wand; black contamination curls away as a delicate gray plume and tiny dry flakes, revealing pale honey limestone in a crisp advancing band. Show realistic hand movement, cable drag, airborne dust and progressive cleaning—no melting, fire, dramatic sparks or damage to the stone. The camera performs a subtle slow push-in with gentle parallax while keeping the lion's eyes sharp. Finish precisely on the clean endpoint with the wand at the right cheek and a few final soot particles settling onto the steel bench. Premium architectural-conservation cinematography, tactile macro detail, restrained charcoal, limestone cream and teal palette, credible workshop atmosphere, no captions, logos or interface graphics.",
"width": 1366,
"height": 768,
"duration": 6,
"fps": 25,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/c53fd008-1bc2-4741-8619-5051aaec6773.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/5208e2d2-81a2-4b59-935a-a07dbb8a21ce.jpg",
"frame": "last"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "c281db32-1819-49de-9e10-78ac7eeeb86c",
"model": "minimax:3@1",
"positivePrompt": "Create a polished six-second social media service ad connecting the supplied before and after frames. Maintain the exact limestone lion corbel, conservator, workbench, studio, lighting and composition throughout. Begin on the soot-blackened carving. The conservator steadily sweeps the handheld pulsed-laser wand from left to right across the lion's face and mane. A narrow scanning line travels with the wand; black contamination curls away as a delicate gray plume and tiny dry flakes, revealing pale honey limestone in a crisp advancing band. Show realistic hand movement, cable drag, airborne dust and progressive cleaning—no melting, fire, dramatic sparks or damage to the stone. The camera performs a subtle slow push-in with gentle parallax while keeping the lion's eyes sharp. Finish precisely on the clean endpoint with the wand at the right cheek and a few final soot particles settling onto the steel bench. Premium architectural-conservation cinematography, tactile macro detail, restrained charcoal, limestone cream and teal palette, credible workshop atmosphere, no captions, logos or interface graphics.",
"width": 1366,
"height": 768,
"duration": 6,
"fps": 25,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/c53fd008-1bc2-4741-8619-5051aaec6773.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/5208e2d2-81a2-4b59-935a-a07dbb8a21ce.jpg",
"frame": "last"
}
]
}
}
]'runware run minimax:3@1 \
positivePrompt="Create a polished six-second social media service ad connecting the supplied before and after frames. Maintain the exact limestone lion corbel, conservator, workbench, studio, lighting and composition throughout. Begin on the soot-blackened carving. The conservator steadily sweeps the handheld pulsed-laser wand from left to right across the lion's face and mane. A narrow scanning line travels with the wand; black contamination curls away as a delicate gray plume and tiny dry flakes, revealing pale honey limestone in a crisp advancing band. Show realistic hand movement, cable drag, airborne dust and progressive cleaning—no melting, fire, dramatic sparks or damage to the stone. The camera performs a subtle slow push-in with gentle parallax while keeping the lion's eyes sharp. Finish precisely on the clean endpoint with the wand at the right cheek and a few final soot particles settling onto the steel bench. Premium architectural-conservation cinematography, tactile macro detail, restrained charcoal, limestone cream and teal palette, credible workshop atmosphere, no captions, logos or interface graphics." \
width=1366 \
height=768 \
duration=6 \
fps=25 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/c53fd008-1bc2-4741-8619-5051aaec6773.jpg \
inputs.frameImages.0.frame=first \
inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/5208e2d2-81a2-4b59-935a-a07dbb8a21ce.jpg \
inputs.frameImages.1.frame=last{
"taskType": "videoInference",
"taskUUID": "c281db32-1819-49de-9e10-78ac7eeeb86c",
"model": "minimax:3@1",
"positivePrompt": "Create a polished six-second social media service ad connecting the supplied before and after frames. Maintain the exact limestone lion corbel, conservator, workbench, studio, lighting and composition throughout. Begin on the soot-blackened carving. The conservator steadily sweeps the handheld pulsed-laser wand from left to right across the lion's face and mane. A narrow scanning line travels with the wand; black contamination curls away as a delicate gray plume and tiny dry flakes, revealing pale honey limestone in a crisp advancing band. Show realistic hand movement, cable drag, airborne dust and progressive cleaning—no melting, fire, dramatic sparks or damage to the stone. The camera performs a subtle slow push-in with gentle parallax while keeping the lion's eyes sharp. Finish precisely on the clean endpoint with the wand at the right cheek and a few final soot particles settling onto the steel bench. Premium architectural-conservation cinematography, tactile macro detail, restrained charcoal, limestone cream and teal palette, credible workshop atmosphere, no captions, logos or interface graphics.",
"width": 1366,
"height": 768,
"duration": 6,
"fps": 25,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/c53fd008-1bc2-4741-8619-5051aaec6773.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/5208e2d2-81a2-4b59-935a-a07dbb8a21ce.jpg",
"frame": "last"
}
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "c281db32-1819-49de-9e10-78ac7eeeb86c",
"videoUUID": "106acf4d-adaf-4ce2-868a-941b21503366",
"videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/106acf4d-adaf-4ce2-868a-941b21503366.mp4",
"seed": 1739205568,
"cost": 0.28
}