Quote a video job. Pass API fields such as model, mode, duration_seconds, resolution, fps,
camera_motion, auto_duration (LTX-2.5), smart_duration (or duration_seconds=-1 for wan3.0
video-edit source-length lock), extend_seconds / extend_direction ("continue"|"prequel"),
shot_mode ("auto"|"single"|"multi"), prompt_extend, input_video_seconds, input_audio_seconds,
quality_mode ("standard"|"pro" for wan2.2-animate-move / wan2.2-animate-mix),
quality ("speed"|"precision"), enable_dynamic_duration, start_time, end_time,
or audio_duration_seconds (for mode="a2v" on ltx-2.5-fast / ltx-2.5-pro).
Billing notes for HeyGen models: estimate_video takes numeric durations only — pass input_audio_seconds
(or audio_duration_seconds; 2-180 s for Avatar 6, 2-300 s for heygen-lipsync-v3) and input_video_seconds
(3-300 s for heygen-lipsync-v3; 3-480 s for heygen-translate); pass media file URLs in create_video.
heygen-avatar-6-turbo (6 RUB/s at 1080p, 10.50 RUB/s at 2k) and heygen-avatar-6 (12 RUB/s at 1080p,
17.40 RUB/s at 2k) bill ceil(audio_seconds) upfront. heygen-lipsync-v3 and heygen-translate charge 6 RUB/s
at quality="speed" (default) or 12 RUB/s at quality="precision"; when enable_dynamic_duration=true, cost_rub
quotes a 1.25x hold and unused seconds are refunded automatically on completion.
Billing notes for Wan models: wan3.0 bills input_video_seconds + output (total <= 30 s,
smart_duration edit bills 2x source length; audio does not change price); wan2.7-r2v caps
billed input video at 5 s total; wan2.2-animate-move / wan2.2-animate-mix do not bill input
video (output seconds only, 720p silent).
Runway models:
- gen4-turbo: mode="i2v", 2-10 s (default 5), 720p, silent (with_audio=false), optional prompt.
- aleph-2.0: mode="edit" on 2-30 s source clip (pass input_video_seconds 2-30; min 2 s billed), optional
keyframes (1-5 edited stills with uri + at/seconds and optional uniform range), optional target_aspect_ratio.
- runway-act-two: mode="edit", driving clip 3-30 s (pass input_video_seconds 3-30 in estimate; omit for
30 s upper bound), optional body_control and expression_intensity (1-5).
- runway-gwm1-avatar: modes="a2v"|"t2v", avatar_type ("custom"|"runway-preset"), optional preset_id (9 presets),
speech_mode ("audio"|"text"), audio_duration_seconds 1-300 (exact price) or text 1-5000
+ voice_preset_id (30 voices; cost_is_upper_bound=true, settled on exact Runway credits).
For minimax-relight use estimate_video_relight; for minimax-camera-controls use estimate_video_camera;
for lightx-recamera / lightx-relight use estimate_lightx_recamera / estimate_lightx_relight;
for ltx-2.5-alpha-gen use estimate_video_alpha_gen;
for ruby HDR use estimate_video_hdr; for enhance-frame-rate use estimate_video_enhance_frame_rate;
for topaz/flux/runway/ltx25 video upscale use estimate_video_upscale.
Not for higgsfield-* models: use estimate_higgsfield_cinema / estimate_higgsfield_genjutsu /
estimate_higgsfield_restyle / estimate_higgsfield_wan_prime.