REPO STORY / 레포 이야기
apimartnyylvtdc/gpt-image-2.5-flare-api-ko
이미지 생성 API 호출 가이드, $0.0085부터 종량제
01 / 뭐 하는 레포인가요?
어떤 일을
도와주나요?
GPT Image 2.5 이미지 생성을 OpenAI 호환 API로 호출하는 방법을 설명하는 문서입니다. $1 이상 충전해서 이미지당 $0.0085부터 종량제로 사용 가능하며, 비동기 처리 방식입니다. Python이나 curl 예제가 포함되어 있고, 같은 API 키로 300+ 개의 다른 모델도 호출할 수 있습니다.
- OpenAI 호환 엔드포인트로 300+ 모델 통합 관리
- 이미지당 비용이 응답에 포함된 투명한 청구
- 구독 없는 종량제 (최소 $1 충전, 사용한 만큼만 결제)
같은 API 키와 엔드포인트로 300+ 개의 다른 모델을 즉시 전환하여 사용 가능하며, 구독 없는 종량제 결제 방식입니다.
02 / 내 상황에 맞을까?
이럴 때 써요,
선택 전에 확인해요.
이럴 때 써요
- 프롬프트 기반 이미지를 빠르게 생성하고 비용을 정확히 추적해야 하는 디자인팀이나 콘텐츠 제작자
- 이미지·비디오·언어 모델을 같은 API 키와 엔드포인트로 전환하며 사용하려는 개발자
- 구독 없이 필요한 만큼만 지불하면서 이미지 생성을 애플리케이션에 통합하려는 스타트업
이럴 땐 다시 확인해요
아래 준비 조건이 맞지 않으면 먼저 환경을 준비해 주세요.
- APIMart API 키
- $1 이상 계정 충전
- Python 3 및 requests 라이브러리 (또는 curl)
깃밥 한국어 요약의 활용 예와 준비 조건을 옮겼어요.
03 / 시작하려면
첫 걸음,
차근차근.
준비할 것
- APIMart API 키
- $1 이상 계정 충전
- Python 3 및 requests 라이브러리 (또는 curl)
- 환경변수에 APIMart API 키를 설정합니다
export APIMART_API_KEY="your-api-key"
- curl로 이미지 생성을 요청합니다
curl --request POST --url https://api.apimart.ai/v1/images/generations \
--header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
-d '{"model":"gpt-image-2.5-ext","prompt":"A bamboo forest at sunrise, slow push-in","size":"1:1","resolution":"1K"}'
- Python으로 이미지 생성과 폴링을 자동화합니다
import os, time, requests
BASE = "https://api.apimart.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}", "Content-Type": "application/json"}
created = requests.post(f"{BASE}/images/generations", headers=HEADERS, timeout=60, json={
"model":"gpt-image-2.5-ext", "prompt":"A bamboo forest at sunrise, slow push-in",
}).json()
task_id = created["data"]["id"]
while True:
task = requests.get(f"{BASE}/tasks/{task_id}", headers=HEADERS, timeout=60).json()["data"]
if task["status"] in ("completed", "failed"):
break
time.sleep(5)
print(task.get("cost"), task["result"]["images"][0]["url"])
명령은 기존 요약에 적힌 그대로예요. 실행하거나 설치 성공을 검증하지 않았어요. 공식 소요시간 미제시.
04 / 이웃 레포
어떤 레포와 연결될까요?
비교 연결망의 정적 스냅샷 · 관계 종류와 기록된 근거예요. 현재 공개된 레포만 표시해요.
apimartdyahafov/gpt-image-1.5-official-api-ko ↗
구체 GitHub 토픽 공유: ai-api-gateway,api-aggregator,api-pricing,apimart-ko,llm-api-gateway
repos.topics 교집합 (ai-api-gateway,api-aggregator,api-pricing,apimart-ko,llm-api-gateway)
연결망 스냅샷 원자료 ↗apimartno/deepseek-v3.2-api-ko ↗
구체 GitHub 토픽 공유: ai-api-gateway,api-aggregator,api-pricing,apimart-ko,llm-api-gateway
repos.topics 교집합 (ai-api-gateway,api-aggregator,api-pricing,apimart-ko,llm-api-gateway)
연결망 스냅샷 원자료 ↗apimartt9/kling-v3-api-ko ↗
구체 GitHub 토픽 공유: ai-api-gateway,api-aggregator,api-pricing,apimart-ko,llm-api-gateway
repos.topics 교집합 (ai-api-gateway,api-aggregator,api-pricing,apimart-ko,llm-api-gateway)
연결망 스냅샷 원자료 ↗apimartdecg4/deepseek-v4-pro-api-ja ↗
구체 GitHub 토픽 공유: ai-api-gateway,api-aggregator,api-pricing,llm-api-gateway,pay-as-you-go
repos.topics 교집합 (ai-api-gateway,api-aggregator,api-pricing,llm-api-gateway,pay-as-you-go)
연결망 스냅샷 원자료 ↗apimartchmcg/kling-v3-api-fr ↗
구체 GitHub 토픽 공유: ai-api-gateway,api-aggregator,api-pricing,llm-api-gateway,pay-as-you-go
repos.topics 교집합 (ai-api-gateway,api-aggregator,api-pricing,llm-api-gateway,pay-as-you-go)
연결망 스냅샷 원자료 ↗