Seedream 이미지 생성
Seedream 텍스트-투-이미지 및 이미지-투-이미지 생성을 위해 CometAPI POST /v1/images/generations를 사용하세요 — 순차적 다중 이미지 출력과 참조 이미지를 지원합니다.
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.
개요
표준 OpenAI 호환/v1/images/generations 엔드포인트를 통해 ByteDance의 Seedream 모델로 이미지를 생성합니다. text-to-image와 image-to-image 생성 모두 지원합니다.
전체 모델 목록은 Models 페이지를 참고하세요. 제공업체의 자세한 파라미터 문서는 VolcEngine 문서를 참고하세요.
sequential_image_generation을 auto로 설정하고, 필요에 따라 출력 이미지 수를 제한하기 위해 sequential_image_generation_options.max_images를 구성하세요. 참조 이미지와 생성된 이미지의 총합은 15 이하여야 합니다.이미지-투-이미지
텍스트 프롬프트와 함께image 파라미터(배열 형태의 URL 또는 base64 데이터 URI)를 통해 하나 이상의 참조 이미지를 전달하세요. 최대 14개의 참조 이미지를 지원합니다.
반환된 URL에서 AccessDenied가 발생하나요?
인증
Bearer token authentication. Use your CometAPI key.
본문
Parameters for Seedream image generation (text-to-image and image-to-image).
Model to use. See the Models page for current Seedream model IDs.
Text prompt describing the image to generate. Supports both Chinese and English. Recommended max 300 Chinese characters or 1000 English characters.
Output format. url returns a temporary image link (valid for 24 hours); b64_json returns base64-encoded image data.
url, b64_json Output resolution. Presets 2K, 4K, or exact pixels like 2048x2048, 2304x1728, 2848x1600, 1600x2848, etc. Default: 2048x2048.
Reference image(s) for image-to-image generation. Each item is a public URL or base64 data URI (data:image/png;base64,...). Supports up to 14 reference images. Supported formats: jpeg, png, webp, bmp, tiff, gif.
When true, adds an 'AI Generated' watermark to the bottom-right corner of the output image.
Controls how closely the output follows the prompt. Higher values increase adherence but may reduce naturalness. Range: 1.0–10.0. Not supported by Seedream 5.0 (ignored).
Random seed for reproducible outputs. Range: -1 to 2147483647. Use -1 (default) for random generation. Legacy parameter — ignored by newer models.
Controls sequential (multi-image) generation mode.
auto: model decides whether to generate a sequence based on the promptdisabled: always generate a single image
auto, disabled Configuration for sequential (multi-image) generation. Only effective when sequential_image_generation is auto.
Output image file format. Options: png, jpeg.
png, jpeg