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

