콘텐츠로 건너뛰기

Elevenlabs Music

통합

모델 id elevenlabs/music
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/music?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

예시와 같은 파일: $1.80 1,800 API 크레딧 실행 전에 파일을 측정합니다 이 페이지에서 실행

API 키 받기
ElevenLabs 텍스트를 음악으로 #music#text-to-music

프롬프트 또는 구조화된 작곡 계획으로 구동되는 텍스트-음악 생성기로 반주 전용 옵션을 지원

ElevenLabs · 오디오

첫 번째 결과가 여기에 표시됩니다

아래에서 요청을 작성하고 API 키로 실행하세요. 출력은 스토리지에 복사되며, 영구 보관하거나 7일 동안 무료로 보관할 수 있습니다.

요청 만들기

컨트롤은 모델 스키마에서 생성됩니다. 값을 변경하면 코드와 가격이 업데이트됩니다.

88 / 4100

원하는 음악에 대한 텍스트 설명입니다.

선택적 노래 길이(밀리초)이며, 3000 ms~600000 ms 범위입니다. 프롬프트를 사용할 때만 적용됩니다. 생략하면 모델이 프롬프트에서 길이를 결정합니다.

고급 output_format · force_instrumental · respect_sections_durations · composition_plan
기본값 mp3_44100_128

등급 요구 사항이 적용되는 오디오 출력 형식입니다. 192 kbps MP3는 Creator 등급 이상이 필요하고, 44.1 kHz PCM은 Pro 등급 이상이 필요합니다. 값은 `codec_sample_rate_bitrate` 형식을 따릅니다. 예를 들어 `mp3_22050_32`는 22.05 kHz MP3와 32 kbs 비트레이트를 지정합니다. Twilio 오디오 입력에는 μ-law가 일반적으로 사용되며, mu-law로 표기하거나 u-law로 근사해 표기하기도 합니다.

음악의 구성을 정의하는 계획입니다.

POST /run/elevenlabs/music?wait=20 견적 → $1.80
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/music?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

이 요청 실행

키는 이 브라우저에 유지됩니다. Doitong API로만 전송되며, 기억하기를 선택한 경우에만 localStorage에 저장됩니다. API 키 받기

Elevenlabs Music 정보

최대 4100자의 텍스트 `prompt` 또는 상세한 `composition_plan`에서 음악을 작곡합니다. 프롬프트 사용 시 `music_length_ms`는 3000~600000밀리초이며, `force_instrumental`로 보컬을 확실히 제외할 수 있습니다. `respect_sections_durations`는 계획된 섹션의 시간을 얼마나 엄격하게 따를지 결정합니다. `output_format`으로 다양한 코덱과 샘플 레이트를 선택할 수 있습니다.

매개변수

이름유형 기본값허용됨 설명
prompt선택 사항
유형string | null
≤ 4,100자
원하는 음악에 대한 텍스트 설명입니다.
composition_plan선택 사항
유형object
음악의 구성을 정의하는 계획입니다.
composition_plan.positive_global_styles필수
유형string[]
노래 전체에 포함할 스타일입니다.
composition_plan.negative_global_styles필수
유형string[]
노래 전체에서 제외할 스타일입니다.
composition_plan.sections필수
유형object[]
노래를 구성하는 섹션입니다.
composition_plan.sections[].section_name필수
유형string
1 – 100 characters
섹션 이름이며, 길이는 1~100자입니다.
composition_plan.sections[].positive_local_styles필수
유형string[]
이 섹션에 포함할 스타일입니다.
composition_plan.sections[].negative_local_styles필수
유형string[]
이 섹션에서 제외할 스타일입니다.
composition_plan.sections[].duration_ms필수
유형integer
3,000 – 120,000
섹션 길이(밀리초)이며, 3000 ms~120000 ms 범위입니다.
composition_plan.sections[].lines필수
유형string[]
이 섹션의 가사이며, 한 줄당 200자로 제한됩니다.
music_length_ms선택 사항
유형integer | null
3,000 – 600,000
선택적 노래 길이(밀리초)이며, 3000 ms~600000 ms 범위입니다. 프롬프트를 사용할 때만 적용됩니다. 생략하면 모델이 프롬프트에서 길이를 결정합니다.
force_instrumental선택 사항
유형boolean
기본값false
프롬프트 사용 시에만 사용할 수 있는 연주곡 전용 제어입니다. true로 설정하면 연주곡 출력이 보장되고, false로 설정하면 프롬프트에 따라 연주곡 또는 보컬 음악이 생성됩니다.
respect_sections_durations선택 사항
유형boolean
기본값true
`composition_plan`의 섹션 타이밍 적용 여부입니다. 해당 계획 외부에서는 효과가 없습니다. False는 모델이 개별 섹션 길이를 변경하도록 허용하여 계획의 전체 노래 길이는 바꾸지 않고 일반적으로 품질과 지연 시간을 개선합니다. true는 각 섹션의 `duration_ms`를 정확히 적용합니다.
output_format선택 사항
유형enum
기본값mp3_44100_128
mp3_22050_32mp3_44100_32mp3_44100_64mp3_44100_96mp3_44100_128mp3_44100_192pcm_8000pcm_16000pcm_22050pcm_24000pcm_44100pcm_48000ulaw_8000alaw_8000opus_48000_32opus_48000_64
+3개 더 보기opus_48000_96opus_48000_128opus_48000_192
등급 요구 사항이 적용되는 오디오 출력 형식입니다. 192 kbps MP3는 Creator 등급 이상이 필요하고, 44.1 kHz PCM은 Pro 등급 이상이 필요합니다. 값은 `codec_sample_rate_bitrate` 형식을 따릅니다. 예를 들어 `mp3_22050_32`는 22.05 kHz MP3와 32 kbs 비트레이트를 지정합니다. Twilio 오디오 입력에는 μ-law가 일반적으로 사용되며, mu-law로 표기하거나 u-law로 근사해 표기하기도 합니다.
필수

출력

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "elevenlabs/music",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 1800,
    "usd": "1.80",
    "charged": 1800,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
파일 보관 방식 선택모든 outputs[].url은 스토리지에 저장된 복사본입니다. 계정 설정 또는 ?storage=에 따라 영구 보관(GB-월 단위 과금)하거나 7일 동안 무료로 보관합니다.
모든 모델에서 동일한 구조이미지, 동영상, 오디오 모두 type, url, content_type, width, height 및 duration을 사용합니다. output은 모델 자체의 결과 객체입니다.
출력 필드
audio
object {url, content_type, file_name, file_size}MP3 오디오로 인코딩된 생성 음악 파일입니다.

더 많은 모델: 텍스트를 음악으로

AI 에이전트용: 이 페이지의 Markdown 버전: https://doitong.com/ko/developers/models/elevenlabs/music.md. 모든 모델 및 가이드: https://doitong.com/developers/llms.txt