Beta Maestro Videos API
POSThttps://api.yxai-tech.top/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).

响应

集成指南

Shell

Python

JavaScript

Java

Go

PHP

温馨提示:对于流式请求,上面的代码可能不完全适用。请参阅对接文档以进行更改。

Maestro AI 视频大师
允许用通用余额

启用「允许通用余额」后,专属余额不足将自动使用通用余额。