Tongyi-MAI의 Z-Image Turbo. 60억 파라미터 텍스트-이미지 모델로 속도에 최적화되어 있어 8스텝만으로 완성된 이미지를 만듭니다. 출력 메가픽셀 단위로 과금되므로 작은 프리셋일수록 비례해서 저렴하고, 대량 생성에 가장 경제적인 선택지 중 하나입니다.
콘솔의 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": "fal-ai/z-image/turbo",
"input": {
"prompt": "A hyper-realistic close-up portrait of a weathered lighthouse keeper, salt-crusted beard, storm light raking across his face, shot on a Leica M6 with Kodak Portra 400 grain",
"image_size": "landscape_4_3",
"num_inference_steps": 8,
"num_images": 1,
"output_format": "png"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 생성할 이미지를 설명하는 프롬프트입니다. |
image_size | string | No | landscape_4_3 | 출력 크기 프리셋입니다. 출력 메가픽셀 기준으로 과금되므로 작은 프리셋일수록 저렴합니다. square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9 |
num_inference_steps | integer | No | 8 | 수행할 추론 스텝 수입니다 (1~8). |
num_images | integer | No | 1 | 생성할 이미지 수입니다 (1~4). 장당 과금됩니다. |
seed | integer | No | - | 같은 시드와 같은 프롬프트를 주면 항상 동일한 이미지가 생성됩니다. |
enable_safety_checker | boolean | No | true | true로 설정하면 안전성 검사기가 활성화됩니다. |
acceleration | string | No | regular | 사용할 가속 레벨입니다. noneregularhigh |
output_format | string | No | png | 생성된 이미지의 형식입니다. jpegpngwebp |
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로도 제공 |
기본 landscape 프리셋에 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": "fal-ai/z-image/turbo",
"input": {
"prompt": "A hyper-realistic close-up portrait of a weathered lighthouse keeper, salt-crusted beard, storm light raking across his face, shot on a Leica M6 with Kodak Portra 400 grain",
"image_size": "landscape_4_3",
"num_inference_steps": 8,
"num_images": 1,
"output_format": "png"
}
}'512x512 square 프리셋은 0.25메가픽셀이라, 4장 배치가 square_hd 1장과 비슷한 비용입니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fal-ai/z-image/turbo",
"input": {
"prompt": "Flat vector icon of a paper airplane, bold single-color silhouette, generous margins, centered",
"image_size": "square",
"num_images": 4,
"output_format": "webp"
}
}'