
科學資訊圖表
1:1A detailed scientific infographic of an integrated biohybrid artificial photosynthesis platform for solar-to-fuel conversion, with labeled cross-section diagrams, molecular structures, efficiency charts, and process flow annotations
openai/gpt-image-2OpenAI 的 GPT Image 2 圖片產生 API — 最高 4K,原生推理能力、多語言文字渲染、參考圖片引導編輯。
curl https://api.runbase.net/v1/runs \
-H "Authorization: Bearer $RUNBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2",
"input": {
"prompt": "A cinematic product photo of a ceramic lamp",
"aspect_ratio": "1:1",
"resolution": "1K"
}
}'
A detailed scientific infographic of an integrated biohybrid artificial photosynthesis platform for solar-to-fuel conversion, with labeled cross-section diagrams, molecular structures, efficiency charts, and process flow annotations

A photorealistic candid shot of a young man in a light grey Covernat hoodie sitting at station 139 in a premium PC cafe, focused on his laptop screen, soft window light mixing with monitor glow, shallow depth of field

A pixel-perfect recreation of the YouTube homepage UI with a left sidebar showing Home, Shorts, Subscriptions, History, and Explore sections, a top navigation bar with search and profile icon, category filter chips, and an 8-video thumbnail grid with realistic titles, channel names, view counts, and duration stamps
GPT Image 2 是 OpenAI 的旗艦圖片產生模型,於 2026 年 4 月發布。是首批內建推理能力的圖片模型之一 — 模型在產生前會規劃構圖並驗證提示詞的約束條件。支援跨文字系統的多語言文字渲染,包括 CJK、印地語和孟加拉語,非常適合全球化的創意工作。
具有精確光線和材質的產品攝影。注重寫實感和精細細節的行銷活動和編輯視覺素材。需要清晰嵌入文字的資訊圖表、UI 模型和海報設計。參考圖片引導的編輯 — 上傳最多 4 張圖片來引導風格、色彩或構圖。
所有參數都在執行請求的 input 物件中傳遞。
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | 圖片的文字描述(1–4000 字元) |
| aspect_ratio | No | 輸出比例。預設 1:1。選項:1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9、21:9 |
| resolution | No | 輸出解析度。預設 1K。選項:1K、2K、4K(4K 僅限 16:9、9:16 或 21:9) |
| image_urls | No | 最多 4 張參考圖片(每張最大 4 MB)用於圖片編輯 |
GPT Image 2 對物理描述的回應很好。「Matte ceramic vase on a walnut table, soft window light from the left」的效果持續優於「a vase on a table」。
4K 輸出限定為 16:9、9:16 和 21:9。要在橫向或超寬構圖中獲得最大細節,將 resolution: "4K" 與這些比例之一搭配使用。
提供與目標風格接近的參考圖片 — 模型用它們來引導色彩和構圖,而非從差異較大的參考中推斷。
十種選項:1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9 和 21:9。預設為 1:1。
支援 — 1K、2K 和 4K 可用。4K 限定為 16:9、9:16 和 21:9 比例。
可以。透過 image_urls 上傳最多 4 張參考圖片來引導產生。