
참조 이미지 사용
끄면 텍스트로 이미지를 생성합니다. 켜면 최대 16장의 참조 이미지를 업로드하거나 붙여넣을 수 있습니다.
Output size. Use auto, a W:H ratio, or a valid WIDTHxHEIGHT value; explicit pixels are preserved and must match the selected resolution tier.
Output resolution tier. It is independent from rendering quality.
Rendering effort. Auto lets the selected provider choose an appropriate tier.
Number of images to generate. Credits and upstream cost scale with n.
Background handling. Transparent output requires a compatible route.
Requested image output format when supported by the selected provider.
USD 추정 $0.045-$0.09: 최대 충전 패키지는 $1 = 2,000 크레딧으로 계산하고, 스타터 패키지는 $1 = 1,000 크레딧으로 계산합니다.

기록
이 브라우저에 로컬 저장됨
실행 중 0개 · 완료 0개
과금 규칙
인증
모든 요청은 Authorization 헤더에 Bearer 토큰을 포함해야 합니다. 콘솔에서 API Key를 만드세요.
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/images/generations요청 파라미터
| 파라미터 | 유형 | 필수 | 설명 |
|---|---|---|---|
model | 문자열 | 필수 | 호출할 모델 식별자이며, 해당 모델의 ID를 사용합니다. |
prompt | 문자열 | 필수 | 생성하고 싶은 내용을 설명하는 텍스트 프롬프트. |
size | 문자열 | 선택 | Output size. Use auto, a W:H ratio, or a valid WIDTHxHEIGHT value; explicit pixels are preserved and must match the selected resolution tier. · 선택값: auto, 1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 9:21 · 기본값: auto |
resolution | 문자열 | 선택 | Output resolution tier. It is independent from rendering quality. · 선택값: 1K, 2K, 4K · 기본값: 1K |
quality | 문자열 | 선택 | Rendering effort. Auto lets the selected provider choose an appropriate tier. · 선택값: auto, low, medium, high, xhigh, max · 기본값: auto |
n | 숫자 | 선택 | Number of images to generate. Credits and upstream cost scale with n. · 범위: 1–10 · 기본값: 1 |
background | 문자열 | 선택 | Background handling. Transparent output requires a compatible route. · 선택값: auto, opaque, transparent · 기본값: auto |
output_format | 문자열 | 선택 | Requested image output format when supported by the selected provider. · 선택값: png, jpeg, webp · 기본값: png |
output_compression | 숫자 | 선택 | Compression level for JPEG or WebP output. · 범위: 0–100 · 기본값: 100 |
callback_url | 문자열 | 선택 | 선택 사항인 콜백 주소로, 비동기 작업 완료 후 호출됩니다. |
요청 예시
curl "https://apiany.ai/v1/images/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2.5-flare",
"prompt": "Generate a polished product campaign image with crisp typography and balanced composition",
"size": "auto",
"resolution": "1K",
"quality": "auto",
"n": 1
}'응답 예시
{
"task_id": "task_abc123",
"status": "pending",
"poll_url": "/v1/tasks/task_abc123",
"request_id": "req_abc123",
"credits": {
"reserved": 1000
}
}이 엔드포인트는 비동기 호출입니다. 요청 후 즉시 task_id가 반환됩니다. status가 succeeded가 될 때까지 작업 상태 조회 엔드포인트를 폴링한 뒤 result를 읽으세요. 생성된 미디어 링크는 24시간 동안 유효합니다.
APIAny© 2026 APIAny. 모든 권리 보유.