- 薛定猫API官方文档
- 引言
- 在线调试说明
- 发出请求
- 中转站基本介绍
- Chat模型
- 文生图模型
- 文生视频模型
- GPTs 相关
- 文生音乐 Suno
- 系统API
- Python配置方式
- gpt realtime模型调用
- python openai官方库(使用AutoGPT,langchain等)
- python 连续对话
- python 使用 语音转文本
- python 使用文本转语音
- python 使用Embeddings 向量化
- python 调用DALL·E
- python简单调用 openai function-calling demo
- python 简单langchain 调用openai demo
- python llama_index 配置
- Python使用gpt-4o识别图片-本地图片
- Python基础对话
- Python使用gpt-4o识别图片
- Python使用Claude识别图片
- python 库流式输出
- python request 请求 流式输出demo
- python 使用gpt-image-1 创建编辑图片
- nodejs 配置方式
- 各种插件/软件使用教程
- 帮助中心
图生视频
POST
https://xuedingmao.online/kling/v1/videos/image2video
参数是一致的,对接时,仅需将请求域名、API key 改成我们
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Accept
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
model_name
string
必需
image
string
必需
bese64 不能传入
image_tail
string
必需
prompt
string
必需
negative_prompt
string
必需
cfg_scale
number
必需
mode
string
必需
duration
number
必需
callback_url
string
必需
示例
{
"model_name": "string",
"image": "string",
"image_tail": "string",
"prompt": "string",
"negative_prompt": "string",
"cfg_scale": 0,
"mode": "string",
"duration": 0,
"callback_url": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://xuedingmao.online/kling/v1/videos/image2video' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model_name": "string",
"image": "string",
"image_tail": "string",
"prompt": "string",
"negative_prompt": "string",
"cfg_scale": 0,
"mode": "string",
"duration": 0,
"callback_url": "string"
}'
返回响应
🟢200OK
application/json
Body
object {0}
示例
{}
修改于 2025-06-21 16:17:48