GPT Image 1 API 定價
Pay-as-you-go access through PiAPI.
GPT Image 1 API
$0.011 /圖
Starting price per generated image.
Features
State-of-the-Art Image Generation
GPT-image-1 excels in generating stunningly detailed images, turning imagination into tangible and serene landscapes to elaborate graphics.
Context Learning
Upload and analyze your images, as GPT Image 1 effortlessly integrates their details into new creations; empowering dynamic, context-aware designs.
Rich World Knowledge
With native multimodal capabilities, GPT Image 1 API seamlessly connects textual insights with visual representation, enhancing image generation with informed content.
Photorealism and Artistic Expression
Trained on diverse styles; the GPT-Image-1 model ensures strikingly realistic images, yet accommodates shifts from photorealism to abstract artistry.
Integrate in Minutes
Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Top up credits
Add credits on the billing page when you are ready to scale beyond the free tier.
Call the API
POST your first task following the API docs, then poll the task until the result is ready.
Iterate in the playground
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-1",
"task_type": "gpt-image-generation",
"input": {
"prompt": "A steaming bowl of ramen viewed from above, rich broth, sliced pork, soft-boiled egg, cinematic food photography, natural lighting.",
"n": 1,
"size": "1024x1024",
"quality": "low"
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"image_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run gpt-image-1 \ prompt="A steaming bowl of ramen viewed from above, rich broth, sliced pork, soft-boiled egg, cinematic food photography, natural lighting." \ n=1 \ size=1024x1024 \ quality=low ✓ Task completed! https://img.theapi.app/ephemeral/…
常見問題
透過 GPT Image 1 API 生成的圖像可以用於商業用途嗎?
GPT 生成的內容不受版權保護,因此使用者可以按自身用途使用生成的圖像。
有退款政策嗎?
不,我們不提供退款。但當您首次在 PiAPI 的 Workspace 註冊帳戶時,將獲得免費點數,可在付款前試用我們的 API!
如何聯繫你們的團隊?
請發信至 support@piapi.ai,我們很樂意進一步介紹我們的產品!
More questions? See the API docs.
Our blog
GPT Image 1 API

