跳转到主要内容
POST
异步生成 Muse Video。使用统一入口 POST /v1/videos。成功返回 task_id,用 查询视频任务 轮询,完成后从 result.video_url 取片。 成片为原生 720p。计费方式为 per_task(按次)。时长不乘价,但决定落到哪一档计费模型。实际单价以 模型目录 与创建响应中的 cost 为准。

按时长选择模型

传入 duration 或 seconds(1~60)。系统按秒数选择计费模型,并在创建响应的 model 中返回该档。请求里写了别的档,仍以秒数为准。 超过 60 秒会被拒绝。例如请求 muse-video 且 duration 为 25,计费模型是 muse-video-30s;请求 muse-video-60s 且 duration 为 8,计费模型是 muse-video。

模式

首尾帧可以和参考图一起用。尾帧必须同时有首帧。首尾帧与参考图合计张数:落到 muse-video 时最多 10 张,落到 20~60 秒档时最多 9 张。不支持参考视频和参考音频。

请求参数

参考素材须为公网 https:// 直链,或 data URL。

示例

文生视频(8 秒,计费 muse-video)

25 秒(计费 muse-video-30s)

首尾帧与参考图

未传 duration 时,muse-video-20s 按 20 秒计费。 成功响应示例:
data.model 是按时长落到的计费档。

轮询

状态说明见 查询视频任务。完成后读取 data.result.video_url(请及时转存)。

授权

Authorization
string
header
必填

控制台创建的 API Key,格式:Bearer sk_xxx

请求体

application/json
model
string
必填

omni-10s, veo3.1-fast, veo3.1-lite, veo3.1-lite-hd, grok-imagine-video-1.5 (and fast/lite), minimax-h3, minimax-h3-max, kling-4.0 / kling-4.0-720p / kling-4.0-1080p, sd2.5-480p / sd2.5-720p / sd2.5-1080p, seedance2.0-md, sd2-480p-ac, sd2-720p-ac, sd2-720p-dl, sd2-720p-db, sd2.0-mini-720p, seedance2.5-30s, sd2.5-720p-ac, sd2.5-720p-933-ac, wan3-720p / wan3-1080p, wan3.0-prime-720p / wan3.0-prime-1080p, wan3-480p-20s-ac, or muse-video / muse-video-20s / muse-video-30s / muse-video-40s / muse-video-50s / muse-video-60s

示例:

"omni-10s"

prompt
string
必填
duration

omni-10s: fixed 10; seedance2.0-md: 5/10/15; sd2-*-ac: 4–15; sd2-720p-dl: fixed 15; sd2-720p-db: 5/10/15; sd2.0-mini-720p: 4–15; sd2.5-480p / sd2.5-720p / sd2.5-1080p: 5–30; seedance2.5-30s: fixed 30; sd2.5-720p-ac and sd2.5-720p-933-ac: 4–30; wan3-720p / wan3-1080p: 10–30; wan3.0-prime-720p: 10–30; wan3.0-prime-1080p: 8–30; wan3-480p-20s-ac: 5–20; Muse Video: 1–60, billed as muse-video (1–10, default 5s when omitted) or muse-video-20s through muse-video-60s

seconds

Alias of duration

aspect_ratio
string
ratio
string

Alias of aspect_ratio

orientation
string

portrait/landscape may imply aspect ratio

size
string
resolution
string

omni-10s is fixed at 720p. Muse Video supports 720p only

first_image
string<uri>

First-frame URL. Used by omni-10s and Muse Video

last_image
string<uri>

Last-frame URL; use with first_image. Muse Video also requires a first frame

images
string<uri>[]
reference_images
string<uri>[]
videos
string<uri>[]
reference_videos
string<uri>[]
reference_video_durations
integer[]

Required with reference videos for kling-4.0; same length as videos; seconds 1–30. Billable seconds = output duration + sum of these values.

必填范围: 1 <= x <= 30
reference_audio_durations
integer[]

Required with reference audios for kling-4.0; same length as audios; seconds 5–30 (validation only, not billed).

必填范围: 5 <= x <= 30
audios
string<uri>[]
reference_audios
string<uri>[]
first_image_url
string<uri>

Alias of first_image. Accepted by Muse Video

last_image_url
string<uri>

Alias of last_image. Muse Video requires a first frame as well

image_urls
string<uri>[]

Reference image URLs. Muse Video: frames plus references, up to 10 on the 10s tier and 9 on the 20–60s tiers

reference_image_urls
string<uri>[]

Alias of images

camera_movement
string

Muse Video camera move, free text, up to 1000 characters

style
string

Muse Video style, free text, up to 1000 characters

negative_prompt
string

Muse Video negative prompt, separate from prompt, up to 1000 characters

smart_queue
boolean
默认值:false

When true, a very low recent success rate keeps the task queued until recovery (up to about 2 hours)

响应

200 - application/json

Submitted

code
integer
示例:

20000

msg
string
data
object
最后修改于 2026年11月13日