Fal.AI를 통해 제공되는 Sonilo v1.1 텍스트-투-뮤직 모델입니다. 원하는 사운드를 설명하는 텍스트만으로 최대 3개의 서로 다른 음악 트랙(각 최대 600초)을 생성합니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "sonilo/v1.1/text-to-music",
"input": {
"prompt": "A blend of R&B warmth, soul depth, neo-soul texture, gospel spirit, pop clarity, and jazz sophistication.",
"duration": 90,
"num_samples": 1
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 생성할 음악을 설명하는 텍스트 프롬프트입니다. |
duration | integer | No | 90 | 요청할 출력 길이(초 단위, 최대 600)입니다. 과금에도 사용되며, 샘플당 1초 단위로 반올림하여 청구됩니다. |
num_samples | integer | No | 1 | 생성할 서로 다른 음악 트랙의 개수입니다. |
POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.
| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
model | string | Yes | - | 모델 식별자 |
input | object | Yes | - | 위 테이블의 모델별 파라미터를 포함하는 객체 |
output_folder | string | No | - | 결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가) |
webhook_url | string | No | - | 완료 시 호출할 Webhook URL |
is_public | boolean | No | false | true 시 결과물을 영구 공개 URL로도 제공 |
여러 소울 계열 장르를 혼합한 90초짜리 단일 트랙을 배경 음악용으로 생성합니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "sonilo/v1.1/text-to-music",
"input": {
"prompt": "A blend of R&B warmth, soul depth, neo-soul texture, gospel spirit, pop clarity, and jazz sophistication.",
"duration": 90,
"num_samples": 1
}
}'밝은 분위기의 짧은 징글 변형 3개를 한 번의 호출로 생성해 비교 후 선택합니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "sonilo/v1.1/text-to-music",
"input": {
"prompt": "An upbeat, playful jingle with light percussion and a catchy melodic hook.",
"duration": 15,
"num_samples": 3
}
}'