openai/gpt-image-2
OpenAI's latest image model. Generates and edits images with strong prompt adherence and text rendering. Token-based billing: text + image input tokens and image output tokens. Use for product imagery, design, and creative assets.
캐시 읽기 $0.6/M · 캐시 쓰기 —/M
API 호출 시 어떤 ID든 사용할 수 있습니다.
openai/gpt-image-2ONEHOP_KEY 자리 표시자를 귀하의 API key로 교체하세요. 생성하기 →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
response = client.images.generate(
model="openai/gpt-image-2",
prompt="A red panda coding under the moonlight",
n=1,
)
print(response.data[0].url)OpenAI GPT Image 2.5 Flare — fastest high-quality image generation & editing.
$1.5/M↓ · —
OpenAI official direct API image generation (0.6x official rate)
$3/M↓ · —
OpenAI official direct API image generation (0.6x official rate)
$3/M↓ · —
OpenAI GPT Image 2.5 Sunburst — most capable image generation & editing.
$1.5/M↓ · —
최근 30일간 요청 401건