Flux 이미지 생성
POST /flux/v1/를 호출해 프롬프트에서 Flux 이미지를 생성하고, 링크가 만료되기 전에 get_result를 통해 상태를 추적합니다.
Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
개요
/flux/v1/\{model\} 엔드포인트는 Black Forest Labs의 Flux 모델 계열을 사용해 텍스트 프롬프트에서 고품질 이미지를 생성합니다. URL 경로의 model ID만 바꾸면 서로 다른 Flux 변형 간에 전환할 수 있습니다.
인증
Bearer token authentication. Use your CometAPI key.
헤더
Must be application/json.
경로 매개변수
Flux model variant to use, e.g. flux-pro-1.1, flux-pro, flux-dev, flux-pro-1.1-ultra.
본문
Text prompt describing the image to generate.
URL of a reference image to guide the generation style or content.
Output image width in pixels. Must be a multiple of 32. Range varies by model.
Output image height in pixels. Must be a multiple of 32. Range varies by model.
Number of diffusion steps. Higher values improve quality but increase latency.
When true, automatically enhances the prompt for more detailed results.
Random seed for reproducible outputs. Omit for random generation.
Guidance scale controlling how closely the output follows the prompt. Higher values increase prompt adherence.
Safety filter tolerance level. Higher values are more permissive. Range: 0–6.
Diversity interval. Higher values produce more varied outputs at the cost of prompt adherence.
Output image format. Supported values: jpeg, png.
URL to receive a POST notification when the task completes.
Secret string included in webhook payloads for request verification.