为获取最新模型与能力信息,请优先使用接口:获取视频模型信息列表。
-(中划线)或 _(下划线)。-t2v / -i2v / -v2vimage / end_image 字段:判定为图片生成视频(I2V)video 字段:判定为视频生成视频(V2V)Content-Type:application/jsonmultipart/form-data{
"model": "string",
"prompt": "string",
"image": "string",
"end_image": "string",
"video": "string",
"negative_prompt": "string",
"duration": 0,
"resolution": "string",
"aspect_ratio": "string",
"fps": "string",
"其他模型额外支持的字段具体见文档说明 ": "string"
}curl --location --request POST 'https://api.302.ai/302/v2/video/create?webhook' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"prompt": "string",
"image": "string",
"end_image": "string",
"video": "string",
"negative_prompt": "string",
"duration": 0,
"resolution": "string",
"aspect_ratio": "string",
"fps": "string",
"其他模型额外支持的字段具体见文档说明 ": "string"
}'{
"task_id": "301504317665393",
"status": "pending",
"created_at": "2025-08-14T09:34:45.529818Z"
}