GPT Image 2 異步版
ReachAPI 上的 GPT Image 2 異步任務版本,適合需要任務查詢、回調和圖片 URL 結果的生成與編輯工作流。
執行方式
異步任務
提交任務後輪詢或接收回調
輸入類型
文本 + 參考圖
傳 `image_urls` 時用於圖像編輯
結果形式
圖片 URL
完成後從 `data[].url` 讀取
調用碼
gpt-image-2-async
僅用於異步圖片接口
gpt-image-2-async試玩區
gpt-image-2-asyncClick or drag
分辨率 (sent to backend)
Aspect Ratio (sent to backend)
Quality (sent to backend)
Output format (sent to backend)
暫無輸出
定價
| 質量 | 1k | 2k | 4k |
|---|---|---|---|
| low | $0.009$0.01010% off | $0.018$0.02010% off | $0.027$0.03010% off |
| medium | $0.054$0.06010% off | $0.108$0.12010% off | $0.162$0.18010% off |
| high | $0.198$0.22010% off | $0.396$0.44010% off | $0.594$0.66010% off |
low 1k · $0.009 · per image
low 2k · $0.018 · per image
low 4k · $0.027 · per image
medium 1k · $0.054 · per image
medium 2k · $0.108 · per image
medium 4k · $0.162 · per image
high 1k · $0.198 · per image
high 2k · $0.396 · per image
high 4k · $0.594 · per image
README
- GPT Image 2 異步版是 ReachAPI 為 GPT Image 2 提供的任務式圖片生成與編輯入口。
- 當集成需要任務 ID、通過 `/v1/tasks/{task_id}` 查詢狀態、接收終態回調,或從 `data[].url` 獲取託管圖片地址時,請使用該模型。
- 如果需要調用 OpenAI 兼容的 `/v1/images/generations` 或 `/v1/images/edits`,請使用獨立的 `gpt-image-2` 模型頁和 API 文檔。
API
API
端點
POST /v1/images/create認證
Authorization: Bearer YOUR_REACH_API_KEY Content-Type: application/json
示例
curl -X POST "https://direct.reachapi.ai/v1/images/create" \
-H "Authorization: Bearer YOUR_REACH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2-async",
"input": {
"prompt": "An editorial fashion photo of a silver handbag on a reflective pedestal, soft studio lighting",
"resolution": "4k",
"aspect_ratio": "2:3",
"quality": "high",
"output_format": "png"
}
}'相關模型
GPT-5.6 Luna
OpenAI's GPT-5.6 model for efficient, cost-sensitive, high-volume workloads.
GPT-5.6 Sol
OpenAI's GPT-5.6 flagship model for the most demanding production reasoning, coding, and agent workflows.
GPT-5.6 Terra
OpenAI's GPT-5.6 model for strong intelligence with a balanced cost profile.
GPT-5.5
OpenAI's newest frontier model for the most complex coding, reasoning, and professional workflows.
GPT-5.4
OpenAI's frontier model for complex professional, coding, and agentic work at scale.
GPT-5.4 Mini
OpenAI's strongest mini model for coding, computer use, and high-volume agent tasks.
GPT-5.3 Codex
OpenAI's most capable agentic coding model to date.
GPT-5.2
OpenAI's stronger GPT-5-family model for professional, general-purpose, and agentic work.
GPT-5.1
OpenAI's flagship model for coding and agentic tasks with configurable reasoning.
GPT-5.1 Codex
OpenAI's GPT-5.1 variant optimized for agentic coding in Codex workflows.
GPT-5
OpenAI's previous intelligent reasoning model for coding and agentic tasks.
GPT-5 Mini
OpenAI's faster, cost-efficient GPT-5 variant for low-latency and high-volume work.
GPT Image 2
OpenAI's state-of-the-art image generation model for high-quality creation and editing with text and image inputs.
