generate-image
Generates an image from a text prompt using Hugging Face FLUX.1-schnell model. Supports custom dimensions, steps, and seed for reproducible results.
Instructions
텍스트 프롬프트를 이미지로 생성합니다. Hugging Face Inference (nscale)의 FLUX.1-schnell을 기본으로 사용합니다. HF_TOKEN 환경 변수가 필요합니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | 재현 가능한 결과를 위한 시드 값 | |
| model | No | 사용할 Hugging Face 모델 ID (기본값: black-forest-labs/FLUX.1-schnell) | black-forest-labs/FLUX.1-schnell |
| steps | No | 추론 스텝 수 (1~8, 기본값: 4) | |
| width | No | 이미지 가로 크기 (256~1536, 기본값: 1024) | |
| height | No | 이미지 세로 크기 (256~1536, 기본값: 1024) | |
| prompt | Yes | 이미지를 생성할 텍스트 프롬프트 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | 사용한 모델 ID | |
| prompt | Yes | 입력 프롬프트 | |
| mimeType | Yes | 이미지 MIME 타입 | |
| sizeBytes | Yes | 이미지 바이트 크기 |