최고 품질보다 속도와 비용이 중요할 때 사용하는 Imagen 4의 고속 버전입니다.
콘솔의 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/imagen-4-fast",
"input": {
"prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film.",
"aspect_ratio": "4:3",
"output_format": "jpg"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지 생성을 위한 텍스트 프롬프트 |
aspect_ratio | string | No | 1:1 | 생성 이미지의 종횡비 1:19:1616:93:44:3 |
safety_filter_level | string | No | block_only_high | block_low_and_above가 가장 엄격하고, block_only_high가 가장 관대함 block_low_and_aboveblock_medium_and_aboveblock_only_high |
output_format | string | No | jpg | 출력 이미지 형식 jpgpng |
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": "google/imagen-4-fast",
"input": {
"prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film.",
"aspect_ratio": "4:3",
"output_format": "jpg"
}
}'