PixVerse V7 API 面向产品广告、社交短片和多镜头叙事。一次请求可预览文字、图片、首尾帧、多图参考、视频续写与原生音频配置。长视频目标为单次生成最长 60 秒。
暂无生成记录。
从场景开头、商品展示到品牌收尾,把分镜、节奏和音效整理进同一份 API 请求,让团队按镜头顺序评审。
复制文生视频或首尾帧转场的请求草稿。
按任务选择纯文字、单图、首尾帧、多图参考或上一段任务 ID。
填写主体与动作,再选择时长、分辨率和有声配置。
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "pixverse-v7",
"prompt": "工作室里的陶瓷台灯亮起。画面先交代房间,再切换到开关细节,最后停在温暖灯光照亮桌面的画面。",
"duration": 60,
"resolution": "720p",
"size": "16:9",
"audio": true,
"generate_multi_clip_switch": true
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "pixverse-v7",
"prompt": "工作室里的陶瓷台灯亮起。画面先交代房间,再切换到开关细节,最后停在温暖灯光照亮桌面的画面。",
"duration": 60,
"resolution": "720p",
"size": "16:9",
"audio": True,
"generate_multi_clip_switch": True
}
resp = requests.post(f"{API_BASE}/v1/videos/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "pixverse-v7",
"prompt": "镜头缓慢推进,商品由首帧构图过渡到尾帧画面。",
"first_frame_image": "https://example.com/first-frame.jpg",
"last_frame_image": "https://example.com/last-frame.jpg",
"duration": 5,
"resolution": "720p"
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
model | string | 是 | 默认值: pixverse-v7 | pixverse-v7 |
prompt | string | 是 | 默认值: — | 最多 5000 字符,所有模式必填。 |
resolution | string | 否 | 默认值: 540p | 360p、540p、720p 或 1080p。 |
duration | integer | 否 | 默认值: 5 | 工作台可预览 1 至 60 秒,首尾帧模式选 5 或 8 秒。 |
size | string | 否 | 默认值: 16:9 | 16:9、4:3、1:1、3:4、9:16、2:3、3:2 或 21:9,用于文生和参考融合模式。 |
audio | boolean | 否 | 默认值: false | 设为 true 时请求原生音频。 |
generate_multi_clip_switch | boolean | 否 | 默认值: false | 为 true 时返回多镜头连续视频,仅文生和图生支持。 |
image_urls | string[] | 否 | 默认值: — | 图生视频:公开图片 URL,只取第一张。 |
first_frame_image | string | 否 | 默认值: — | 首尾帧:首帧 URL,需与 last_frame_image 同传。 |
last_frame_image | string | 否 | 默认值: — | 首尾帧:尾帧 URL,需与 first_frame_image 同传。 |
img_references | string[] | 否 | 默认值: — | 多图参考融合:1–7 个公开图片 URL。 |
extend_from_task_id | string | 否 | 默认值: — | 续写时填写已完成的任务 ID。 |
negative_prompt | string | 否 | 默认值: — | 描述要避开的细节,与提示词合计不超过 5000 字符。 |
seed | integer | 否 | 默认值: 0 | 0–2147483647,相同提示词和 seed 结果相似。 |
watermark | boolean | 否 | 默认值: false | 为 true 时在右下角添加水印。 |
nsfw_check | boolean | 否 | 默认值: false | 设为 true 时请求审核提示词和输入图片。 |
按镜头的输入和时长选择合适的 API 配置。
用 PixVerse V7 的 60 秒 API 草稿为开场、展示和结尾分别留出空间。
在 API 提示词里交代主体、环境、动作和运镜方向,让文字可以直接用来组织分镜。
将商品照片设为 API 的起始画面,再写清要旋转商品还是移动镜头。
用 PixVerse V7 API 的首帧和尾帧字段分别固定转场起点和构图落点。
把商品角度图、场景图和风格图放入同一份 API 草稿,并说明各张图的作用。
把已完成的任务 ID 和描述接续动作的提示词写入续写 API 草稿。
文生和图生模式都可预览多镜头设置,按远景、细节和收尾组织画面。
在 API 配置中打开音频,为对白、环境声或动作音效指定出现时机。
先确定观众应该看到什么,再安排素材、镜头和声音。
用 PixVerse V7 API 规划产品广告的开场、实际使用过程和结束商品特写。
保存两份 API 草稿对比不同开场,再决定同一广告卖点的最佳呈现顺序。
把远景、特写和结束构图写进 API 草稿,用于评审镜头衔接。
用现有商品图作为图生视频 API 的输入,搭配慢速运镜展示材质和轮廓。
让预告片从氛围画面起步,用尾帧固定最终品牌主视觉。
在续写配置中引用上一段的任务 ID,用接续动作或运镜提示推进故事。
在工作台整理配置并保留 JSON 草稿。
按任务选择纯文字、单图、首尾帧、多图参考或上一段任务 ID。
填写主体与动作,再选择时长、分辨率和有声配置。
把工作台生成的请求草稿与分镜方案一同保存。
查看型号 ID、时长、参考图与音频的配置方法。
可以,工作台允许设置 60 秒 API 请求。单次最长 60 秒是长视频的预览目标。
在 API 草稿的 model 字段填写 pixverse-v7。可以只写提示词,也可以按生成方式加上参考素材。
用 PixVerse V7 API 的一对帧图规定转场起点和落点,例如最终停在指定的商品构图上。
先放清晰的主体图,再补角度、背景或风格参照,并在 API 提示词中明确各自的用途。
按顺序写下每个镜头的景别、动作和运镜,让开场、细节与收尾各有任务。
当对白、环境声或动作音效影响叙事时开启,并标明声音应何时出现。
需要一条已完成任务的 ID,以及描述该片段结束之后发生什么的提示词。
PixVerse V7 即将接入 APIMart。可以先保存 API 草稿,提前准备接入需要的提示词和素材。
探索同类型的其他模型。

MiniMax H3 Lite
MiniMax-H3-Lite is a cost-effective native multimodal video generation model supporting 480P/768P text-to-video, first/last frame image-to-video, and multimodal reference generation (4-15s).

Magi 2
Magi 2 brings your stories to life through motion. From quiet, atmospheric moments to bold cinematic sequences, explore visual ideas and shape scenes that capture the mood, express emotion, and draw viewers into your world.

Seedance 2.5 Flash
Seedance 2.5 Flash turns creative ideas into visual stories. From cinematic scenes to playful animations, explore movement, mood, and composition to create videos that draw viewers in and bring your imagination to the screen.

APIMart Zoe
apimart-zoe creates 4–30 second videos, or lets the model choose the length, at 480p, 720p, 1080p, 2K or 4K in seven aspect ratios from 21:9 to 9:16. It can work from a text prompt, from first and last frames, or from up to 30 reference images, 10 reference videos and 10 reference audio clips. It can also edit an existing video, changing its style or elements while keeping the original length and framing. Audio can be generated together with the video. A two-step workflow lets you preview a shot as a low-cost 480p draft and then render the approved draft as a 1080p final within 24 hours. Billing is per second of output, with a separate rate for requests that include reference videos.