Video
Video from text, image, references, and editing of an existing clip. Generation takes time, cost is calculated per second of output.
Endpoints
POST
https://api.neuralbridge.ru/v1/videos/generationsprimaryVideos — generations — Generate video from a text description.
POST
https://api.neuralbridge.ru/v1/video/generationsVideos — generations (legacy path) — The early singular path for video generation. Still accepted, but use /v1/videos/generations in new integrations.
Parameters
The set depends on the model: on the right — how many models out of 3 accept the parameter. Default and allowed values on the model page.
duration3 of 3Length in seconds: of the clip for video, of the track for music. Also affects the price.
prompt3 of 3The request text: what you want to get. For video: the scene, camera movement and light; for music: genre, mood, instruments, tempo. The length limit depends on the model.
resolution2 of 3Video resolution, for example 720P or 1080P. Also affects the price.
aspect_ratio2 of 3Aspect ratio of the result, for example 16:9, 9:16 or 1:1.
media2 of 3A list of files {type, url}: first_frame, last_frame, reference_image, reference_video (https only), reference_audio.
reference_images2 of 3How many reference images can be passed.
reference_videos2 of 3How many videos can be passed (30 s in total at most).
reference_audios2 of 3How many audio clips can be passed (30 s in total at most).
reference_image_side2 of 3Image width and height, pixels.
reference_image_aspect2 of 3Width divided by height.
reference_image_mb2 of 3Megabytes per image.
reference_video_seconds2 of 3Seconds in one reference video.
reference_videos_total_seconds2 of 3Seconds in all reference videos together.
reference_video_fps2 of 3Frames per second in the input video.
reference_video_side2 of 3Video width and height, pixels.
reference_video_aspect2 of 3Width divided by height.
reference_video_mb2 of 3Megabytes per video.
reference_audio_seconds2 of 3Seconds in one reference audio clip.
reference_audios_total_seconds2 of 3Seconds in all audio clips together.
reference_audio_mb2 of 3Megabytes per audio clip.
seed2 of 3Pins randomness: repeating a request with the same seed and parameters returns the same result.
t2v_aspect_ratio1 of 3Aspect ratio when the request has no images or files (adaptive is not allowed here).
last_frame_alone1 of 3A last frame can be passed without a first one: the video ends on that image.
media_labels1 of 3How the model reads references to files in the prompt; {n} is the file number within its kind, in order.
input_video_billed1 of 3Seconds of input video are billed at the same rate as seconds of the result.
reference_files1 of 3How many images, videos and audio clips can be passed together.
ratio1 of 3Frame size in pixels, width:height, for example 1280:720 (landscape) or 720:1280 (portrait). Allowed values depend on the model.
public_figure_threshold1 of 3How strictly the video is checked for recognizable public figures: auto is the standard level, low is less strict.
generate_audio1 of 3true makes the model generate sound with the video: speech, music, effects. false gives a silent video.
watermark1 of 3Add a visible watermark to the result. Some models enable it by default — pass false to get a clean result.
use_virtual_avatar1 of 3true treats images with faces as AI characters (not real people); otherwise the model rejects files with faces.
output_format1 of 3Codec, sample rate and bitrate: for example mp3_44100_128 is MP3, 44.1 kHz, 128 kbit/s; opus_48000_96 is Opus in an Ogg container. auto is the model default.
task_type1 of 3auto lets the model decide; reference makes a new video from the files; edit edits a video (duration -1, adaptive frame); extend continues a video (adaptive frame).
edit_video_seconds1 of 3Seconds in the video the model edits.
reference_video_pixels1 of 3Width × height of an input video frame.
Request example
Models minimax/h3-08130. For another model, insert its identifier from the table below.
bash
curl https://api.neuralbridge.ru/v1/videos/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "minimax/h3-08130", "prompt": "Дрон летит над осенним лесом", "resolution": "1080P", "duration": 5}'3 models
MiniMax H3MiniMax
minimax/h3-08130MiniMax video model: clips with sound of 4–15 seconds in 768p and 2K from text, from first and last frames and from references — up to 9 images, 3 videos and 3 audio clips.
Runway Gen-4.5Runway
runwayml/gen-4.5-08130Runway video model: cinematic clips of 2–10 seconds from text or from an image, six frame sizes, repeatable results with seed.
Seedance 2.5ByteDance
bytedance/seedance-2.5-08130ByteDance video model: clips with sound up to 30 seconds from text, from first and last frames and from references (up to 30 images, 10 videos and 10 audio clips), plus editing and extending a finished video.