CapCutAPI
  1. audio
CapCutAPI
  • Quick Start!
  • How to get CapCut draft folder?
  • Preview Draft Online
  • Get Your API Key
  • text
    • ArtistEffectText
    • get_text_intro_types
      GET
    • get_text_outro_types
      GET
    • get_text_loop_anim_types
      GET
    • get_font_types
      GET
    • add_text
      POST
    • add_subtitle
      POST
    • search_artist
      POST
  • image
    • get_intro_animation_types
      GET
    • get_outro_animation_types
      GET
    • get_combo_animation_types
      GET
    • add_image
      POST
  • video
    • add_video
      POST
  • transition
    • get_transition_types
      GET
  • audio
    • get_audio_effect_types
      GET
    • add_audio
      POST
  • keyframes
    • add_video_keyframe
      POST
  • effect
    • get_video_scene_effect_types
      GET
    • get_video_character_effect_types
      GET
    • add_effect
      POST
  • create_draft
    POST
  • save_draft
    POST
  • get_duration
    POST
  1. audio

add_audio

POST
/add_audio
Add audio

Request

Header Params

Body Params application/json

Example
{
  "audio_url": "https://lf3-lv-music-tos.faceu.com/obj/tos-cn-ve-2774/oYACBQRCMlWBIrZipvQZhI5LAlUFYii0RwEPh",  // Audio file URL (Required)
  "start": 0,  // Start time for audio material cropping (seconds, default 0)
  "end": 30,  // End time for audio material cropping (seconds, Optional, default is the full length of the audio)
  "draft_id": "your_draft_id",  // Draft ID (Optional, used to specify the draft to operate on)
  "volume": 0.8,  // Volume level (default 1.0)
  "target_start": 5,  // Starting position of the audio on the timeline (seconds, default 0)
  "speed": 1.2,  // Audio speed (default 1.0, >1 for acceleration, <1 for deceleration)
  "track_name": "audio_background",  // Track name (default "audio_main")
  "duration": 20,  // Total duration of the audio material (seconds), setting this can improve request speed
  "effect_type": "Energetic",  // Sound effect type
  "effect_params": [45],  // Sound effect parameters (Optional, set according to effect_type)
  "width": 1080,  // Video width (default 1080)
  "height": 1920  // Video height (default 1920)
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.capcutapi.top/cut_capcut/add_audio' \
--header 'Authorization: Bearer your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "audio_url": "https://lf3-lv-music-tos.faceu.com/obj/tos-cn-ve-2774/oYACBQRCMlWBIrZipvQZhI5LAlUFYii0RwEPh",  // Audio file URL (Required)
  "start": 0,  // Start time for audio material cropping (seconds, default 0)
  "end": 30,  // End time for audio material cropping (seconds, Optional, default is the full length of the audio)
  "draft_id": "your_draft_id",  // Draft ID (Optional, used to specify the draft to operate on)
  "volume": 0.8,  // Volume level (default 1.0)
  "target_start": 5,  // Starting position of the audio on the timeline (seconds, default 0)
  "speed": 1.2,  // Audio speed (default 1.0, >1 for acceleration, <1 for deceleration)
  "track_name": "audio_background",  // Track name (default "audio_main")
  "duration": 20,  // Total duration of the audio material (seconds), setting this can improve request speed
  "effect_type": "Energetic",  // Sound effect type
  "effect_params": [45],  // Sound effect parameters (Optional, set according to effect_type)
  "width": 1080,  // Video width (default 1080)
  "height": 1920  // Video height (default 1920)
}'

Responses

🟢200OK
application/json
Body

Example
{
    "error": "",
    "output": {
        "draft_id": "dfd_cat_1753843462_b4805bb9",
        "draft_url": "https://www.capcutapi.top/draft/downloader?draft_id=dfd_cat_1753843462_b4805bb9"
    },
    "purchase_link": "https://www.coze.cn/store/project/7498257920212647946?entity_id=1&bid=6g6miqtbk3009",
    "success": true
}
Modified at 2025-08-07 09:30:13
Previous
get_audio_effect_types
Next
add_video_keyframe
Built with