
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI格式
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
文生视频
POST
/kling/v1/videos/text2video
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
model_name
string
optional
Default:
kling-v1
Examples:
kling-v1kling-v1-5kling-v1-6
prompt
string
required
negative_prompt
string
optional
cfg_scale
number
optional
mode
string
optional
camera_control
object
optional
type
enum<string>
optional
Allowed values:
simpledown_backforward_upright_turn_forwardleft_turn_forward
config
object
optional
aspect_ratio
string
optional
duration
string
optional
callback_url
string
optional
Example
{
"prompt": "在海滩上度假的快乐场景。"
}
Responses
🟢200成功
application/json
Body
code
integer
required
message
string
required
request_id
string
required
data
object
required
task_id
string
required
task_status
string
required
created_at
integer
required
updated_at
integer
required
Example
{
"code": 0,
"message": "string",
"request_id": "string",
"data": {
"task_id": "string",
"task_status": "string",
"created_at": 0,
"updated_at": 0
}
}
Modified at 2025-01-07 07:20:14