
🇺🇸 English

🇺🇸 English
- Chat Models
- Chat
- OpenAI-Realtime
- Completions
- Audio
- Image generation
- Embeddings
- Models
- Help
- Anthropic
- Suno
- Udio
- Midjourney API
- Flux
- Recraft
- Ideogram
- Luma
- Runway
- Kling-API
- Replicate
- MiniMax
Text 2 Video
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-02-05 11:35:25