GPT Image 2
โมเดลการสร้างภาพล่าสุดของ OpenAI
model: "gpt-image-2"
โหมด
ID โมเดลเดียว ทุกโหมดด้านล่าง ฟิลด์ที่คุณส่งจะเลือกโหมด และราคาจะตามไปด้วยโหมด
| โหมด | เลือกโดย | ราคาทั่วไป |
|---|---|---|
| ข้อความเป็นรูปภาพ | promptตัวอย่างคำขอ{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk"
}
} | $0.041 |
| แก้ไขรูปภาพ | image_urlตัวอย่างคำขอ{
"model": "gpt-image-2",
"input": {
"prompt": "a lighthouse at dusk",
"image_url": "https://example.com/image.jpg"
}
} | $0.197 |
อินพุต
Prompt
Image Size
Number of Images
Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.
More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.
ตัวเลือกขั้นสูง (2)
การตั้งค่าผู้ให้บริการเกินกว่าการควบคุมหลัก ปล่อยให้ว่างเพื่อใช้ค่าเริ่มต้นของโมเดล
Compression level of the output file.
File format of the result.
ผลลัพธ์
ตัวอย่างผลลัพธ์ผลลัพธ์จริงจากโมเดลนี้ เรียกใช้เพื่อดูผลของคุณที่นี่
curl https://arteza.ai/api/v1/generations \
-H "Authorization: Bearer $ARTEZA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"input": {
"prompt": "Extreme macro of fresh wasabi being hand-grated on a sharkskin oroshigane, pale green paste accumulating in delicate curls at the leading edge, raking cool north-light revealing every cellulose fiber and fine moisture bead on the rhizome surface, square abstract food and craft composition, muted jade and pale ivory palette, fine grated mist suspended above the grater teeth, entirely unpeopled, precise botanical clarity"
}
}'สร้างด้วย GPT Image 2






โมเดลที่เกี่ยวข้อง
รูปภาพใหม่ByteDance
Seedream 5.0 Lite
เจนเนอเรชันล่าสุดพร้อมโหมดคิดลึก
รูปภาพใหม่ByteDance
Seedream 5.0 Pro
รุ่นภาพชั้นนำที่เข้าใจพรอมต์อย่างลึกซึ้ง พร้อมข้อความบนภาพและการแก้ไขที่แม่นยำ
รูปภาพใหม่Black Forest Labs
FLUX 2 Pro
ความสมจริงของระดับการผลิต
รูปภาพใหม่Black Forest Labs
FLUX Kontext Pro
แก้ไขภาพด้วยคำสั่งข้อความ
รูปภาพใหม่Black Forest Labs
FLUX Pro Ultra
คุณภาพสูงสุด ความละเอียดสูงถึง 2K
รูปภาพใหม่Black Forest Labs
FLUX.1 Dev
การสร้างรูปภาพคุณภาพสูงพร้อมการควบคุมที่ละเอียด