Fal.AI를 통해 제공되는 Google Gemini Omni Flash 텍스트-투-비디오 모델입니다. 서술형 텍스트 프롬프트만으로 영상을 생성하며, 페이싱과 오디오(대사, 배경음악)도 프롬프트 안에서 직접 제어합니다. 16:9 또는 9:16 화면비로 3~10초 길이의 영상을 만들 수 있습니다.
콘솔의 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": "google/gemini-omni-flash",
"input": {
"prompt": "A cinematic wide shot of a lighthouse on a rocky cliff at dusk, waves crashing below, the beam slowly sweeping across the dark sea.",
"aspect_ratio": "16:9",
"duration": 8
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 생성하고자 하는 영상을 설명하는 텍스트 프롬프트입니다. |
aspect_ratio | string | No | 16:9 | 생성될 영상의 화면비입니다. 16:99:16 |
duration | integer | No | 8 | 생성될 영상의 길이(초 단위)입니다. |
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로도 제공 |
순수하게 서술형인 프롬프트만으로 암시된 환경음까지 포함한 8초짜리 가로형 영상을 생성합니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "google/gemini-omni-flash",
"input": {
"prompt": "A cinematic wide shot of a lighthouse on a rocky cliff at dusk, waves crashing below, the beam slowly sweeping across the dark sea.",
"aspect_ratio": "16:9",
"duration": 8
}
}'등장 인물의 대사를 프롬프트 안에 직접 서술하여 짧은 세로형 클립을 생성합니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "google/gemini-omni-flash",
"input": {
"prompt": "A barista behind a counter smiles at the camera and says, \"Your order's ready!\" as steam rises from a fresh cup, upbeat background music playing.",
"aspect_ratio": "9:16",
"duration": 5
}
}'