이미지 생성
CometAPI Bria POST /bria/text-to-image를 사용해 텍스트에서 향상 기능과 유연한 종횡비로 1MP 사실적 이미지를 생성합니다.
일반 텍스트 프롬프트(Prompt)로 상업적으로 안전한 이미지를 생성하세요. CometAPI에서 첫 요청을 보낼 때는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.
prompt를 전송하고, num_results는 1로 유지하며, 이미 필요한 최종 레이아웃을 알고 있지 않다면 aspect_ratio: "1:1"로 시작하세요.
다음과 같은 경우 이 경로를 사용하세요
- 한 번의 호출로 완성된 이미지를 원할 때
- 마스크, 이미지 입력 또는 작업 폴링이 필요하지 않을 때
- CometAPI를 통해 더 쉽게 운영할 수 있는 사실적인 Bria 경로를 원할 때
이 요청으로 시작하세요
- 프롬프트(Prompt)는 짧고 구체적으로 유지하세요
- 첫 요청에는
num_results: 1을 사용하세요 - 대상 레이아웃이 이미 정해져 있지 않다면
aspect_ratio: "1:1"로 시작하세요 - 장기간 보관이 필요하다면 반환된 URL은 즉시 다운로드하세요
CometAPI에서의 응답 동작
Bria의 공식 문서는 더 광범위한 생성 파이프라인을 설명하고 비동기 상태 흐름도 다룹니다. CometAPI에서는 이 경로가 단순화된 JSON 요청을 사용하며,request_id와 status_url을 반환하는 대신 최종 result 배열을 즉시 반환합니다.
인증
Bearer token authentication. Use your CometAPI key.
본문
English text prompt for image generation.
"A paper boat floating on calm water at sunrise."
Number of images to generate. Use 1 for the simplest integration test.
Requested output aspect ratio.
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 Optional seed for reproducible results.
Optional exclusions for the generated image.
Optional refinement step count.
Optional prompt adherence setting.
Optional visual medium.
photography, art Optional prompt enhancement switch.
Optional image detail enhancement switch.
Optional moderation switch.
Optional IP warning flag.
Optional sync hint. CometAPI returns final results immediately without setting this field.
응답
Image generation result.