JianYingAPI
afanti
  • main
  • afanti
  1. 默认模块
JianYingAPI
afanti
  • main
  • afanti
  • 默认模块
    • 广州阿凡提定制
    • 一分钟,了解 剪映API!
    • 如何下载草稿
    • 在线预览草稿
    • 获取API Key
    • 文本
      • get_text_intro_types
      • get_text_outro_types
      • get_text_loop_anim_types
      • get_font_types
      • add_text
      • add_subtitle
    • 图片
      • get_intro_animation_types
      • get_outro_animation_types
      • get_combo_animation_types
      • add_image
    • 视频
      • add_video
    • 转场
      • get_transition_types
    • 蒙版
      • get_mask_types
    • 音频
      • get_audio_effect_types
      • add_audio
    • 关键帧
      • add_video_keyframe
    • 特效
      • get_video_character_effect_types
      • get_video_scene_effect_types
      • add_effect
    • 贴纸
      • search_sticker
      • add_sticker
    • 云渲染
      • generate_video
      • task_status
      • generate_afanticar_video
    • create_draft
      POST
    • save_draft
      POST
    • get_duration
      POST
  1. 默认模块

get_duration

POST
/get_duration

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数

Body 参数application/json

示例

返回响应

🟢200成功
application/json
Body

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.capcutapi.top/cut_jianying/get_duration' \
--header 'Authorization: Bearer  <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url":"https://lf3-lv-music-tos.faceu.com/obj/tos-cn-ve-2774/oYACBQRCMlWBIrZipvQZhI5LAlUFYii0RwEPh"
}'
响应示例响应示例
{
    "error": "string",
    "output": {
        "duration": 0,
        "video_url": "string"
    },
    "purchase_link": "string",
    "success": true
}
修改于 2025-08-08 01:14:31
上一页
save_draft
Built with