fal.ai를 통해 제공되는 CassetteAI의 빠르고 저렴한 음악 생성기입니다. 텍스트 프롬프트로 10~180초 음악을 초당 1 크레딧 미만으로 생성하며 WAV 파일을 반환합니다.
콘솔의 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": "cassetteai/music-generator",
"input": {
"prompt": "Upbeat K-pop electro-pop company jingle instrumental, 128 BPM, synth brass stabs, punchy drums, bright synth lead, catchy hook, fun and playful",
"duration": 30
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 음악 설명 (장르, 분위기, 악기, 템포) |
duration | integer | Yes | 60 | 생성 길이(초, 10-180). 초당 과금 |
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로도 제공 |
모든 연주곡 모델에 같은 테마 프롬프트를 주고 만든 공통 샘플 — 결과를 나란히 비교해 보세요
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "cassetteai/music-generator",
"input": {
"prompt": "Upbeat K-pop electro-pop company jingle instrumental, 128 BPM, synth brass stabs, punchy drums, bright synth lead, catchy hook, fun and playful",
"duration": 30
}
}'30초 분량의 차분한 로파이 루프
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "cassetteai/music-generator",
"input": {
"prompt": "Chill lo-fi hip hop beat with warm piano chords, vinyl crackle and a laid-back drum groove",
"duration": 30
}
}'