Fal.AI를 통해 제공되는 Microsoft의 최상급 이미지 생성 모델로, 프로덕션급 텍스트-투-이미지 생성을 위해 설계되었습니다. 히어로 이미지, 정교한 구도, 정확한 텍스트 렌더링, 포토리얼리즘, 스타일화된 일러스트, 상업용 디자인, 비주얼이 풍부한 컨셉 작업에 적합합니다.
콘솔의 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": "microsoft/mai-image-2.5-pro",
"input": {
"prompt": "A photorealistic concept-art poster of a university campus at sunset, cinematic lighting, a banner reading \"LOUISVILLE\" in bold serif type.",
"aspect_ratio": "auto",
"output_format": "png",
"num_images": 1
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 이미지를 생성할 텍스트 프롬프트입니다. |
num_images | integer | No | 1 | 생성할 이미지의 개수입니다. |
aspect_ratio | string | No | auto | 생성될 이미지의 화면비입니다. "auto"를 사용하면 모델이 프롬프트를 바탕으로 직접 판단합니다. auto1:14:33:416:99:163:22:3 |
output_format | string | No | png | 생성된 이미지의 파일 형식입니다. jpegpngwebp |
sync_mode | boolean | No | false | `True`로 설정하면 결과물이 data URI 형태로 반환되며, 해당 출력 데이터는 요청 기록에서 확인할 수 없습니다. |
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": "microsoft/mai-image-2.5-pro",
"input": {
"prompt": "A photorealistic concept-art poster of a university campus at sunset, cinematic lighting, a banner reading \"LOUISVILLE\" in bold serif type.",
"aspect_ratio": "auto",
"output_format": "png",
"num_images": 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": "microsoft/mai-image-2.5-pro",
"input": {
"prompt": "A stylized illustration of a coffee cup on a marble counter, warm morning light, minimalist commercial design.",
"aspect_ratio": "9:16",
"output_format": "webp",
"num_images": 4
}
}'