Luma의 Ray Flash 2는 Ray 2보다 빠르고 저렴하게 5초 또는 9초의 720p 비디오를 생성합니다. 시작·종료 이미지를 통한 키프레임 제어, 매끄러운 루프 옵션, 풍부한 카메라 모션 콘셉트 라이브러리를 지원하며, 플랫폼에 처음 추가된 Luma 모델입니다.
콘솔의 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": "luma/ray-flash-2-720p",
"input": {
"loop": false,
"prompt": "A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold",
"duration": 5,
"aspect_ratio": "16:9"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 비디오 생성을 위한 텍스트 프롬프트 |
loop | boolean | No | false | 마지막 프레임이 첫 프레임과 이어져 매끄럽게 반복 재생되는 루프 영상 생성 여부 |
concepts | array | No | - | 적용할 카메라 콘셉트 목록. 예: orbit_left, dolly_zoom, aerial_drone, crane_up, push_in, handheld, tiny_planet (총 34종) |
duration | integer | No | 5 | 비디오 길이 초 59 |
end_image | string | No | - | 비디오 종료 프레임으로 사용할 선택적 마지막 이미지 |
start_image | string | No | - | 비디오 시작 프레임으로 사용할 선택적 첫 이미지 |
aspect_ratio | string | No | 16:9 | 생성 비디오의 화면 비율 1:13:44:39:1616:99:2121:9 |
end_image_url | string | No | - | 지원 중단: 대신 end_image를 사용하세요 |
start_image_url | string | No | - | 지원 중단: 대신 start_image를 사용하세요 |
이 모델의 end_imagestart_image 파라미터에 파일을 전달하는 방법은 3가지입니다.
POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 필요 없습니다.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=luma/ray-flash-2-720p" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:end_image=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "luma/ray-flash-2-720p",
"input": {
"prompt": "your prompt here",
"end_image": "https://example.com/image.jpg"
}
}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로도 제공 |
기본 5초 길이의 텍스트-비디오 — 450 크레딧
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "luma/ray-flash-2-720p",
"input": {
"loop": false,
"prompt": "A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold",
"duration": 5,
"aspect_ratio": "16:9"
}
}'orbit 카메라 콘셉트를 적용한 루프 클립 — 배경 영상에 적합
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "luma/ray-flash-2-720p",
"input": {
"prompt": "A glass terrarium with a miniature rainforest inside, soft mist drifting between tiny trees",
"loop": true,
"duration": 5,
"aspect_ratio": "1:1",
"concepts": [
"orbit_left"
]
}
}'