Skip to main content
POST
MiniMax H3 Max 480p reference-to-video - Create video

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Body

application/json
prompt
string
required

Text prompt describing the video to generate. Mention references as @Image1, @Image2, ... @Video1, @Video2, ... or @Audio1, @Audio2, ... matching their 1-indexed array order.

Required string length: 1 - 50000
Example:

"@Image1 walks slowly across a sunlit room, handheld camera"

webhook_url
string<uri>

URL to receive a webhook notification when the video generation task completes. The webhook payload includes the task ID and status.

reference_images
string<byte>[]

Up to 9 reference images that steer the subject and style. Each item is a publicly accessible URL or a base64-encoded image. Reference them in the prompt using @Image1, @Image2, ... @Image9 (1-indexed to the array order). Reference images, videos and audios together must also not exceed 12 files.

Maximum array length: 9
Example:
reference_videos
string[]

Up to 3 reference videos that steer the motion. Each item must be a publicly accessible HTTPS URL or a video upload file_id (upl_vid_...). Reference them in the prompt using @Video1, @Video2 or @Video3. Each video must be 2 to 15 seconds and their combined duration must not exceed 15 seconds. Reference images, videos and audios together must also not exceed 12 files.

Maximum array length: 3
Example:
reference_audios
string[]

Up to 3 reference audios. Each item must be a publicly accessible HTTPS URL — unlike reference_videos, this field does not take upload file_ids. Reference them in the prompt using @Audio1, @Audio2 or @Audio3. Each audio must be 2 to 15 seconds and their combined duration must not exceed 15 seconds. Audio cannot be the only reference: at least one reference_images or reference_videos entry is required alongside it. Reference images, videos and audios together must also not exceed 12 files.

Maximum array length: 3
Example:
duration
integer
default:5

Video duration in seconds. Any integer from 5 to 15.

Required range: 5 <= x <= 15
Example:

5

aspect_ratio
enum<string>
default:adaptive

Output video aspect ratio. Available options:

  • adaptive: the model picks it from the reference assets
  • film_horizontal_21_9: Ultra-wide cinematic (21:9)
  • widescreen_16_9: Standard widescreen (16:9)
  • classic_4_3: Classic TV format (4:3)
  • square_1_1: Square format (1:1)
  • traditional_3_4: Portrait classic (3:4)
  • social_story_9_16: Vertical/social media story (9:16)
Available options:
adaptive,
film_horizontal_21_9,
widescreen_16_9,
classic_4_3,
square_1_1,
traditional_3_4,
social_story_9_16
prompt_expansion_mode
enum<string>
default:balanced

Which prompt expander runs before the generation. disabled sends the prompt verbatim; fast, balanced and quality trade latency for richer prompt rewriting.

Available options:
disabled,
fast,
balanced,
quality
enable_safety_checker
boolean
default:true

Enable content safety filtering to ensure generated videos comply with safety guidelines.

seed
integer
default:-1

Random seed for reproducible video generation. Use the same seed with the same prompt to get consistent results. Use -1 for a random seed.

Required range: -1 <= x <= 4294967295

Response

OK - The task exists and the status is returned

data
object
required
Example: