Beta Maestro Videos API
https://api.yxai-tech.top/maestro/videos
مايسترو واجهة برمجة تطبيقات توليد الفيديو
رؤوس الطلب
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
ملاحظة: بالنسبة للطلبات المتدفقة، قد لا يكون الكود أعلاه مناسبًا تمامًا. يرجى الرجوع إلى وثائق التكامل لإجراء التعديلات.
مايسترو AI فيديو ماستر
السماح باستخدام الرصيد العام
عند تفعيل "السماح بالرصيد العام"، سيتم استخدام الرصيد العام تلقائيًا عند نفاد رصيد المثيل.

