Replicate
Predictions 생성 - 일반
POST /replicate/v1/models//predictions는 CometAPI에서 Replicate 형식을 통해 FLUX 이미지를 생성하며, 종횡비, 품질, 출력 형식, 입력 튜닝을 지원합니다.
POST
Create a Replicate prediction
이 경로를 사용하면 CometAPI에서 Replicate 스타일 prediction을 시작하고, 이후 폴링에 사용할 prediction id를 돌려받을 수 있습니다.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.
첫 요청 체크리스트
- 모든 model 파라미터를
input객체 안에 넣으세요 - 가장 빠른 첫 요청을 위해
black-forest-labs/flux-schnell부터 시작하세요 - 특별히
input_image또는input_images가 필요하지 않다면 첫 요청은 텍스트 전용으로 유지하세요 - 상태 확인을 위해 반환된 prediction
id를 저장하세요
작업 흐름
prediction 폴링
output이 채워지거나 오류가 나타날 때까지 Replicate 상태 조회를 계속 진행하세요.인증
Bearer token authentication. Use your CometAPI key.
경로 매개변수
Replicate model id, for example black-forest-labs/flux-schnell or black-forest-labs/flux-kontext-pro.
본문
application/json
Provider-specific model input. Keep all parameters inside this object.