Beta Maestro Videos API
POSThttps://api.01ai.cloud/maestro/videos

Maestro API для генерации видео

Заголовки запроса

authorizationstring
Bearer token

Тело запроса

langsarray
Exactly one output language per task. Defaults to zh-cn. The same per-second rate applies to every language.
stylestring
Optional visual-style preset — expressed through typography, palette, motion, image treatment and pacing. Orthogonal to `scenario` (it does NOT change routing). `auto` (default) lets the director pick; every other value adopts a real named look: `cinematic` = dark film-noir (black + blood-red, Oswald); `glass` = Apple / iOS-26 frosted liquid glass; `luxury` = timeless near-black + indigo, huge whitespace; `swiss` = precise grid + electric blue + oversized numerals; `modern` = clean light SaaS; `editorial` = cream magazine + serif; `warm` = intimate cream + amber; `vibrant` = festive folk colour; `neon` = electric neon glow; `mono` = grayscale, type-led; `pastel` = soft candy pastels; `bold` = huge poster type; `industrial` = raw glitch + rust; `futuristic` = particle glow. A freeform string is also accepted as a soft hint.
voicestring
Optional narration voice — the **timbre** of the voiceover, independent of language. `auto` (default) lets the director pick a fitting voice. Every preset can speak the language selected in `langs`, so choose purely by character — `warm-female`, `bright-female`, `anchor-female`, `clean-female`, `calm-male`, `deep-male`, `documentary-male`, `energetic-male`, `storyteller-male`. Advanced: a raw 32-character Fish `reference_id` is also accepted. For `drama` / `avatar` this sets the primary / narrator timbre; distinct characters may still get their own.
actionstring
Production action. generate creates a new video; remix/edit/extend require ref_task_id.
Пожалуйста, выберите
aspectstring
Required output aspect ratio. All videos render at 1080p/30fps.
Пожалуйста, выберите
promptstringОбязательный параметр
Natural-language brief describing the video to produce (the topic, what to show, tone, audience). The agent decides the script, visuals, voiceover and edit.
durationinteger
Target video length in seconds, from 5 to 300. Successful jobs are billed by actual delivered duration, never above the requested duration.
scenariostring
Production route: auto, narrated, captions, avatar, or drama. captions requires source video in file_urls; avatar requires a portrait. All routes use the same per-second rate.
Пожалуйста, выберите
file_urlsarray
Optional reference media (image / video / audio URLs) the agent can use — e.g. a product shot or logo to feature, footage to caption.
ref_task_idstring
Required when `action` is remix / edit / extend: the task_id of the previous video to start from.
callback_urlstring
Optional. Fired with the result when the task reaches a terminal state (succeeded / failed).

Ответ

Integration workbench

Shell

Python

JavaScript

Java

Go

PHP

Обратите внимание: для потоковых запросов приведенный выше код может не полностью подойти. Пожалуйста, обратитесь к документации по интеграции для внесения изменений.

Maestro AI Видео Мастер
Разрешить использование общего баланса

После включения «Разрешить общий баланс» недостаток выделенного баланса будет автоматически покрыт за счет общего баланса.