- 最新公告
- OpenAI
- AnthropicClaude
- Elevenlabs 语音
- Fal.ai
- 火山方舟
- 可灵 Kling
- MiniMax
- 智谱 AI
- 万相
- 搜索 Search
- Textin
- Images
- Midjourney
- Audio
- RAG
- Files
- 🔥AI 工具
- 文档智能&图片处理
- AI产品配置教程
- 教程类
- 系统API
- 视频生成(Videos)
- 内容审查(Moderations)
- Deepdataspace
创建任务(即梦视频)
POST
https://api.chatfire.cn/jimeng-video/v1/tasks
最后修改时间:2025-07-01 11:49:18
责任人:未设置
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/x-msgpack
model
string
必需
prompt
string
必需
image_url
string
必需
duration
integer
枚举值 5, 10
aspect_ratio
string
必需
cfg_scale
number
必需
示例
{
"model": "seedream-3.0",
"prompt": "slow-motion sequence captures the catastrophic implosion of a skyscraper, dust and debris billowing outwards in a chaotic ballet of destruction, while a haunting, orchestral score underscores the sheer power and finality of the event.",
"image_url": "https://v3.fal.media/files/elephant/rkH-9qoXtXu3rAYTsx9V5_image.webp",
"duration": 5, // 枚举值 5, 10
"aspect_ratio": "16:9", // 枚举值 "1:1", "21:9", "16:9", "9:16", "4:3", "3:4"
"cfg_scale": 0.5
}
示例代码
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://api.chatfire.cn/jimeng-video/v1/tasks' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "seedream-3.0",
"prompt": "slow-motion sequence captures the catastrophic implosion of a skyscraper, dust and debris billowing outwards in a chaotic ballet of destruction, while a haunting, orchestral score underscores the sheer power and finality of the event.",
"image_url": "https://v3.fal.media/files/elephant/rkH-9qoXtXu3rAYTsx9V5_image.webp",
"duration": 5, // 枚举值 5, 10
"aspect_ratio": "16:9", // 枚举值 "1:1", "21:9", "16:9", "9:16", "4:3", "3:4"
"cfg_scale": 0.5
}'
返回响应
🟢200成功
application/json
Body
task_id
string
必需
code
integer
必需
status
string
必需
created_at
string
必需
示例
{"task_id":"4343085092610","code":0,"status":"SUBMITTED","created_at":"2025-05-07T19:28:58.694809"}
修改于 2025-07-01 11:49:18