
Generates video from text, images, first and last frames, or up to seven references, with native audio, multi-shot cuts, and clip extension.
Generates video from text, images, first and last frames, or up to seven references, with native audio, multi-shot cuts, and clip extension.
pixverse-v6/v1/videos/generationspixverse/v6来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。
Pixverse v6 通过 POST /v1/videos/generations 运行。请求会立即返回 job_id;轮询 GET /v1/jobs/{job_id} 直到任务完成,再从结果中读取输出 URL。 在EmpirioLabs 控制台获取 API 密钥。
curl https://api.empiriolabs.ai/v1/videos/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "pixverse-v6",
"prompt": "Describe what you want Pixverse v6 to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/videos/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "pixverse-v6",
"prompt": "Describe what you want Pixverse v6 to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)EmpirioLabs 上 Pixverse v6 API 支持的请求参数。省略字段时使用默认值。
| 参数 | 类型 | 默认值 | 范围 / 值 | 描述 |
|---|---|---|---|---|
| prompt | string | - | - | Scene description, up to 2048 characters. In reference mode you can address a named reference inline as @name followed by a space. |
| mode | enum | auto | auto, t2v, i2v, transition, reference, extend | How your inputs are used. auto detects it from what you attach. t2v is text to video. i2v animates one image. transition interpolates between a first and last frame.... |
| resolution | enum | 720p | 360p, 540p, 720p, 1080p | Output resolution. Higher resolutions bill at a higher per-second rate. |
| aspect_ratio | enum | 16:9 | 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9 | Output aspect ratio. Used by text-to-video and reference modes. Image-driven modes follow the source image instead. |
| duration | number | 5 | 1 到 15 | Clip length in seconds. Ignored when a reference video is supplied, because the output length follows the longest reference. |
| generate_audio_switch | boolean | false | - | Generate native synchronized audio with the video. Bills at the higher with-audio rate for the chosen resolution. |
| generate_multi_clip_switch | boolean | false | - | Produce a multi-shot cut instead of one continuous take. Text-to-video and image-to-video only. |
| seed | number | - | 0 到 2147483647 | Reproducibility seed. The same seed with the same inputs returns a similar result. |
| reference_names | string | - | - | Comma-separated names for the attached reference images, in order, so the prompt can address them as @name. |
| video_reference_names | string | - | - | Comma-separated names for the attached reference videos, in order. Supplying reference videos switches the model into omni reference and bills at the video-reference... |
| image | string | - | - | Source or first-frame image URL. |
| image_end | string | - | - | Last-frame image URL for transition mode. |
| video | string | - | - | Source video URL for extend, or a reference video URL for reference mode. |
PixVerse V6 generates video from a text prompt, a single image, a first and last frame, or up to seven reference images, and can continue an existing clip.
在 EmpirioLabs,Pixverse v6 按量计费:Standard 360p no audio $0.10 per second; Standard 360p with audio $0.14 per second; Standard 540p no audio $0.14 per second。本页的实时价格表始终与 API 的实际计费一致。
Pixverse v6 通过 api.empiriolabs.ai 上的 POST /v1/videos/generations 提供,使用标准的 Bearer 令牌认证。
可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Pixverse v6,你可以在写代码之前先测试提示词。
创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。