Beta Maestro Videos API
https://api.yxai-tech.top/maestro/videos
API de génération de vidéos Maestro
En-têtes de demande
authorizationstring
Bearer token
Corps de la demande
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.
Veuillez sélectionner
aspectstring
Required output aspect ratio. All videos render at 1080p/30fps.
Veuillez sélectionner
promptstringParamètre requis
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.
Veuillez sélectionner
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).
Réponse

Integration workbench
Remarque : pour les requêtes en streaming, le code ci-dessus peut ne pas être entièrement applicable. Veuillez consulter la documentation d'intégration pour les modifications.
Maestro AI maître de vidéo
Autoriser l'utilisation du solde général
Une fois que « Autoriser le solde général » est activé, le solde dédié sera automatiquement complété par le solde général en cas d'insuffisance.

