下方圖片在所連結的 OpenAI 提示詞指南中歸屬於此模型,並非 API Hop 實測結果。展示的提示詞與設定是可重用的請求範例,而非已驗證的重現參數;改編提示詞均有標示。使用編輯結果前,請對照輸入檢查幾何形狀、文字與非預期變動。
查看提示詞
Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat.
He has weathered skin with visible wrinkles, pores, and sun texture, and a few faded traditional sailor tattoos on his arms.
He is calmly adjusting a net while his dog sits nearby on the deck. Shot like a 35mm film photograph, medium close-up at eye level, using a 50mm lens.
Soft coastal daylight, shallow depth of field, subtle film grain, natural color balance.
The image should feel honest and unposed, with real skin texture, worn materials, and everyday detail. No glamorization, no heavy retouching.
Give me a cool in culture ad / fashion shot for a brand called Thread.
It's a hip young street brand. The ad shows a group of friends hanging out together with the tagline "Yours to Create."
Make it feel like a polished campaign image for a youth streetwear audience: stylish, contemporary, energetic, and tasteful.
Use clean composition, strong color direction, natural poses, and premium fashion photography cues.
Render the tagline exactly once, clearly and legibly, integrated into the ad layout.
No extra text, no watermarks, no unrelated logos.
Create an original, non-infringing logo for a company called Field & Flour, a local bakery.
The logo should feel warm, simple, and timeless. Use clean, vector-like shapes, a strong silhouette, and balanced negative space.
Favor simplicity over detail so it reads clearly at small and large sizes. Flat design, minimal strokes, no gradients unless essential.
Fully transparent background. Deliver a single centered logo with generous padding, clean alpha edges, and no solid backdrop, scenery, checkerboard, or watermark.
{
"model": "gpt-image-2.5-sunburst",
"prompt": "Edit the supplied product photograph. Replace only the turquoise background with a plain white studio background. Keep the same clear glass, orange drink level, ice, pedestal, lemon wedge and green leaf, with their shapes, colors and relative positions unchanged. Preserve the full composition. No new objects, text, logos or watermarks.",
"image_urls": [
"https://api.apihop.ai/generated/364459846248173568/0.png"
],
"n": 1,
"size": "16:9",
"resolution": "1k",
"quality": "low",
"output_format": "png",
"stream": false
}
下方圖片在所連結的 OpenAI 提示詞指南中歸屬於此模型,並非 API Hop 實測結果。展示的提示詞與設定是可重用的請求範例,而非已驗證的重現參數;改編提示詞均有標示。使用編輯結果前,請對照輸入檢查幾何形狀、文字與非預期變動。
查看提示詞
Extract the product from the input image and isolate it on a fully transparent background.
Output: centered product, crisp silhouette, no halos/fringing.
Preserve product geometry and label legibility exactly.
Add only light polishing. Do not add a solid backdrop, checkerboard, scenery, or shadow.
Do not restyle the product; remove the background and preserve clean alpha transparency.
Turn this drawing into a photorealistic image.
Preserve the exact layout, proportions, and perspective.
Choose realistic materials and lighting consistent with the sketch intent.
Do not add new elements or text.
In this room photo, replace ONLY the white chairs with chairs made of wood.
Preserve camera angle, room lighting, floor shadows, and surrounding objects.
Keep all other aspects of the image unchanged.
Photorealistic contact shadows and fabric texture.
model 為必填欄位;範例使用本頁的模型 ID。請透過 GET /v1/models 核對 API 金鑰的模型存取權限。
圖像生成POST /openai/v1/images/generations
curl -X POST "https://api.apihop.ai/openai/v1/images/generations" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2.5-sunburst","prompt":"Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat.\nHe has weathered skin with visible wrinkles, pores, and sun texture, and a few faded traditional sailor tattoos on his arms.\nHe is calmly adjusting a net while his dog sits nearby on the deck. Shot like a 35mm film photograph, medium close-up at eye level, using a 50mm lens.\nSoft coastal daylight, shallow depth of field, subtle film grain, natural color balance.\nThe image should feel honest and unposed, with real skin texture, worn materials, and everyday detail. No glamorization, no heavy retouching.","n":1,"size":"1:1","quality":"low","output_format":"png","stream":false,"resolution":"1k","image_urls":[],"background":"auto"}'
API Hop 請求與回應限制
為伺服器建立 API Hop API 金鑰,向 POST /openai/v1/images/generations 傳送 JSON,使用本頁顯示的模型 ID 與提示詞。產生新圖片時省略 image_urls。提交前請確認目前模型價格:生成請求會計費,並非免費連線測試。
將所選模型、編輯提示詞與 image_urls 傳至 POST /openai/v1/images/generations。最多提供 16 個可公開存取的 HTTP(S) 圖片網址。此 API Hop 端點以 JSON 處理生成與參考圖編輯。目前公開規約不支援 multipart 上傳、base64 資料 URI、遮罩或獨立的 /images/edits 路由。描述要修改及保留的細節,然後檢查完整結果。再次編輯時,請將前次結果重新作為參考網址傳入;此端點不保留對話紀錄。