ภาพด้านล่างระบุว่าเป็นของโมเดลนี้ในคู่มือพรอมต์ OpenAI ที่ลิงก์ไว้ ไม่ใช่ผล API Hop ที่บันทึก พรอมต์และการตั้งค่าที่แสดงเป็นตัวอย่างคำขอใช้ซ้ำได้ ไม่ใช่พารามิเตอร์ทำซ้ำที่ยืนยันแล้ว พรอมต์ที่ปรับมีป้ายระบุ ตรวจรูปทรง ตัวอักษร และการเปลี่ยนแปลงที่ไม่ตั้งใจเทียบอินพุตก่อนใช้ภาพแก้ไข
ดูพรอมต์
Create a product photograph of a nostalgic toy propeller airplane in clear blister packaging.
Give the airplane rounded wings, a spinning nose propeller, and lightly worn painted-metal details.
Use realistic plastic and metal textures, soft studio lighting, shallow depth of field, and crisp retail printing.
Include only the packaging label "Christmas Memories Edition". Make the design original, with no trademarks or watermarks.
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.
การตอบกลับนี้ไม่กล่าวชื่อโมเดลซ้ำ บันทึกคงโมเดลที่ขอและ ID คำขอตรงตามจริง ไม่ได้ตรวจยืนยันเส้นทางต้นทางอย่างอิสระ
คำขอและอินพุตครบถ้วน
POST /openai/v1/images/generations
{
"model": "gpt-image-2.5-flare",
"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.
เราเห็นว่าความสามารถสองแบบนี้เหมาะกับขั้นตอนงานต่างกัน หากต้องการเพียงภาพโปรโมตสินค้าใหม่ คุณอธิบายตัวแบบ องค์ประกอบ แสง และสไตล์ได้โดยตรง หากมีภาพที่ค่อนข้างพอใจแล้วและต้องการแค่เปลี่ยนพื้นหลัง ปรับเสื้อผ้าของบุคคล หรือแก้ข้อความในภาพ ให้ส่ง URL อ้างอิงผ่านปลายทาง Images generations เดียวกันของ API Hop แทนการเริ่มใหม่ทั้งหมด
ในระดับ API Flare รองรับการตั้งค่าคุณภาพหลายระดับ ได้แก่ low, medium, high, xhigh, max และ auto สามารถกำหนดขนาดเอาต์พุตเอง โดยรองรับภาพถึงประมาณ 4K ภายในขีดจำกัดพิกเซลทางการ และสร้างไฟล์ PNG หรือ WebP ที่มีพื้นหลังโปร่งใสได้
เราแนะนำให้เลือกคุณภาพและขนาดตามการใช้งานสุดท้าย แทนการตั้งทุกงานเป็น max ทันที เช่น ภาพย่อเว็บไซต์ทั่วไปและภาพตัวอย่างโซเชียลเริ่มที่ medium ได้ ส่วนภาพหลักสินค้าที่ต้องแสดงรายละเอียดมากจึงค่อยเพิ่มคุณภาพ
เครื่องมือออนไลน์และ API ของ GPT Image 2.5 Flare บน API Hop
API Hop ต้องการช่วยให้คุณเข้าใจได้เร็วขึ้นว่า GPT Image 2.5 Flare ทำงานอย่างไรในสถานการณ์ธุรกิจจริง
เพียงเข้าสู่ระบบ API Hop สร้างคีย์ API และเติมเครดิตเล็กน้อย ก็เริ่มทดลองการสร้างภาพของโมเดลผ่านเครื่องมือออนไลน์ได้ ระหว่างประเมิน คุณไม่ต้องเขียนโค้ดเชื่อมต่อ API ก่อนหรือซื้อแพ็กเกจตายตัวเพื่อทดสอบระยะสั้น และยังลดความยุ่งยากในการดูแลบัญชีบนแพลตฟอร์มโมเดลหลายแห่งเอง
คำถามที่พบบ่อยในการเชื่อมต่อ API GPT Image 2.5 Flare
เรียกโมเดลนี้ผ่าน API Hop อย่างไร?
สร้างคีย์ API API Hop สำหรับเซิร์ฟเวอร์ แล้วส่ง JSON ไปยัง POST /openai/v1/images/generations พร้อม ID โมเดลที่แสดงในหน้านี้และ prompt ไม่ต้องส่ง image_urls เมื่อสร้างภาพใหม่ ตรวจสอบราคาโมเดลปัจจุบันก่อนส่ง การสร้างมีค่าบริการ ไม่ใช่การทดสอบการเชื่อมต่อฟรี
แก้ไขภาพอ้างอิงผ่าน API Hop อย่างไร?
ส่งโมเดลที่เลือก พรอมต์แก้ไข และ image_urls ไปยัง POST /openai/v1/images/generations ระบุ URL ภาพ HTTP(S) ที่เข้าถึงสาธารณะได้สูงสุด 16 รายการ เอนด์พอยต์ API Hop นี้ใช้ JSON สำหรับสร้างและแก้ไขภาพอ้างอิง ข้อกำหนดสาธารณะปัจจุบันไม่รองรับอัปโหลด multipart, URI ข้อมูล base64, mask หรือเส้นทาง /images/edits แยก อธิบายสิ่งที่ต้องเปลี่ยนและรายละเอียดที่ต้องคงไว้ แล้วตรวจผลลัพธ์ทั้งหมด หากแก้ไขต่อ ให้ส่งผลลัพธ์ก่อนหน้าเป็น URL อ้างอิงอีกครั้ง เอนด์พอยต์นี้ไม่เก็บประวัติบทสนทนา
URL ภาพที่สร้างอยู่ที่ไหน?
เมื่อ stream: false, API Hop รอจนเสร็จแล้วส่ง URL ภาพใน data[].url พร้อมข้อมูลการใช้งานที่มี ตรวจสอบสถานะ HTTP และเนื้อหาการตอบกลับก่อนอ่านผลลัพธ์ ใช้รูปแบบการตอบกลับตามเอกสารเอนด์พอยต์นี้ ไม่ใช่ตัวแยกการตอบกลับ Base64 ต้นทาง ดาวน์โหลดภาพที่เสร็จไปยังที่เก็บของคุณเมื่อแอปต้องเข้าถึงระยะยาว
ตัวอย่าง API GPT Image 2.5 Flare และพารามิเตอร์ที่รองรับ
เริ่มต้น API GPT Image 2.5 Flare อย่างรวดเร็ว
gpt-image-2.5-flare
ต้องระบุ model ตัวอย่างนี้ใช้ ID โมเดลของหน้าปัจจุบัน ตรวจสอบสิทธิ์เข้าถึงโมเดลของคีย์ API ด้วย GET /v1/models
สร้างภาพ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-flare","prompt":"Create a product photograph of a nostalgic toy propeller airplane in clear blister packaging.\nGive the airplane rounded wings, a spinning nose propeller, and lightly worn painted-metal details.\nUse realistic plastic and metal textures, soft studio lighting, shallow depth of field, and crisp retail printing.\nInclude only the packaging label \"Christmas Memories Edition\". Make the design original, with no trademarks or watermarks.","n":1,"size":"1:1","quality":"low","output_format":"png","stream":false,"resolution":"1k","image_urls":[],"background":"auto"}'
ข้อจำกัดคำขอและการตอบกลับ API Hop
สร้างคีย์ API API Hop สำหรับเซิร์ฟเวอร์ แล้วส่ง JSON ไปยัง POST /openai/v1/images/generations พร้อม ID โมเดลที่แสดงในหน้านี้และ prompt ไม่ต้องส่ง image_urls เมื่อสร้างภาพใหม่ ตรวจสอบราคาโมเดลปัจจุบันก่อนส่ง การสร้างมีค่าบริการ ไม่ใช่การทดสอบการเชื่อมต่อฟรี
ส่งโมเดลที่เลือก พรอมต์แก้ไข และ image_urls ไปยัง POST /openai/v1/images/generations ระบุ URL ภาพ HTTP(S) ที่เข้าถึงสาธารณะได้สูงสุด 16 รายการ เอนด์พอยต์ API Hop นี้ใช้ JSON สำหรับสร้างและแก้ไขภาพอ้างอิง ข้อกำหนดสาธารณะปัจจุบันไม่รองรับอัปโหลด multipart, URI ข้อมูล base64, mask หรือเส้นทาง /images/edits แยก อธิบายสิ่งที่ต้องเปลี่ยนและรายละเอียดที่ต้องคงไว้ แล้วตรวจผลลัพธ์ทั้งหมด หากแก้ไขต่อ ให้ส่งผลลัพธ์ก่อนหน้าเป็น URL อ้างอิงอีกครั้ง เอนด์พอยต์นี้ไม่เก็บประวัติบทสนทนา
เมื่อ stream: false, API Hop รอจนเสร็จแล้วส่ง URL ภาพใน data[].url พร้อมข้อมูลการใช้งานที่มี ตรวจสอบสถานะ HTTP และเนื้อหาการตอบกลับก่อนอ่านผลลัพธ์ ใช้รูปแบบการตอบกลับตามเอกสารเอนด์พอยต์นี้ ไม่ใช่ตัวแยกการตอบกลับ Base64 ต้นทาง ดาวน์โหลดภาพที่เสร็จไปยังที่เก็บของคุณเมื่อแอปต้องเข้าถึงระยะยาว