Skip to content

🎬 视频模型 pixverse

  • 2025.05.15 已支持 v4.5 版本 价格是基础价格的 2/3
  • 2025.04.24 已支持 v4 版本
  • 2025.01.06 本站已经支持 视频模型 pixverse
  • 支持 文生视频 图生视频
  • 计费是按次数,一次一个视频 涉及到版本、时长、模式、像素
  • 如何使用 访问 https://pixverse.ddaiai.com 看下面的 在线测试

在线测试


1.访问 https://pixverse.ddaiai.com (如果被墙了,换下二级域名前缀 suibian)
2.如果发现被墙了 可以自己换地址 https://suibian.ddaiai.comsuibian 换其他的 如 https://2025.ddaiai.com 都能访问

在线测试

计费

  • 1.以 v3.5 360p 时长 5s 模式 normal 为基数
  • 2.支持 v3.5 v4 v4.5 , 不支持弃用版本 v2.5 v3
  • 3.时长 8s 是 2 倍
  • 4.像素质量 540P 1.5 倍 、 720P 2 倍 、1080P 4 倍
  • 5.模式 performance 2 倍
  • 6.倍数是相乘的 比如 720P 时长 8s 那就是 2*2 是 4 倍,如果再加 performance 就是 8 倍
  • 7.v4.5版本 价格是基础价格的2/3倍(0.667)

Pixverse API

  • 1.生成任务
  • 2.查询任务状态

1.生成任务

post https://api.openai-hk.com/pixverse/generate

shell
curl --request POST \
  --url https://api.openai-hk.com/pixverse/generate  \
  --header 'Authorization: Bearer hk-your-key' \
  --header 'Content-Type: application/json' \
  --data '{
    "prompt": "火气",
    "model": "v3.5",
    "quality": "360p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "motion_mode": "normal",
    "seed": 648043228
}'
curl --request POST \
  --url https://api.openai-hk.com/pixverse/generate  \
  --header 'Authorization: Bearer hk-your-key' \
  --header 'Content-Type: application/json' \
  --data '{
    "prompt": "火气",
    "model": "v3.5",
    "quality": "360p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "motion_mode": "normal",
    "seed": 648043228
}'

请求体

json
{
  "prompt": "火气",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228
  //"img_url":"https://www.openai-hk.com/res/img/open.png"
  //"frame":["https://media.pixverse.ai/upload%2F880f121b-4036-4ff5-a153-58aff9417d05.jpg","https://media.pixverse.ai/upload%2Fd1c8f8b5-6f6f-42bc-a954-11a7582e63d0.jpg"],
  //"extend": 1,
  //"original_video_id": 314958906984512,
  //"style":"cyberpunk",
  //"template_id": 313359209531840,
  //"asset_id": 315445121042560,
  //"camera_movement": "vertical_down",
  // "fusion": [ "https://media.pixverse.ai/asset/media/fusion4_1.jpg",  "https://media.pixverse.ai/asset/media/fusion4_2.png"],
}
{
  "prompt": "火气",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228
  //"img_url":"https://www.openai-hk.com/res/img/open.png"
  //"frame":["https://media.pixverse.ai/upload%2F880f121b-4036-4ff5-a153-58aff9417d05.jpg","https://media.pixverse.ai/upload%2Fd1c8f8b5-6f6f-42bc-a954-11a7582e63d0.jpg"],
  //"extend": 1,
  //"original_video_id": 314958906984512,
  //"style":"cyberpunk",
  //"template_id": 313359209531840,
  //"asset_id": 315445121042560,
  //"camera_movement": "vertical_down",
  // "fusion": [ "https://media.pixverse.ai/asset/media/fusion4_1.jpg",  "https://media.pixverse.ai/asset/media/fusion4_2.png"],
}

关键字段说明

字段类型说明
promptstring生成视频的提示词
modelstring模型支持 v4.5 v4 v3.5
qualitystring模式支持 360p 540p 720p 1080p
durationnumber视频时长 5 8
aspect_ratiostring视频宽高比
motion_modestring视频运动模式 normal performance
seednumber随机种子
img_urlstring图片地址 支持 url 和 base64
framestring[]视频帧图片地址 支持 url 和 base64 必须是 2 张图
extendnumber扩展时长 0 不扩展 1 扩展
original_video_idnumber原始视频 id
stylestring风格 可选 cyberpunk anime comic clay 3d_animation
template_idnumber模版 id 模版参考 ID
asset_idnumber自创建角色 id
camera_movementstring运镜
fusionstring[]多主体,主体图片地址 支持 url base64(最多 2 张图 )

返回体 得到 video_id

json
{
  "ErrCode": 0,
  "ErrMsg": "success",
  "Resp": {
    "video_id": 314985220084864
  }
}
{
  "ErrCode": 0,
  "ErrMsg": "success",
  "Resp": {
    "video_id": 314985220084864
  }
}

2.查询任务

get https://api.openai-hk.com/pixverse/feed/315326452915648

返回体

json
{
  "ErrCode": 0,
  "ErrMsg": "success",
  "Resp": {
    "video_id": 315326452915648,
    "video_status": 1,
    "account_id": 314797200646848,
    "created_at": "2025-01-05T15:19:09Z",
    "first_frame": "https://media.pixverse.ai/pixverse%2Fjpg%2Fmedia%2Fa056c76c-48ab-4cca-a4fd-90e01e2b37ad.jpg",
    "output_width": 640,
    "output_height": 352,
    "original_video_id": 0,
    "upscaled": 0,
    "prompt": "火气",
    "model": "v3.5",
    "negative_prompt": "",
    "quality": "360p",
    "motion_mode": "normal",
    "asset_id": 0,
    "auto_character_prompt": 0,
    "seed": 648043228,
    "likes": 0,
    "model_name": "",
    "queue_data": {
      "queue_time": 1,
      "queue_count": 0
    },
    "video_duration": 5,
    "last_frame": "",
    "extended": 0,
    "lip_sync": {},
    "url": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Ff890a133-4dde-4876-aa9f-0b236505db98_seed648043228.mp4",
    "img_id": 0,
    "img_url": "",
    "img_path": "",
    "duration": 5,
    "motion_brush": "",
    "asset_name": "",
    "asset_img_url": "",
    "remove_watermark": 0,
    "nick_name": "nickAZJa",
    "avatar": "https://lh3.googleusercontent.com/a/ACg8ocKRwvgEzTByyj0mloUyXJMouTPAPGZwui_EyOAlxmgYAaiufw=s96-c",
    "aspect_ratio": "16:9",
    "camera_movement": "",
    "relation_type": 0,
    "style": "",
    "template_id": 0,
    "template_name": "",
    "template_thumbnail_url": "",
    "template_thumbnail_video_url": "",
    "template_i18n_json": "",
    "workflow_tag": "",
    "customer_paths": null,
    "platform": "web"
  }
}
{
  "ErrCode": 0,
  "ErrMsg": "success",
  "Resp": {
    "video_id": 315326452915648,
    "video_status": 1,
    "account_id": 314797200646848,
    "created_at": "2025-01-05T15:19:09Z",
    "first_frame": "https://media.pixverse.ai/pixverse%2Fjpg%2Fmedia%2Fa056c76c-48ab-4cca-a4fd-90e01e2b37ad.jpg",
    "output_width": 640,
    "output_height": 352,
    "original_video_id": 0,
    "upscaled": 0,
    "prompt": "火气",
    "model": "v3.5",
    "negative_prompt": "",
    "quality": "360p",
    "motion_mode": "normal",
    "asset_id": 0,
    "auto_character_prompt": 0,
    "seed": 648043228,
    "likes": 0,
    "model_name": "",
    "queue_data": {
      "queue_time": 1,
      "queue_count": 0
    },
    "video_duration": 5,
    "last_frame": "",
    "extended": 0,
    "lip_sync": {},
    "url": "https://media.pixverse.ai/pixverse%2Fmp4%2Fmedia%2Fweb%2Ff890a133-4dde-4876-aa9f-0b236505db98_seed648043228.mp4",
    "img_id": 0,
    "img_url": "",
    "img_path": "",
    "duration": 5,
    "motion_brush": "",
    "asset_name": "",
    "asset_img_url": "",
    "remove_watermark": 0,
    "nick_name": "nickAZJa",
    "avatar": "https://lh3.googleusercontent.com/a/ACg8ocKRwvgEzTByyj0mloUyXJMouTPAPGZwui_EyOAlxmgYAaiufw=s96-c",
    "aspect_ratio": "16:9",
    "camera_movement": "",
    "relation_type": 0,
    "style": "",
    "template_id": 0,
    "template_name": "",
    "template_thumbnail_url": "",
    "template_thumbnail_video_url": "",
    "template_i18n_json": "",
    "workflow_tag": "",
    "customer_paths": null,
    "platform": "web"
  }
}

关键字段说明

字段类型说明
video_idnumber视频 id 查询、扩展都用这个
urlstring视频链接
first_framestring封面
video_statusnumber状态 1 完成成功 5 已提交 10 生成中 7 内容审核不通过失败 8 生成失败

3.创建角色

  • 计费 100 积分

post https://api.openai-hk.com/pixverse/character

shell
curl --request POST \
  --url https://api.openai-hk.com/pixverse/character \
  --header 'Authorization: Bearer hk-your-key' \
  --header 'Content-Type: application/json' \
  --data '  {
    "images": ["https://media.pixverse.ai/upload/880f121b-4036-4ff5-a153-58aff9417d05.jpg"]
}'
curl --request POST \
  --url https://api.openai-hk.com/pixverse/character \
  --header 'Authorization: Bearer hk-your-key' \
  --header 'Content-Type: application/json' \
  --data '  {
    "images": ["https://media.pixverse.ai/upload/880f121b-4036-4ff5-a153-58aff9417d05.jpg"]
}'

请求体

json
{
  "images": [
    "https://media.pixverse.ai/upload/880f121b-4036-4ff5-a153-58aff9417d05.jpg"
  ]
}
{
  "images": [
    "https://media.pixverse.ai/upload/880f121b-4036-4ff5-a153-58aff9417d05.jpg"
  ]
}

返回体 得到 AssetId

json
{
  "Resp": {
    "AssetId": 315472036507328
  },
  "ErrCode": 0,
  "ErrMsg": "Success"
}
{
  "Resp": {
    "AssetId": 315472036507328
  },
  "ErrCode": 0,
  "ErrMsg": "Success"
}

应用场景

post https://api.openai-hk.com/pixverse/generate

场景 1: 文生视频

json
{
  "prompt": "牛鬼蛇神",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228
}
{
  "prompt": "牛鬼蛇神",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228
}

场景 2: 图生视频

json
{
  "prompt": "颤抖",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228,
  "img_url": "https://www.openai-hk.com/res/img/open.png"
}
{
  "prompt": "颤抖",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228,
  "img_url": "https://www.openai-hk.com/res/img/open.png"
}

场景 3: Transition 前后帧

json
{
  "prompt": "渐变",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "frame": [
    "https://media.pixverse.ai/upload%2F880f121b-4036-4ff5-a153-58aff9417d05.jpg",
    "https://media.pixverse.ai/upload%2Fd1c8f8b5-6f6f-42bc-a954-11a7582e63d0.jpg"
  ],
  "seed": 739052608
}
{
  "prompt": "渐变",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "frame": [
    "https://media.pixverse.ai/upload%2F880f121b-4036-4ff5-a153-58aff9417d05.jpg",
    "https://media.pixverse.ai/upload%2Fd1c8f8b5-6f6f-42bc-a954-11a7582e63d0.jpg"
  ],
  "seed": 739052608
}

场景 4: Extend 扩展

json
{
  "prompt": "牛奶",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "motion_mode": "normal",
  "seed": 622979623,
  "platform": "web",
  "extend": 1,
  "original_video_id": 314958906984512
}
{
  "prompt": "牛奶",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "motion_mode": "normal",
  "seed": 622979623,
  "platform": "web",
  "extend": 1,
  "original_video_id": 314958906984512
}

场景 5: Effetc 模版特效

json
{
  "prompt": "放马西行,直面天命!",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228,
  "img_url": "https://www.openai-hk.com/res/img/open.png",
  "template_id": 313359209531840
}
{
  "prompt": "放马西行,直面天命!",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228,
  "img_url": "https://www.openai-hk.com/res/img/open.png",
  "template_id": 313359209531840
}

场景 6: Style 风格

json
{
  "prompt": "放马西行,直面天命!",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "style": "cyberpunk",
  "seed": 648043228
}
{
  "prompt": "放马西行,直面天命!",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "style": "cyberpunk",
  "seed": 648043228
}

场景 7: character 角色

A.生成角色 ID AssetId

post https://api.openai-hk.com/pixverse/character

请求体

json
{
  "images": [
    "https://media.pixverse.ai/upload/880f121b-4036-4ff5-a153-58aff9417d05.jpg"
  ]
}
{
  "images": [
    "https://media.pixverse.ai/upload/880f121b-4036-4ff5-a153-58aff9417d05.jpg"
  ]
}

返回体 得到 AssetId

json
{
  "Resp": {
    "AssetId": 315472036507328
  },
  "ErrCode": 0,
  "ErrMsg": "Success"
}
{
  "Resp": {
    "AssetId": 315472036507328
  },
  "ErrCode": 0,
  "ErrMsg": "Success"
}

B.利用 AssetId 进行创作

  • AssetId 可以重复使用
  • AssetId 不可跨账号使用 可能账号下线或者被封导致不能使用

post https://api.openai-hk.com/pixverse/generate

json
{
  "prompt": "微笑",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228,
  "asset_id": 315472036507328
}
{
  "prompt": "微笑",
  "model": "v3.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "seed": 648043228,
  "asset_id": 315472036507328
}

场景 8:运镜

json
{
  "prompt": "风雨",
  "model": "v4.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "1:1",
  "motion_mode": "normal",
  "seed": 1315203603,
  "camera_movement": "vertical_down"
}
{
  "prompt": "风雨",
  "model": "v4.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "1:1",
  "motion_mode": "normal",
  "seed": 1315203603,
  "camera_movement": "vertical_down"
}

camera_movement 参数选项

json
{
  "name": {
    "horizontal_left": "水平向左",
    "horizontal_right": "水平向右",
    "vertical_up": "垂直向上",
    "vertical_down": "垂直向下",
    "crane_up": "上升镜头",
    "hitchcock": "希区柯克变焦",
    "zoom_in": "放大",
    "zoom_out": "缩小",
    "quickly_zoom_in": "快速推进",
    "quickly_zoom_out": "快速拉远",
    "smooth_zoom_in": "平滑推进",
    "super_dolly_out": "超级拉远",
    "left_follow": "左侧跟拍",
    "right_follow": "右侧跟拍",
    "pan_left": "左侧环弧",
    "pan_right": "右侧环弧",
    "fix_bg": "固定镜头",
    "camera_rotation": "镜头旋转",
    "robo_arm": "机械臂运动",
    "whip_pan": "快速摇镜"
  },
  "image": {
    "horizontal_left": "https://media.pixverse.ai/asset/template/web_horizontalleft_250429.gif",
    "horizontal_right": "https://media.pixverse.ai/asset/template/web_horizontalright_250429.gif",
    "vertical_up": "https://media.pixverse.ai/asset/template/web_verticalup_250429.gif",
    "vertical_down": "https://media.pixverse.ai/asset/template/web_verticaldown _250429.gif",
    "crane_up": "https://media.pixverse.ai/asset/template/web_craneup_250428.gif",
    "hitchcock": "https://media.pixverse.ai/asset/template/Dolly Zoom.gif",
    "zoom_in": "https://media.pixverse.ai/asset/template/web_zoomin_250429.gif",
    "zoom_out": "https://media.pixverse.ai/asset/template/web_zoomout_250429.gif",
    "quickly_zoom_in": "https://media.pixverse.ai/asset/template/web_quicklyzoomin_250428.gif",
    "quickly_zoom_out": "https://media.pixverse.ai/asset/template/web_quicklyzoomout_250428.gif",
    "smooth_zoom_in": "https://media.pixverse.ai/asset/template/web_smoothzoomin_250428.gif",
    "super_dolly_out": "https://media.pixverse.ai/asset/template/web_superdollyout_250428.gif",
    "left_follow": "https://media.pixverse.ai/asset/template/Left Tracking Shot.gif",
    "right_follow": "https://media.pixverse.ai/asset/template/Right Tracking Shot.gif",
    "pan_left": "https://media.pixverse.ai/asset/template/Left Arc Shot.gif",
    "pan_right": "https://media.pixverse.ai/asset/template/Right Arc Shot.gif",
    "fix_bg": "https://media.pixverse.ai/asset/template/Fixed Shot.gif",
    "camera_rotation": "https://media.pixverse.ai/asset/template/web_camerarotation_250428.gif",
    "robo_arm": "https://media.pixverse.ai/asset/template/web_roboarm_250428.gif",
    "whip_pan": "https://media.pixverse.ai/asset/template/web_whippan_250428.gif"
  }
}
{
  "name": {
    "horizontal_left": "水平向左",
    "horizontal_right": "水平向右",
    "vertical_up": "垂直向上",
    "vertical_down": "垂直向下",
    "crane_up": "上升镜头",
    "hitchcock": "希区柯克变焦",
    "zoom_in": "放大",
    "zoom_out": "缩小",
    "quickly_zoom_in": "快速推进",
    "quickly_zoom_out": "快速拉远",
    "smooth_zoom_in": "平滑推进",
    "super_dolly_out": "超级拉远",
    "left_follow": "左侧跟拍",
    "right_follow": "右侧跟拍",
    "pan_left": "左侧环弧",
    "pan_right": "右侧环弧",
    "fix_bg": "固定镜头",
    "camera_rotation": "镜头旋转",
    "robo_arm": "机械臂运动",
    "whip_pan": "快速摇镜"
  },
  "image": {
    "horizontal_left": "https://media.pixverse.ai/asset/template/web_horizontalleft_250429.gif",
    "horizontal_right": "https://media.pixverse.ai/asset/template/web_horizontalright_250429.gif",
    "vertical_up": "https://media.pixverse.ai/asset/template/web_verticalup_250429.gif",
    "vertical_down": "https://media.pixverse.ai/asset/template/web_verticaldown _250429.gif",
    "crane_up": "https://media.pixverse.ai/asset/template/web_craneup_250428.gif",
    "hitchcock": "https://media.pixverse.ai/asset/template/Dolly Zoom.gif",
    "zoom_in": "https://media.pixverse.ai/asset/template/web_zoomin_250429.gif",
    "zoom_out": "https://media.pixverse.ai/asset/template/web_zoomout_250429.gif",
    "quickly_zoom_in": "https://media.pixverse.ai/asset/template/web_quicklyzoomin_250428.gif",
    "quickly_zoom_out": "https://media.pixverse.ai/asset/template/web_quicklyzoomout_250428.gif",
    "smooth_zoom_in": "https://media.pixverse.ai/asset/template/web_smoothzoomin_250428.gif",
    "super_dolly_out": "https://media.pixverse.ai/asset/template/web_superdollyout_250428.gif",
    "left_follow": "https://media.pixverse.ai/asset/template/Left Tracking Shot.gif",
    "right_follow": "https://media.pixverse.ai/asset/template/Right Tracking Shot.gif",
    "pan_left": "https://media.pixverse.ai/asset/template/Left Arc Shot.gif",
    "pan_right": "https://media.pixverse.ai/asset/template/Right Arc Shot.gif",
    "fix_bg": "https://media.pixverse.ai/asset/template/Fixed Shot.gif",
    "camera_rotation": "https://media.pixverse.ai/asset/template/web_camerarotation_250428.gif",
    "robo_arm": "https://media.pixverse.ai/asset/template/web_roboarm_250428.gif",
    "whip_pan": "https://media.pixverse.ai/asset/template/web_whippan_250428.gif"
  }
}

场景 9:fusion 多主体

  • 提交参数 fusion 最多只能 2 张图片
  • prompt 必须带 @1(第一张图) 或者 @2 (第二张图)
json
{
  "prompt": " @1  is on the living room carpet, waving and slashing with @2 .",
  "model": "v4.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "fusion": [
    "https://media.pixverse.ai/asset/media/fusion4_1.jpg",
    "https://media.pixverse.ai/asset/media/fusion4_2.png"
  ],
  "seed": 648043228
}
{
  "prompt": " @1  is on the living room carpet, waving and slashing with @2 .",
  "model": "v4.5",
  "quality": "360p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "motion_mode": "normal",
  "fusion": [
    "https://media.pixverse.ai/asset/media/fusion4_1.jpg",
    "https://media.pixverse.ai/asset/media/fusion4_2.png"
  ],
  "seed": 648043228
}