多米API
  1. PRO版
多米API
  • 产品简介
  • 产品更新动态
  • 常见问题汇总
  • 快速开发指南
    • 如何获取调用密钥KEY
    • 如何用代码调用
    • 用量及历史调用查询
  • 购买指南
    • 如何购买
    • 计费概述
  • API文档
    • MJ
      • @回调说明
      • 慢速MJ(不推荐调用)
        • 生成(生成变换/放大)
      • MJ生成(生成/变换/放大)
      • 提交Blend任务(混图)
      • 异步查询
    • SUNO AI音乐
      • @回调说明
      • @接口说明
      • 参考音频
        • 上传音频
        • 查询上传结果
      • 开始创作音乐
      • 合并
      • 歌词生成
      • 音乐查询
    • 统一创建图片生成
      • 创建
    • GPT新版文档
      • 身份验证
      • 介绍
      • 导言
      • 发出请求
      • 聊天接口
        • 聊天接口
      • 测试账户
        • 测试所需sk
      • 帮助中心
        • 完成对象
        • 什么是 token?
        • 用户协议
        • 常见问题及解决办法
      • 模型
        • 列出模型
    • PIX
      • 所有特效
      • 人声列表
      • PRO版
        • generate 图生视频
          POST
        • generate 文生视频
          POST
      • generate 文生视频
        POST
      • generate 图生视频
        POST
      • feed 查询
        GET
    • PIKA
      • PRO版
        • generate(文本)
        • generate(参考图片)
        • generate(参考视频/扩展视频)
      • feed
    • KLING
      • PRO 多米格式
        • generate(文本)
        • generate(图片)
        • extend
      • PRO 官方格式
        • 文生视频
        • 文生视频查询
        • 图生视频
        • 图生视频查询
      • feed
    • LUMA
      • PRO版
        • generate(文本)
        • generate(参考图片)
        • extend
      • feed
    • RUNWAY(推荐))
      • PRO版
        • generate 文生视频
        • generate 图生视频
        • generate 视频转视频
        • Act-one 表情迁移
      • feed
    • Udio
      • generate
      • feed
  1. PRO版

generate 图生视频

开发中
POST
/api/video/pix/pro/generate

请求参数

Body 参数application/json
key
string 
必需
callback_url
string 
必需
prompt
string 
必需
image
string 
必需
model
string 
模型
必需
v4是最新版本,支持540p画面以及极速生成
template_id
integer 
特效模板ID
可选
-特效请查看这个链接-
https://apifox.com/apidoc/shared/b924931e-29c0-4127-b025-d68c90285060/doc-6286353
motion_strength
number 
已废弃
motion_scale
object 
已废弃
horizontal
number 
已废弃
vertical
number 
已废弃
roll
integer 
已废弃
zoom
number 
已废弃
seed
integer 
可选
last_image
string 
尾帧
可选
尾帧不支持特效
sound_effect_switch
integer 
音效
可选
0或1
sound_effect_content
string 
音效提示词
可选
300字符内
lip_sync_tts_speaker_id
string 
人声ID
可选
https://apifox.com/apidoc/shared/b924931e-29c0-4127-b025-d68c90285060/doc-6471140
默认值:
Auto
lip_sync_tts_content
string 
人声台词
可选
140字符内
示例
{
  "key": "Bh3oi26r1FPFCMrJ59RKngSXB2",
  "callback_url": "http://baidu.com",
  "prompt": "A girl appeared behind the woman and naturally opened the clothes from the closed state. All the flesh of the body is exposed. Her figure is thin and well-proportioned, with distinctly feminine features. Her skin is very close to real human skin. The woman`s face is always in the video, and her expression does not change at all. Then the girl kneaded her chest muscles with one hand and her lower body with the other, rolled her eyes, stuck out her tongue, and drooled on her body.",
  "image": "https://cdn3.duomiapi.com/attachments/video//20250319/9b7b87322c7801533fda48fbc1d18074.jpeg",
  "last_image": "https://cdn3.duomiapi.com/attachments/video//20250416/db377bfd6d580802de79a449c1854601.jpeg?imageView2/2/w/1500",
  "model": "v3",
  "template_id": 0,
  "motion_strength": 0.55,
  "motion_scale": {
    "horizontal": -3.3,
    "vertical": 2.7,
    "roll": 4,
    "zoom": -4.4
  },
  "seed": 625371600,
  "sound_effect_switch": 1,
  "sound_effect_content": "海浪",
  "lip_sync_tts_speaker_id": "Auto",
  "lip_sync_tts_content": "海浪敲打岸边"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://duomiapi.com/api/video/pix/pro/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
	"key": "Bh3oi26r1FPFCMrJ59RKngSXB2",
	"callback_url": "http://baidu.com",
	"prompt": "A girl appeared behind the woman and naturally opened the clothes from the closed state. All the flesh of the body is exposed. Her figure is thin and well-proportioned, with distinctly feminine features. Her skin is very close to real human skin. The woman`s face is always in the video, and her expression does not change at all. Then the girl kneaded her chest muscles with one hand and her lower body with the other, rolled her eyes, stuck out her tongue, and drooled on her body.",
	"image": "https://cdn3.duomiapi.com/attachments/video//20250319/9b7b87322c7801533fda48fbc1d18074.jpeg",
	"last_image": "https://cdn3.duomiapi.com/attachments/video//20250416/db377bfd6d580802de79a449c1854601.jpeg?imageView2/2/w/1500",
	"model": "v3",
	"template_id": 0,
	"motion_strength": 0.55,
	"motion_scale": {
		"horizontal": -3.3,
		"vertical": 2.7,
		"roll": 4,
		"zoom": -4.4
	},
	"seed": 625371600,
	"sound_effect_switch": 1,
    "sound_effect_content":"海浪",
	"lip_sync_tts_speaker_id": "Auto",
	"lip_sync_tts_content":"海浪敲打岸边"
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
上一页
人声列表
下一页
generate 文生视频
Built with