콘텐츠로 건너뛰기

Mirelo SFX2.0 · Text to Audio

통합

모델 id mirelo-ai/sfx2.0/text-to-audio
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mirelo-ai/sfx2.0/text-to-audio?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

예시와 같은 파일: $0.60 600 API 크레딧 · ≈ ₽64.55 실행 전에 파일을 측정합니다 이 페이지에서 실행

API 키 받기
Mirelo AI 오디오 0.1–600 s #text-to-audio#sfx

부정 프롬프트, 재생 시간, 여러 샘플을 지원하는 텍스트 설명 기반 음향 효과

Mirelo AI · 오디오

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

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

요청 만들기

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

•필수 88 / 2000

원하는 음향 효과에 대한 설명입니다.

기본값 30

요청한 소리 길이(초)이며 text-to-SFX 배포별 최대 길이 이내여야 합니다.

기본값 2

단일 배치 순방향 전달에서 생성할 샘플 수입니다.

고급 negative_prompt · upload_audio_format · upload_audio_bitrate_kbps · seed
0 / 1000

출력에서 제외할 소리입니다.

upload_audio_format 기본값 wav

각 오디오 파일에 사용할 형식입니다.

kbps 단위의 업로드 비트레이트 재정의값입니다. upload_audio_format이 무손실이면 거부됩니다. 설정하지 않으면 mp3에는 LAME V0 VBR, aac에는 256 kbps 목표값이 유지됩니다. mp3는 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 중 정확한 고정 레이트를 선택하세요. aac에서 32~256 값은 보장 레이트가 아닌 인코더 목표값이므로 모노 또는 희소 오디오는 그보다 낮을 수 있습니다.

초기 샘플의 시드입니다. -1이거나 생략하면 무작위 시드를 사용합니다.

POST /run/mirelo-ai/sfx2.0/text-to-audio?wait=20 견적 → $0.60
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mirelo-ai/sfx2.0/text-to-audio?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

이 요청 실행

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

Mirelo SFX2.0 · Text to Audio 정보

최대 2000자의 `prompt`에서 음향 효과를 생성하며, `negative_prompt`로 제외할 소리를 지정합니다. `duration`은 0.1~600초(기본값 30)이고, `num_samples`는 각각 고유한 시드를 사용하는 1~4개의 변형을 생성합니다. 출력 형식은 `upload_audio_format`을 통해 wav, mp3, aac 또는 flac으로 지정하며, mp3와 aac에는 선택적 비트레이트를 사용할 수 있습니다.

매개변수

이름유형 기본값허용됨 설명
prompt필수
유형string
≤ 2,000자
원하는 음향 효과에 대한 설명입니다.
negative_prompt선택 사항
유형string | null
≤ 1,000자
출력에서 제외할 소리입니다.
duration선택 사항
유형number
기본값30
0.1 – 600
요청한 소리 길이(초)이며 text-to-SFX 배포별 최대 길이 이내여야 합니다.
seed선택 사항
유형integer | null
-1 – 9,223,372,036,854,776,000
초기 샘플의 시드입니다. -1이거나 생략하면 무작위 시드를 사용합니다.
num_samples선택 사항
유형integer
기본값2
1 – 4
단일 배치 순방향 전달에서 생성할 샘플 수입니다.
upload_audio_format선택 사항
유형enum
기본값wav
wavmp3aacflac
각 오디오 파일에 사용할 형식입니다.
upload_audio_bitrate_kbps선택 사항
유형integer | null
32 – 320
kbps 단위의 업로드 비트레이트 재정의값입니다. upload_audio_format이 무손실이면 거부됩니다. 설정하지 않으면 mp3에는 LAME V0 VBR, aac에는 256 kbps 목표값이 유지됩니다. mp3는 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 중 정확한 고정 레이트를 선택하세요. aac에서 32~256 값은 보장 레이트가 아닌 인코더 목표값이므로 모노 또는 희소 오디오는 그보다 낮을 수 있습니다.
필수

출력

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mirelo-ai/sfx2.0/text-to-audio",
  "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": 600,
    "usd": "0.60",
    "charged": 600,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "model": "sfx-2.0",
    "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
      }
    ],
    "seeds": [
      42
    ]
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
파일 보관 방식 선택모든 outputs[].url은 스토리지에 저장된 복사본입니다. 계정 설정 또는 ?storage=에 따라 영구 보관(GB-월 단위 과금)하거나 7일 동안 무료로 보관합니다.
모든 모델에서 동일한 구조이미지, 동영상, 오디오 모두 type, url, content_type, width, height 및 duration을 사용합니다. output은 모델 자체의 결과 객체입니다.
출력 필드
model
string출력을 생성하는 데 사용한 SFX 모델 릴리스입니다.
audio
array of object {url, content_type, file_name, file_size}생성된 음향 효과이며 샘플마다 하나의 결과가 있습니다.
seeds
array of integer샘플에 대응하는 시드이며 순서를 유지합니다.

더 많은 모델: 오디오

AI 에이전트용: 이 페이지의 Markdown 버전: https://doitong.com/ko/developers/models/mirelo-ai/sfx2.0/text-to-audio.md. 모든 모델 및 가이드: https://doitong.com/developers/llms.txt