콘텐츠로 건너뛰기

Mureka 9.5 Song Generation

통합

모델 id mureka/api/generate/song
# 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/mureka/api/generate/song?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"

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

API 키 받기
Mureka 텍스트를 음악으로 참조 입력 #music#vocals#song-generation

프롬프트 또는 가사에서 보컬이 포함된 노래를 생성하며 스타일, 음성 및 멜로디를 제어할 수 있습니다

Mureka · 오디오

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

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

요청 만들기

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

0 / 5000

가사에서 노래를 생성할 때 사용할 노래 텍스트이며 최대 5,000자입니다. 프롬프트에서 노래를 생성할 때는 lyrics 대신 prompt를 제공하세요.

88 / 2000

lyrics 제공 여부에 따라 역할이 달라지는 노래 설명입니다. lyrics와 함께 음악 스타일을 제어하며, lyrics가 없으면 필수입니다. 분위기, 악기 구성, 보컬을 포함해 원하는 노래를 설명하세요.

model 기본값 mureka-9.5

노래 생성에 사용되는 모델입니다.

고급 gender · reference_id · vocal_id · melody_id · enable_safety_checker · styles
gender

가사에서 노래를 생성할 때의 보컬 성별 선호도입니다. 업로드하거나 복제한 음성이 이를 재정의하지 않는 경우에만 사용됩니다.

purpose='reference'로 /files/upload에서 얻은 참고 음악 식별자입니다.

/voice/clone에서 얻은 음성 식별자입니다.

프롬프트, reference_id 또는 vocal_id 없이 사용할 멜로디 식별자입니다. purpose='melody'를 사용하여 /files/upload를 통해 가져옵니다.

가사 없이 프롬프트에서 노래를 생성할 때만 사용할 수 있는 장르 선택입니다. 하나 이상의 음악 장르를 선택하세요.

POST /run/mureka/api/generate/song?wait=20 견적 → $0.75
# 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/mureka/api/generate/song?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 키 받기

Mureka 9.5 Song Generation 정보

가사-노래 변환에는 `lyrics`(최대 5000자)를 사용하고, 프롬프트-노래 변환에는 `prompt`(최대 2000자)와 `styles`를 사용합니다. 옵션에는 `gender`, `reference_id`, `vocal_id` 및 `melody_id`가 있습니다. `model` 목록에는 mureka-7.6, mureka-o2, mureka-8, mureka-9 및 mureka-9.5(기본값)가 포함됩니다. 오디오, 재생 시간 및 `song_id`를 반환합니다.

매개변수

이름유형 기본값허용됨 설명
model선택 사항
유형enum
기본값mureka-9.5
mureka-7.6mureka-o2mureka-8mureka-9mureka-9.5
노래 생성에 사용되는 모델입니다.
lyrics선택 사항
유형string | null
≤ 5,000자
가사에서 노래를 생성할 때 사용할 노래 텍스트이며 최대 5,000자입니다. 프롬프트에서 노래를 생성할 때는 lyrics 대신 prompt를 제공하세요.
styles선택 사항
유형enum[]
가사 없이 프롬프트에서 노래를 생성할 때만 사용할 수 있는 장르 선택입니다. 하나 이상의 음악 장르를 선택하세요.
prompt선택 사항
유형string | null
≤ 2,000자
lyrics 제공 여부에 따라 역할이 달라지는 노래 설명입니다. lyrics와 함께 음악 스타일을 제어하며, lyrics가 없으면 필수입니다. 분위기, 악기 구성, 보컬을 포함해 원하는 노래를 설명하세요.
gender선택 사항
유형enum
femalemale
가사에서 노래를 생성할 때의 보컬 성별 선호도입니다. 업로드하거나 복제한 음성이 이를 재정의하지 않는 경우에만 사용됩니다.
reference_id선택 사항
유형string | null
purpose='reference'로 /files/upload에서 얻은 참고 음악 식별자입니다.
vocal_id선택 사항
유형string | null
/voice/clone에서 얻은 음성 식별자입니다.
melody_id선택 사항
유형string | null
프롬프트, reference_id 또는 vocal_id 없이 사용할 멜로디 식별자입니다. purpose='melody'를 사용하여 /files/upload를 통해 가져옵니다.
enable_safety_checker선택 사항
유형boolean
기본값true
호출자에게 권한이 있으면 false로 설정해 검사를 완화할 수 있습니다.
필수

출력

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mureka/api/generate/song",
  "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": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "song_id": "string",
    "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
    },
    "duration": 5,
    "lyrics_sections": [
      {
        "section_type": "intro",
        "start": 1,
        "end": 1,
        "lines": [
          {}
        ]
      }
    ]
  },
  "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은 모델 자체의 결과 객체입니다.
출력 필드
song_id
string | nullsong_id를 허용하는 엔드포인트에서 재사용할 수 있는 오디오 식별자입니다.
audio
object {url, content_type, file_name, file_size}생성으로 만들어진 오디오 파일입니다.
duration
integer | null사용 가능한 경우 밀리초로 측정한 생성된 오디오 길이입니다.
lyrics_sections
array of object {section_type, start, end, lines} | null사용 가능한 경우 생성된 오디오의 타이밍 정보가 포함된 가사 구간입니다.

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

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